ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Creating training samples

Available with Spatial Analyst license.

To create training samples, use the training sample drawing tools on the Image Classification toolbar.

    The steps below show how to create training samples using the controls on the toolbar:
  1. On the toolbar, choose an appropriate image layer in the Layer list.
    Select the appropriate layer
  2. Click the draw button. Notice that there is a choice of four drawing tools available: polygons, circles, rectangles, and select segment.
    Select a training sample drawing tool

    For the Select Segment drawing option to be available, the image layer in the Layer list must be a segmented raster layer.

  3. In the map display, identify an area that belongs to a known class. Use the drawing tool to define a training sample.

    The following image shows a polygon training sample:

    Training sample illustration

    When choosing polygon segments in Select Segment mode, one mouse click highlights the segment and a second click captures the segment as a training polygon. Since a segment is a single object with average attribute values, a statistically significant number of segments (about 15-20) need to be collected to represent a class.

    Once you finish drawing or selecting the training sample, a new class is created in Training Sample Manager with a default name, value, and color.

  4. In the manager, optionally change the class name, value, and color for the class.
  5. Repeat steps 2 through 4 to create a few more training samples to represent the rest of the classes in the image.

    The following screen shot shows how manager appears after five classes were created:

    Training Sample Manager with several classes

Related topics

  • An overview of the Image Classification toolbar
  • What is image classification?

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal