| Sample pipeline script illustrating the use of a custom dialog window and assembly of an image pipeline using options set from the dialog. The script computes a pan-sharpened color composite image from three low-resolution bands of a multispectral
image and a higher-resolution panchromatic image. The pan-sharpened image can be saved as an RVC raster object or as a TIFF, PNG, JP2, or JPEG file. The script dialog provides a choice of color-blending options. |
|
PipelinePanSharp.sml |
| Sample pipeline script to compute NDVI (Normalized Difference Vegetation Index) directly from a QuickBird or Ikonos multispectral image GeoTIFF file.
Non-image cells are detected and marked as null. The minimum nonzero value is subtracted from the bands to correct for path radiance before computing the index. This script illustrates how to select bands from a multiband image for processing and to set up a chain of pipeline filters to perform stepwise and branching tasks on the image. |
|
PipelineNDVIfromTIFF.sml |
| Sample pipeline script to resample a single raster to match its georeference using the line and column cell sizes specified by the user. This script illustrates setting up an image processing pipeline with a single source and a single target RVC raster. |
|
PipelineResampleToGeoref.sml |
| Sample standalone script to illustrate how to incorporate an image processing pipeline into a user-defined function that is iteratively called to process a series of grayscale rasters through the same processing steps, with each iteration producing a single output raster. The specific application in this case is reprojecting a series of source rasters with control-point georeference to align their lines/columns with their coordinate reference system. |
|
PipelineResampleToGeorefMulti.sml
|
| Sample standalone script to resample/reproject a source raster to a different coordinate reference system. In this example the image is reprojected to the UTM zone appropriate for its location while maintaining the same datum. |
|
PipelineResampleToUTM.sml
|
| Sample pipeline script to resample a single raster to match the extents, cell size, and coordinate reference system of a reference raster. This script illustrates setting up an image processing pipeline with two sources, a single processing filter, and a single target RVC raster. |
|
PipelineResampleToMatch.sml |
| Sample standalone script to illustrate how to incorporate an image processing pipeline into a user-defined function that is iteratively called to process a series of grayscale rasters through the same processing steps, with each iteration producing a single output raster. The specific application in this case is reprojecting/resampling a series of source rasters to match the extents, cell size, and coordinate reference system of a georeferenced reference raster. |
|
PipelineResampleToMatchMulti.sml
|
| Sample pipeline script to apply contrast to a grayscale raster. If the input raster does not have a contrast table, the script computes a standard contrast table for a copy of the raster, then applies this table. A default linear contrast table is also computed for the output raster, which has lossless JPEG2000 compression applied. This script illustrates setting up an image processing pipeline with a single source and a single target that is not an RVC raster. |
|
PipelineFilterLookup.sml |
Sample pipeline script to apply contrast to three grayscale RVC source rasters and make an RGB composite as a GeoTIFF file. If any input grayscale raster does not have a contrast table, the script computes a standard contrast table for a temporary copy of this raster, then applies this contrast. This script illustrates setting up an image processing
pipeline with multiple sources, serial processing filters, and a single RVC raster target. |
 |
PipelineContrastCompositeToTIFF.sml |
| Sample standalone script to mosaic source rasters to match a reference raster. This script illustrates setting up an image processing pipeline to accept any number of input rasters for a pipeline filter that utilizes multiple inputs. |
 |
PipelineMosaicToReference.sml |
| Sample standalone script to compute slope, aspect, shading, profile curvature, and plan curvature rasters from an input digital elevation raster. This script illustrates setting up an image processing pipeline using a single RVC source and a target consisting of several RVC raster objects. |
 |
PipelineTopographic.sml |
| Sample standalone script to demonstrate use of a region as a pipeline source to mask and crop a source image. Script inputs: a single raster in a Project File, and a vector object with polygons designating the part of the input raster to retain. The polygons are converted to a region, which is then used to create a pipeline region source. |
|
PipelineCropAndMaskFromRegion.sml
|
| Sample standalone script to demonstrate how the modular nature of pipeline programming allows processing pipelines to be recombined and extended. This script
effectively grafts pipeline elements from PipelineCropAndMaskFromRegion onto the pipeline in PipelineNDVIfromTIFF.sml. The script computes a normalized difference vegetation index (NDVI) image with processing limited to portions of the source image enclosed within polygons in a vector object selected by the user. The NDVI image is also cropped to the image extents of those polygons. |
|
PipelineNDVIfromTIFF
_CropAndMaskFromRegion.sml
|