PixelClassifier

_PixelClassifierLoadSettings, _PixelClassifierND, _PixelClassifierSaveSettings, PixelClassifierAddClasses, PixelClassifierDefineBayes, PixelClassifierDefineManual, PixelClassifierDefineNeural, PixelClassifierDefinitionClose, PixelClassifierDefinitionReset, PixelClassifierDeselectInputChannel, PixelClassifierExportToExcel, PixelClassifierGetClassCount, PixelClassifierGetMeasuredArea, PixelClassifierInROI, PixelClassifierLoadSettings, PixelClassifierND, PixelClassifierRefresh, PixelClassifierRemoveAllData, PixelClassifierRemoveClasses, PixelClassifierRemoveData, PixelClassifierSaveSettings, PixelClassifierSelectInputChannel, PixelClassifierSelectInputData, PixelClassifierSetClassCount, PixelClassifierSetSmooth, PixelClassifierShowAreaFract, PixelClassifierStore

PixelClassifierAddClasses

Description 

 PixelClassifierAddClasses(
   int  ClassifierClassCount
);

Adds a specified number of phases into the Pixel Classifier.

Parameters

int ClassifierClassCount

Number of phases.

PixelClassifierDefineBayes

Description 

 PixelClassifierDefineBayes(
   int  PickerSize,
   int  ClassifierClassID
);

Selects the Bayes pixel classification method and a phase.

Parameters

int PickerSize

Size of the picker.

1

single point

2

3 point single

3

6 point circle

int ClassifierClassID

Phase selection.

0

First table row.

1

Second table row, etc.

PixelClassifierDefineManual

Description 

 PixelClassifierDefineManual(
   int  ClassifierThresholdPos,
   int  ClassifierClassID
);

Selects the Manual pixel classification method and defines the threshold of the selected phase.

Parameters

int ClassifierThresholdPos

Higher threshold value (0–255) of the selected phase.

int ClassifierClassID

Phase selection.

0

First table row.

1

Second table row, etc.

PixelClassifierDefineNeural

Description 

 PixelClassifierDefineNeural(
   int  PickerSize,
   int  ClassifierClassID
);

Selects the Neural pixel classification method on a selected phase and defines the picker size.

Parameters

int PickerSize

Size of the picker.

1

single point

2

3 point single

3

6 point circle

int ClassifierClassID

Phase selection.

0

First table row.

1

Second table row, etc.

PixelClassifierDefinitionClose

Description 

 PixelClassifierDefinitionClose();

Controls the Define button in the Pixel Classifier which switches between the standard and the training mode.

PixelClassifierDefinitionReset

Description 

 PixelClassifierDefinitionReset();

Deletes all data created in the training mode.

PixelClassifierDeselectInputChannel

Description 

 PixelClassifierDeselectInputChannel(
   int  ClassifierChannel
);

Deselects the defined channel found in the Channels combo box of the Pixel Classifier.

Parameters

int ClassifierChannel

Channel ID.

0

First channel

1

Second channel, etc.

PixelClassifierExportToExcel

Description 

 PixelClassifierExportToExcel();

Exports the measured data into MS Excel.

PixelClassifierGetClassCount

Description 

 PixelClassifierGetClassCount(
   int  ClassifierClassCount
);

Returns the number of defined phases.

Parameters

int ClassifierClassCount

Number of phases.

PixelClassifierGetMeasuredArea

Description 

 PixelClassifierGetMeasuredArea(
   int  ClassifierClassID,
   int  ClassifierArea,
   int  ClassifierAreaFract
);

Returns the Area and Area Fraction values measured in the Pixel Classifier.

Parameters

int ClassifierClassID

Phase selection.

0

First table row.

1

Second table row, etc.

int ClassifierArea

Area [px2] values.

int ClassifierAreaFract

Area Fraction [%] values.

PixelClassifierInROI

Description 

 PixelClassifierInROI(
   int  Enabled
);

Sets the pixel classification to be performed only inside the ROI(s).

Parameters

int Enabled

0

Disabled.

1

Enabled.

PixelClassifierLoadSettings

Description 

 PixelClassifierLoadSettings(
   char *ClassifierFileName
);

