IMVBlobPreProcessing

The IMVBlobPreProcessing Interface contains methods to configure the image pre-processing functions from the MV Blob Finder and MV Blob Counter filter.

BlobType Search bright or dark blobs.
DrawSegmentation Draw the segmentation result into the output image.
EdgeDetection Apply edge detection operator before segmentation.
SegmentationThreshold Segmentation threshold.

Header file: IMVBlobPreProcessing.h
Interface definition language file: IMVBlobPreProcessing.idl
Typelib: MVBlobPreProcessing
Interface ID: IID_IMVBlobPreProcessing


Property IMVBlobPreProcessing::BlobType

Declaration: Property Get/Put BlobType As Long

Search bright or dark blobs.

Prototype:

HRESULT put_BlobType(LONG Type);
HRESULT get_BlobType(LONG* Type);


Property IMVBlobPreProcessing::DrawSegmentation

Declaration: Property Get/Put DrawSegmentation As Boolean

Draw the segmentation result into the output image.

Prototype:

HRESULT put_DrawSegmentation(BOOLEAN Enable);
HRESULT get_DrawSegmentation(BOOLEAN* Enable);


Property IMVBlobPreProcessing::EdgeDetection

Declaration: Property Get/Put EdgeDetection As Long

Apply edge detection operator before segmentation.

Prototype:

HRESULT put_EdgeDetection(LONG Mode);
HRESULT get_EdgeDetection(LONG* Mode);


Property IMVBlobPreProcessing::SegmentationThreshold

Declaration: Property Get/Put SegmentationThreshold As Byte

Segmentation threshold value.

Prototype:

HRESULT put_SegmentationThreshold(BYTE Value);
HRESULT get_SegmentationThreshold(BYTE* Value);