Adding Samples to the Classifier

NI Classification Training Interface

Adding Samples to the Classifier

Use the Add Samples tab to add images as samples in the NI Classification Training Interface.

Complete the following steps to add an image as a sample:

  1. Click File»Open Images.
  2. Navigate to the image you want to classify and click Open.
    Tip  You can select all of the files in a folder by enabling the Select All Files option, or you can select multiple files by holding the <Ctrl> key while clicking file names. When you select an image from the list, the Preview Image window displays the image, file type, image size, and image type. If you have selected a collection of images, the Preview window displays all images in a sequence. To view the sequence at a different rate, adjust the slide to the right of the Preview Image window.
    Tip  To browse the images you opened, use the navigation buttons.
  3. Draw an ROI around the sample you want to add.
  4. Use the Preprocessing, Engine Options, and Particle Classifier Options tabs to adjust the parameters.
  5. Select the appropriate label for the image you have trained from the Class Label drop-down menu. To add a new label, select Add New Label from the Correct Label drop-down menu. The Enter a new label dialog box opens. Type the label name and click OK. The new sample is automatically added to the group of trained samples.
  6. To add a sample with an already existing label, select the label from the list and click Add Sample to add the sample to the group of trained samples.

The Particle Histogram graphically displays, for each sample, the number of instances of each type of sample in the class.

The Total # of Samples indicator displays the number of samples you have trained.