Add Method

NI Vision for Visual Basic

Add Method

Syntax

CWIMAQCustomClassifierSamples.Add FeatureVector, SampleClass [, SourceImage]

Purpose

Adds a sample to the custom classifier.

Parameters

FeatureVector As Variant

The feature vector that describes this sample. This value must be a 1D array of Doubles. The feature vectors for all samples of a custom classifier must be the same size.

SampleClass As String

The class of this image.

SourceImage As CWIMAQImage

[Optional] An optional thumbnail image to associate with this sample.