Train Maximum Likelihood Classifier (Image Analyst Tools)
Summary
Generates an Esri classifier definition file (.ecd) using the Maximum Likelihood Classifier (MLC) classification definition.
Usage
To complete the maximum likelihood classification process, use the same input raster and the output
.ecdfile from this tool in the Classify Raster tool.The input raster can be any Esri-supported raster with any valid bit depth.
To create a segmented raster dataset, use the Segment Mean Shift tool.
To create the training sample file, use the Training Samples Manager pane from the Classification Tools drop-down menu.
The Output Classifier Definition File contains attribute statistics suitable for the Maximum Likelihood Classification tool, which is available with an Spatial Analyst extension license.
The Segment Attributes parameter is only active if one of the raster layer inputs is a segmented image.
To classify time series raster data using the Continuous Change Detection and Classification (CCDC) algorithm, first run the Analyze Changes Using CCDC tool. Then use the output change analysis raster as the input raster for this training tool.
The training sample data must have been collected at multiple times using the Training Samples Manager. The dimension value for each sample is listed in a field in the training sample feature class, which is specified in the Dimension Value Field parameter.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Raster |
The raster dataset to classify. |
Raster Layer; Mosaic Layer; Image Service; String |
|
Input Training Sample File |
The training sample file or layer that delineates the training sites. These can be either shapefiles or feature classes that contain the training samples. The following field names are required in the training sample file:
|
Feature Layer |
|
Output Classifier Definition File |
The output JSON format file that will contain attribute information, statistics, hyperplane vectors, and other information for the classifier. An |
File |
|
Additional Input Raster (Optional) |
Incorporates ancillary raster datasets, such as a segmented image or DEM. This parameter is optional. |
Raster Layer; Mosaic Layer; Image Service; String |
|
Segment Attributes Used (Optional) |
Specifies the attributes that will be included in the attribute table associated with the output raster. This parameter is only active if the Segmented key property is set to true on the input raster. If the only input to the tool is a segmented image, the default attributes are Converged color, Count of pixels, Compactness, and Rectangularity. If an Additional Input Raster value is included as an input with a segmented image, Mean digital number and Standard deviation are also available attributes.
|
String |
|
Dimension Value Field (Optional) |
Contains dimension values in the input training sample feature class. This parameter is required to classify a time series of raster data using the change analysis raster output from the Analyze Changes Using CCDC tool. |
Field |
Environments
Current Workspace, Extent, Geographic Transformations, Output Coordinate System, Scratch Workspace, Snap Raster
Licensing information
- Basic: Requires Image Analyst or Spatial Analyst
- Standard: Requires Image Analyst or Spatial Analyst
- Advanced: Requires Image Analyst or Spatial Analyst