SoApplyMorphologicalLutProcessing3d engine allows to apply a morphological look up table on a 3D image. More...
#include <ImageViz/Engines/MathematicalMorphology/HitOrMissAndSkeleton/SoApplyMorphologicalLutProcessing3d.h>
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 | |
SoApplyMorphologicalLutProcessing3d () | |
Public Attributes | |
SoSFImageDataAdapter | inBinaryImage |
SoSFMorphoLut3D | morphologicalLut |
SoSFEnum | matchingFlag |
SoSFEnum | noMatchingFlag |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outBinaryImage |
SoImageVizEngineAnalysisOutput < SbApplyMorphLutDetail > | outModifiedVoxels |
For an introduction, see section Morphological LUT.
The SoApplyMorphologicalLutProcessing3d engine applies the selected morphological lookup table (LUT) on the input 3D image.
Before launching this engine, the morphological LUT has to be built using the SoMorphoLut3D::insertKernel method of the morphologicalLut field.
The "Apply a 3D-morphological LUT on an image" demo shows how to implement morphological thinning, thickening and hit-or-miss operations thanks to the SoApplyMorphologicalLutProcessing3d engine.
inBinaryImage | NULL |
morphologicalLut | 0 |
SoApplyMorphologicalLutProcessing3d::SoApplyMorphologicalLutProcessing3d | ( | ) |
Constructor.
The input binary image.
Default value is NULL. Supported types include: binary 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
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoApplyMorphologicalLutProcessing3d::outBinaryImage |
The output binary image.
Default value is NULL. Supported types include: grayscale binary label color image.
SoImageVizEngineAnalysisOutput<SbApplyMorphLutDetail> SoApplyMorphologicalLutProcessing3d::outModifiedVoxels |
The number of modified voxels.
Default value is NULL.