This function loads current pixel classifier settings from a specified file.

Parameters

char *ClassifierFileName

Defines complete path to the file you want to save/load.

See Also 
PixelClassifierSaveSettings, _PixelClassifierSaveSettings, _PixelClassifierLoadSettings

PixelClassifierND

Description 

 PixelClassifierND(
   int  NDTLoop,
   int  NDMPLoop,
   int  NDZLoop
);

Runs pixel classifier and performs classification according to the last used settings.

Parameters

int NDTLoop

0

apply to the current loop only

1

apply to the whole Time dimension

int NDMPLoop

Apply to Multi Point dimension.

0

apply to the current loop only

1

apply to the whole Multi Point dimension

int NDZLoop

Apply to Z dimension

0

apply to the current loop only

1

apply to the whole Z Series dimension

PixelClassifierRefresh

Description 

 PixelClassifierRefresh();

Updates the classification data of the Pixel Classifier dialog using the current image.

PixelClassifierRemoveAllData

Description 

 PixelClassifierRemoveAllData();

Clears all classification stored data.

PixelClassifierRemoveClasses

Description 

 PixelClassifierRemoveClasses(
   int  ClassifierClassCount
);

Deletes phases in the Pixel Classifier table from the bottom to the top.

Parameters

int ClassifierClassCount

Number of phases.

PixelClassifierRemoveData

Description 

 PixelClassifierRemoveData();

Removes the currently selected classification stored data.

PixelClassifierSaveSettings

Description 

 PixelClassifierSaveSettings(
   char *ClassifierFileName
);

This function saves current pixel classifier settings into a file.

Parameters

char *ClassifierFileName

Defines complete path to the file you want to save/load.

See Also 
_PixelClassifierSaveSettings, PixelClassifierLoadSettings, _PixelClassifierLoadSettings

PixelClassifierSelectInputChannel

Description 

 PixelClassifierSelectInputChannel(
   int  ClassifierChannel
);

Selects the defined channel found in the Channels combo box of the Pixel Classifier.

Parameters

int ClassifierChannel

Channel ID.

0

First channel

1

Second channel, etc.

PixelClassifierSelectInputData

Description 

 PixelClassifierSelectInputData(
   int  ClassifierData
);

Defines the feature on which the Pixel Classifier will classify.

Parameters

int ClassifierData

Classification feature.

0

Intensity

1

Channels

2

Hue, Saturation, Intensity

3

Ratio

PixelClassifierSetClassCount

Description 

 PixelClassifierSetClassCount(
   int  ClassifierClassCount
);

Sets the number of phases to be present in the Pixel Classifier.

Parameters

int ClassifierClassCount

Number of phases.

PixelClassifierSetSmooth

Description 

 PixelClassifierSetSmooth(
   int  Enabled,
   int  ClassifierSmoothLevel
);

Controls the Smooth button of the Pixel Classifier which applies the smooth operation onto the classified objects.

Parameters

int Enabled

0

Disabled.

1

Enabled.

int ClassifierSmoothLevel

Smooth strength.

PixelClassifierShowAreaFract

Description 

 PixelClassifierShowAreaFract(
   int  Enabled
);

Displays classification stored data as an area fraction in [%].

Parameters

int Enabled

0

Disabled.

1

Enabled.

PixelClassifierStore

Description 

 PixelClassifierStore();

Saves the current classification data into the stored data.

_PixelClassifierLoadSettings

Description 

 _PixelClassifierLoadSettings();

This function loads the current pixel classifier settings from a file. The function displays the Load Pixel Classifier Configuration window.

See Also 
PixelClassifierSaveSettings, PixelClassifierLoadSettings, _PixelClassifierSaveSettings

_PixelClassifierND

Description 

 _PixelClassifierND();

Performs the pixel classification according to the last used settings of the Pixel Classifier either on all frames or on a selected dimension.

_PixelClassifierSaveSettings

Description 

 _PixelClassifierSaveSettings();

This function saves the current pixel classifier settings to a file. The function displays the Save Pixel Classifier Configuration... window.

See Also 
PixelClassifierSaveSettings, PixelClassifierLoadSettings, _PixelClassifierLoadSettings