CVB.Net 14.0
BlobAnalyzer Class Reference

Object for extracting blobs and their information from an image. More...

Inherits IDisposable.

Public Member Functions

 BlobAnalyzer (ImagePlane plane)
 Create a blob detector object. More...
 
void Dispose ()
 Dispose method that releases the classifier
 
BlobResult[] Run ()
 Perform a blob search using the currently set search and filter parameters More...
 

Protected Member Functions

virtual void Dispose (bool disposing)
 IDispose helper function. More...
 

Properties

IntPtr Handle [get]
 Native non linear transformation handle. More...
 
bool IsDisposed [get]
 Tests if the native handle has already been disposed.
 
Rect AOI [set]
 Area of interest on which to extract blobs.
 
bool SkipBinarzation [set]
 Set if input is a binary image.
 
BlobBorderFilter BorderFilter [set]
 Set which blobs touching an AOI should be filtered out during blob processing.
 
ValueRange< int > SizeFilter [set]
 Set the limits for filtering out blob results based on the area covered by the blob.
 
ValueRange< int > WidthFilter [set]
 Set the limits for filtering out blob results based on the width of the blob.
 
ValueRange< int > HeightFilter [set]
 Set the limits for filtering out blob results based on the height of the blob.
 
ValueRange< int > BinarizationRange [set]
 Set the gray value range for finding blobs.
 

Detailed Description

Object for extracting blobs and their information from an image.

Constructor & Destructor Documentation

◆ BlobAnalyzer()

Create a blob detector object.

Parameters
planeimage plane the detector should work on

Member Function Documentation

◆ Dispose()

virtual void Dispose ( bool  disposing)
protectedvirtual

IDispose helper function.

Parameters
disposingtrue when called via IDisposable.Dispose, false when called by the finalizer.

◆ Run()

BlobResult[] Run ( )

Perform a blob search using the currently set search and filter parameters

Returns
list of blobs that have been found in the image

Property Documentation

◆ Handle

IntPtr Handle
get

Native non linear transformation handle.

It is normally not necessary to work with this handle in CVB.Net. Note that using this handle in connection with the legacy CVB managed wrappers may actually be disruptive to your application.