SoApplyMorphologicalLutProcessing2d Class Reference
[Hit-Or-Miss And Skeleton]

ImageViz SoApplyMorphologicalLutProcessing2d engine allows to apply a morphological look up table on a 2D image. More...

#include <ImageViz/Engines/MathematicalMorphology/HitOrMissAndSkeleton/SoApplyMorphologicalLutProcessing2d.h>

Inheritance diagram for SoApplyMorphologicalLutProcessing2d:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Classes

class  SbApplyMorphLutDetail
 Results details of morphological Lut processing. More...

Public Types

enum  MatchingAction {
  SET_ZERO = 0,
  SET_ONE = 1,
  SET_CHANGE = 2,
  SET_UNCHANGE = 3
}

Public Member Functions

 SoApplyMorphologicalLutProcessing2d ()

Public Attributes

SoSFImageDataAdapter inBinaryImage
SoSFMorphoLut2D morphologicalLut
SoSFEnum matchingFlag
SoSFEnum noMatchingFlag
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outBinaryImage
SoImageVizEngineAnalysisOutput
< SbApplyMorphLutDetail
outModifiedVoxels

Detailed Description

ImageViz SoApplyMorphologicalLutProcessing2d engine allows to apply a morphological look up table on a 2D image.

For an introduction, see section Morphological LUT.

The SoApplyMorphologicalLutProcessing2d engine applies the selected morphological lookup table (LUT) on the input image.

Before launching this engine, the morphological LUT has to be built using the SoMorphoLut2D::insertKernel method of the morphologicalLut field.

The "Apply a 2D-morphological LUT on an image" demo shows how to implement morphological thinning, thickening and hit-or-miss operations thanks to the SoApplyMorphologicalLutProcessing2d engine.

FILE FORMAT/DEFAULT


Library references: apply_morph_lut

See related examples:

IterativeMorphoLut2d


Member Enumeration Documentation

Action to use for matching and no-matching fields.

Enumerator:
SET_ZERO 

put 0

SET_ONE 

put 1

SET_CHANGE 

invert value

SET_UNCHANGE 

keep value unchanged


Constructor & Destructor Documentation

SoApplyMorphologicalLutProcessing2d::SoApplyMorphologicalLutProcessing2d (  ) 

Constructor.


Member Data Documentation

The input binary image.

Default value is NULL. Supported types include: binary color image.

The value set when the condition is verified.

Use enum MatchingAction. Default is SET_ONE

The input morphological LUT array.

Default value is 0.

The value set when the condition is not verified.

Use enum MatchingAction. Default is SET_ZERO

The output binary image.

Default value is NULL. Supported types include: grayscale binary label color image.

The number of modified voxels.

Default value is NULL.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/