>  Docs Center  >  ENVI API  >  Max Entropy Threshold Task
ENVI

Max Entropy Threshold Task

Max Entropy Threshold Task

A copy of this file is also available in the \examples\tasks\baseclassexample folder of the ENVI installation path.

{
    "name": "MaxEntropyThresholdExample",
    "base_class": "ImageThresholdExample",
    "routine": "enviimagethresholdexample",
    "display_name": "Max Entropy Threshold Example",
    "description": "The task executes the enviimagethresholdexample routine for Max Entropy.",
    "revision": "1.0.0",
    "schema": "envitask_3.2",
    "invocationType": "keywords",
    "parameters": [
        {
            "name": "INPUT_RASTER",
            "display_name": "Input Raster",
            "type": "ENVIRASTER",
            "direction": "input",
            "required": true,
            "description": "Specify a input raster on which to compute max entropy threshold."
        },
        {
            "name": "MAXENTROPY",
            "display_name": "Max Entropy",
            "keyword": "MAXENTROPY",
            "type": "BOOL",
            "direction": "input",
            "required": false,
            "hidden": true,
            "default": 1,
            "description": "Set this keyword to compute a max entropy threshold."
        },
        {
            "name": "INTERLEAVE",
            "display_name": "Interleave",
            "keyword": "INTERLEAVE",
            "type": "STRING",
            "direction": "input",
            "required": false,
            "hidden": true,
            "choice_list": {
                "BIP": 0,
                "BIL": 1,
                "BSQ": 2
                },
            "default": "BSQ",
            "description": "INTERLEAVE is required by the routine. This is set internally based on the input raster."
        },
        {
            "name": "MINIMUM",
            "keyword": "HISTMIN",
            "display_name": "Minimum",
            "type": "DOUBLE",
            "direction": "input",
            "required": false,
            "description": "Specify a minimum value to consider during processing."
        },
        {
            "name": "MAXIMUM",
            "keyword": "HISTMAX",
            "display_name": "Maximum",
            "type": "DOUBLE",
            "direction": "input",
            "required": false,
            "description": "Specify a maximum value to consider during processing."
        },
        {
            "name": "OUTPUT_RASTER",
            "display_name": "Output Raster",
            "type": "ENVIRASTER",
            "direction": "output",
            "required": true,
            "uri_param": "OUTPUT_URI",
            "description": "This is a reference to the output raster."
        },
        {
            "name": "OUTPUT_URI",
            "display_name": "Output Raster URI",
            "type": "ENVIURI",
            "direction": "input",
            "required": false,
            "description": "Specify a string with the fully-qualified path and filename for OUTPUT_RASTER."
            "fold_case": true,
            "auto_extension": ".dat",
            "is_temporary": true
        }
    ]
}



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us