Create a Raster Function template
This topic shows how to create a Raster Function template, which defines a series of raster functions applied to two images resulting in one Function Raster dataset as the output. It accepts as input, the Panchromatic and Multispectral rasters of a QuickBird Basic dataset, and applies a series of raster functions to each, resulting in a pan-sharpened raster dataset as the output.
Language: C#, VB
Subject: Raster
Organization: Esri, http://www.esri.com
Date: 10/17/2019
ArcObjects SDK: 10.8
Visual Studio: 2017, 2019
.NET Target Framework: 4.5
Resources
Usage
- Start Visual Studio and open the solution file.
- Edit the strings in the "Specify input directory and dataset name" region to specify the directory and name of the input datasets, and the full path to the output dataset including the .afr extension.
- Compile and run the program.
- If the program succeeds, the console shows a "Success" message. If an error occurs, it shows on the console window.
- Load the created output .afr file into ArcMap or ArcCatalog, which reflects the processing results.
Licensing
| Development licensing |
Deployment licensing |
| ArcGIS Desktop Basic |
ArcGIS Desktop Basic |
| ArcGIS Desktop Standard |
ArcGIS Desktop Standard |
| ArcGIS Desktop Advanced |
ArcGIS Desktop Advanced |
| Engine Developer Kit |
Engine |