imaqSetParticleClassifierOptions

NI Vision for LabWindows/CVI Function

imaqSetParticleClassifierOptions

Usage

int imaqSetParticleClassifierOptions(ClassifierSession* session, const ParticleClassifierPreprocessingOptions* preprocessingOptions, const ParticleClassifierOptions* options);

Purpose

Set options on a particle classifier session.

Parameters

Name

Type

Description

session ClassifierSession* The classifier session from which to set the options.
preprocessingOptions const ParticleClassifierPreprocessingOptions* The preprocessing options to set. Set this parameter to NULL if you do not want to set the preprocessing options.
options const ParticleClassifierOptions* The classification options to set. Set this parameter to NULL if you do not want to set the classification options.

Return Value

Type

Description

int On success, this function returns a non-zero value. On failure, this function returns 0. To get extended error information, call imaqGetLastError().