TD4 Classification Collect Data
TD4 Classification Collect Data
Page 1 of 8
© 2016 Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation. All Rights Reserved. This
information is not subject to the controls of the International Traffic in Arms Regulations (ITAR) or the Export
Administration Regulations (EAR). However, this information may be restricted from transfer to various embargoed
countries under U.S. laws and regulations.
Classification Tutorial 2: Collect Training Data
4. Select NEONOrthophoto.dat and click Open. The orthophoto appears in the Image
window.
Page 2 of 8
© 2016 Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation. All Rights Reserved. This
information is not subject to the controls of the International Traffic in Arms Regulations (ITAR) or the Export
Administration Regulations (EAR). However, this information may be restricted from transfer to various embargoed
countries under U.S. laws and regulations.
Classification Tutorial 2: Collect Training Data
2. Click the Add ROI button in the Region of Interest (ROI) Tool. A new Regions of
Interest layer appears in the Layer Manager. The default name is "ROI #1" and its color
is red.
3. Change the ROI Name to Building, and use the color picker to choose a different color
if desired.
4. Zoom into the orthophoto.
5. The Polygon icon is active in the ROI Tool. Click and drag the cursor to define a polygon
around some building pixels. To complete the polygon, right-click and select Complete
and Accept Polygon. For example:
Page 3 of 8
© 2016 Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation. All Rights Reserved. This
information is not subject to the controls of the International Traffic in Arms Regulations (ITAR) or the Export
Administration Regulations (EAR). However, this information may be restricted from transfer to various embargoed
countries under U.S. laws and regulations.
Classification Tutorial 2: Collect Training Data
To pan around the image while creating ROIs, press the middle mouse button and move
around the display. You can also click the Pan button in the toolbar. To resume drawing
ROIs, you must (1) click the Select button in the toolbar and (2) click inside of the
ROI Tool. The cursor will change back to a crosshair.
6. Create several more polygons around building pixels. You do not have to draw ROIs for
every building. The key is to draw ROIs around buildings with different colors,
intensities, and features (including solar panels and vents) so that you have a wide
representation of building types.
1. Click the Add ROI button in the Region of Interest (ROI) Tool. A new Regions of
Interest layer appears in the Layer Manager. The default name is "ROI #1" and its color
is green.
2. Change the ROI Name to Tree.
3. Define polygons that represent tree pixels. Choose different colors of trees.
4. Repeat Steps 1-3 for the other ROIs:
n Grass: Select pixels that are purely grass, not a mixture of bare soil and grass.
n Concrete: Select pixels from sidewalks and driveways.
n Asphalt: Select pixels from roads and asphalt parking lots.
Here is an example with all five ROIs defined:
Page 4 of 8
© 2016 Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation. All Rights Reserved. This
information is not subject to the controls of the International Traffic in Arms Regulations (ITAR) or the Export
Administration Regulations (EAR). However, this information may be restricted from transfer to various embargoed
countries under U.S. laws and regulations.
Classification Tutorial 2: Collect Training Data
5. When you are finished creating ROIs, select File > Save As from the ROI Tool menu
bar.
6. In the Save ROIs to .XML dialog, click the Select All Items button to select all five
ROIs.
Page 5 of 8
© 2016 Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation. All Rights Reserved. This
information is not subject to the controls of the International Traffic in Arms Regulations (ITAR) or the Export
Administration Regulations (EAR). However, this information may be restricted from transfer to various embargoed
countries under U.S. laws and regulations.
Classification Tutorial 2: Collect Training Data
Next Steps
Now you can use the attribute image (from "Classification Tutorial 1: Create an Attribute
Image") and training data ROIs from this tutorial for classification. Here are some different
options:
n See the following code examples in ENVI Help for instructions on running an end-to-end
classification workflow using the attribute image and training ROIs:
Page 6 of 8
© 2016 Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation. All Rights Reserved. This
information is not subject to the controls of the International Traffic in Arms Regulations (ITAR) or the Export
Administration Regulations (EAR). However, this information may be restricted from transfer to various embargoed
countries under U.S. laws and regulations.
Classification Tutorial 2: Collect Training Data
Copyright Notice:
ENVI is a registered trademark of Harris Corporation.
Page 7 of 8
© 2016 Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation. All Rights Reserved. This
information is not subject to the controls of the International Traffic in Arms Regulations (ITAR) or the Export
Administration Regulations (EAR). However, this information may be restricted from transfer to various embargoed
countries under U.S. laws and regulations.