public class SoAutoIntensityClassificationProcessing extends SoImageVizEngine
SoAutoIntensityClassificationProcessing
classifies all pixels/voxels of an image using the k-means method.
Given a set of observations (x1, x2, ..., xn), where each observation is a d-dimensional real vector, k-means clustering aims to partition the n observations into k (= n) sets S = {S1, S2, ..., Sk} so as to minimize the within-cluster sum of squares (WCSS) (sum of distance functions of each point in the cluster to the K center).
Lloyd, S. P. "Least square quantization in PCM." IEEE Transactions on Information Theory 28 (2): 129–137, 1982.
File format/default:
AutoIntensityClassificationProcessing {
computeMode | MODE_AUTO |
inImage | NULL |
classNumber | 2 |
dataPercentage | 100 |
Library references: k_means_classification
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFInt32 |
classNumber
The number of classes to detect (i.e.
|
SoSFEnum<SoImageVizEngine.ComputeModes> |
computeMode
Select the compute Mode (2D or 3D or AUTO) .
|
SoSFInt32 |
dataPercentage
The data percentage used for pre-computing the classification.
|
SoSFImageDataAdapter |
inImage
The input image.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outLabelImage
The output label image where a one label represents one class.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgress
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoAutoIntensityClassificationProcessing()
Constructor.
|
abortEvaluate, isEvaluating, startEvaluate, waitEvaluate
copy, getByName, getOutput, getOutputName
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable, touch
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public final SoSFEnum<SoImageVizEngine.ComputeModes> computeMode
public final SoSFImageDataAdapter inImage
public final SoSFInt32 classNumber
public final SoSFInt32 dataPercentage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outLabelImage
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com