SML now provides an easier method you can use to create custom
dialog windows for your SML scripts. You can specify the controls and layout of
the dialog in a structured text (XML) format. Explore the links below for
background information and sample scripts that provide helpful examples of
dialogs created in XML.
Example "This is a
test" dialog. This script opens a test dialog read from an external XML
file. The dialog has tabbed panels that include examples of many of the
available controls. The script illustrates various methods of reading
control settings from the dialog by printing the settings to the Console
This script uses an embedded dialog specification to create a complex
control dialog used to select input objects and set processing parameters.
The script computes a pan-sharpened color-composite image from three bands
of a multispectral image and a higher-resolution panchromatic image.
script uses an embedded dialog specification to create a complex control
dialog. A second window opened from the main dialog is filled in
dynamically using information from the objects selected for processing.
The script suppresses the expression of vegetation in multispectral