MorphologyMethod
The morphological transformation the function applies. For more information about morphological transformations, refer to Chapter 9, Binary Morphology, in the NI Vision Concepts Manual.
Elements
Name | Value | Description |
---|---|---|
IMAQ_AUTOM | 0 | The function uses a transformation that generates simpler particles that contain fewer details. |
IMAQ_CLOSE | 1 | The function uses a transformation that fills tiny holes and smooths boundaries. |
IMAQ_DILATE | 2 | The function uses a transformation that eliminates tiny holes isolated in particles and expands the contour of the particles according to the template defined by the structuring element. |
IMAQ_ERODE | 3 | The function uses a transformation that eliminates pixels isolated in the background and erodes the contour of particles according to the template defined by the structuring element. |
IMAQ_GRADIENT | 4 | The function uses a transformation that leaves only the pixels that would be added by the dilation process or eliminated by the erosion process. |
IMAQ_GRADIENTOUT | 5 | The function uses a transformation that leaves only the pixels that would be added by the dilation process. |
IMAQ_GRADIENTIN | 6 | The function uses a transformation that leaves only the pixels that would be eliminated by the erosion process. |
IMAQ_HITMISS | 7 | The function uses a transformation that extracts each pixel located in a neighborhood exactly matching the template defined by the structuring element. |
IMAQ_OPEN | 8 | The function uses a transformation that removes small particles and smooths boundaries. |
IMAQ_PCLOSE | 9 | The function uses a transformation that fills tiny holes and smooths the inner contour of particles according to the template defined by the structuring element. |
IMAQ_POPEN | 10 | The function uses a transformation that removes small particles and smooths the contour of particles according to the template defined by the structuring element. |
IMAQ_THICK | 11 | The function uses a transformation that adds to an image those pixels located in a neighborhood that matches a template specified by the structuring element. |
IMAQ_THIN | 12 | The function uses a transformation that eliminates pixels that are located in a neighborhood matching a template specified by the structuring element. |
IMAQ_MORPHOLOGY_METHOD_SIZE_GUARD | 0xFFFFFFFF | Reserved |