Class SoReorderLabelsProcessing
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.misc.SoBase
-
- com.openinventor.inventor.fields.SoFieldContainer
-
- com.openinventor.inventor.engines.SoEngine
-
- com.openinventor.imageviz.engines.SoImageVizEngine
-
- com.openinventor.imageviz.engines.imagesegmentation.labeling.SoReorderLabelsProcessing
-
- All Implemented Interfaces:
SafeDisposable
public class SoReorderLabelsProcessing extends SoImageVizEngine
SoReorderLabelsProcessing
image filter. TheSoReorderLabelsProcessing
forces label values to be consecutive.When a label image has some missing values in its histogram, it is not possible to automatically reassign consecutive labels using the
SoLabelingProcessing
command. By definition, that filter assigns a unique value to each connected component. TheSoReorderLabelsProcessing
filter fills the missing values of the histogram while preserving the original connectivity of the input labels.File format/default:
ReorderLabelsProcessing {
computeMode MODE_AUTO inLabelImage NULL
Library references: reorder_labels
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field Description SoSFEnum<SoImageVizEngine.ComputeModes>
computeMode
Select the compute Mode (2D or 3D or AUTO) .SoSFImageDataAdapter
inLabelImage
The input label image.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outLabelImage
The output label image.-
Fields inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
onBegin, onEnd, onProgress
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoReorderLabelsProcessing()
Constructor.
-
Method Summary
-
Methods inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
abortEvaluate, isEvaluating, startEvaluate, waitEvaluate
-
Methods inherited from class com.openinventor.inventor.engines.SoEngine
copy, getByName, getOutput, getOutputName
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touch
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-
-
-
Field Detail
-
computeMode
public final SoSFEnum<SoImageVizEngine.ComputeModes> computeMode
Select the compute Mode (2D or 3D or AUTO) . Default is MODE_AUTO
-
inLabelImage
public final SoSFImageDataAdapter inLabelImage
The input label image. Default value is NULL. Supported types include: label color image.
-
outLabelImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outLabelImage
The output label image. Default value is NULL. Supported types include: label image.
-
-