Recast function

Overview

The Recast function is used to dynamically modify the function parameter used in a mosaic dataset or image service without physically persisting the changes.

Notes

The Recast function contains a list of variable names and the corresponding values that you can change. For example, a mosaic dataset may contain pan-sharpened rasters that are added using a pan-sharpen template. To display a mosaic or image service published from the mosaic with different pan-sharpen weights without modifying the mosaic dataset, you can define a Recast function with the following name and values:

NameValue

Weights

0.37 0.23 0.4

Once you set the values, save it as a template. You can then access the mosaic dataset with the template by adding the template as a mosaic dataset property.

The names of these keywords can be found on the Variable Manager tab of the Raster Function Properties window. The following steps describe how to locate the names of your keywords:

  1. In ArcMap, click Customize, and choose Customize Mode.
  2. Click the Commands tab.
  3. Type Raster Function Template Editor.
  4. Select the Raster Function Template Editor command, and drag it to any existing toolbar.
  5. Click Close on the Customize window.
  6. Click the Raster Function Template Editor button that you dragged onto your toolbar.
  7. Right-click Identify, point to Insert Function, and choose the function you want to recast. For example, choose Pansharpening Function.
  8. Click the Variable Manager tab. The Argument field contains the names you can use in the Name field in the Recast function.

The names of these keywords can be found on the Variables tab of the function's Properties window. The following steps describe how to locate the names of your keywords:

  1. In the Raster Functions pane, right-click the function chain on which you want to use Recast, and select Edit.
  2. Double-click the part of the function chain where you want to apply Recast and go to the Variables tab. The names that you can use in the Recast function are listed here.

Parameters

Parameter nameDescription

Input Raster

Raster

The raster product to which the Recast function will be applied.

Function parameters

Overrides

A table of variable names and user-defined values used to modify a mosaic dataset.

Related topics


In this topic
  1. Overview
  2. Notes
  3. Parameters