CVB.Net 14.0
Correlation Class Reference

Correlation functions that come with the Minos library. More...

Static Public Member Functions

static SearchResult[] SearchAll (ImagePlane plane, ImagePlane template, double density, Area2D aoi, double threshold, int radius)
 Find all correlation matches of the template in the image plane . If the number of results exceeds 32767, then the result list will be truncated at that number. The order of the results depends on the scan direction defined by the aoi . More...
 
static SearchResult[] SearchAll (ImagePlane plane, ImagePlane template, double density, double threshold, int radius)
 Find all correlation matches of the template in the image plane . If the number of results exceeds 32767, then the result list will be truncated at that number. The order of the results is left/top to right/bottom. More...
 
static SearchResult[] SearchAll (Image image, Image template, double density, double threshold, int radius)
 Find all correlation matches of the template in the image . If the number of results exceeds 32767, then the result list will be truncated at that number. The order of the results is left/top to right/bottom. More...
 
static SearchResult[] SearchAll (Image image, Image template, double density, Area2D aoi, double threshold, int radius)
 Find all correlation matches of the template in the image . If the number of results exceeds 32767, then the result list will be truncated at that number. The order of the results depends on the scan direction defined by the aoi . More...
 
static SearchResult Search (ImagePlane plane, ImagePlane template, double density, Area2D aoi)
 Find the best correlation match of the template in the plane with sub-pixel accuracy. The amount of sub pixel accuracy that may be achieved depends on the size of the template. More...
 
static SearchResult Search (Image image, Image template, double density, Area2D aoi)
 Find the best correlation match of the template in the image with sub-pixel accuracy. The amount of sub pixel accuracy that may be achieved depends on the size of the template. More...
 
static SearchResult Search (Image image, Image template, double density)
 Find the best correlation match of the template in the image with sub-pixel accuracy. The amount of sub pixel accuracy that may be achieved depends on the size of the template. More...
 
static SearchResult Search (ImagePlane plane, ImagePlane template, double density)
 Find the best correlation match of the template in the plane with sub-pixel accuracy. The amount of sub pixel accuracy that may be achieved depends on the size of the template. More...
 

Detailed Description

Correlation functions that come with the Minos library.

Member Function Documentation

◆ Search() [1/4]

static SearchResult Search ( Image  image,
Image  template,
double  density 
)
static

Find the best correlation match of the template in the image with sub-pixel accuracy. The amount of sub pixel accuracy that may be achieved depends on the size of the template.

Parameters
imageimage in which to look for correlation matches
templatetemplate with which to look for correlation matches
densityscan density with which to look for correlation matches
Returns
best result that was detected (SearchResult.Empty if none was found)
Exceptions
ArgumentNullExceptionIf image or template are null
ObjectDisposedExceptionIf image or template has already been disposed
ArgumentOutOfRangeExceptionIf the parameter value is invalid or the density exceeds the range [0...1].

◆ Search() [2/4]

static SearchResult Search ( Image  image,
Image  template,
double  density,
Area2D  aoi 
)
static

Find the best correlation match of the template in the image with sub-pixel accuracy. The amount of sub pixel accuracy that may be achieved depends on the size of the template.

Parameters
imageimage in which to look for correlation matches
templatetemplate with which to look for correlation matches
densityscan density with which to look for correlation matches
aoiarea in which to look for correlation matches
Returns
best result that was detected (SearchResult.Empty if none was found)
Exceptions
ArgumentNullExceptionIf image or template are null
ObjectDisposedExceptionIf image or template has already been disposed
ArgumentOutOfRangeExceptionIf the parameter value is invalid or the density exceeds the range [0...1].

◆ Search() [3/4]

static SearchResult Search ( ImagePlane  plane,
ImagePlane  template,
double  density 
)
static

Find the best correlation match of the template in the plane with sub-pixel accuracy. The amount of sub pixel accuracy that may be achieved depends on the size of the template.

Parameters
planeimage plane in which to look for correlation matches
templatetemplate with which to look for correlation matches
densityscan density with which to look for correlation matches
Returns
best result that was detected (SearchResult.Empty if none was found)
Exceptions
ArgumentNullExceptionIf plane or template are null
ObjectDisposedExceptionIf plane or template has already been disposed
ArgumentOutOfRangeExceptionIf the parameter value is invalid or the density exceeds the range [0...1].

◆ Search() [4/4]

static SearchResult Search ( ImagePlane  plane,
ImagePlane  template,
double  density,
Area2D  aoi 
)
static

Find the best correlation match of the template in the plane with sub-pixel accuracy. The amount of sub pixel accuracy that may be achieved depends on the size of the template.

Parameters
planeimage plane in which to look for correlation matches
templatetemplate with which to look for correlation matches
densityscan density with which to look for correlation matches
aoiarea in which to look for correlation matches
Returns
best result that was detected (SearchResult.Empty if none was found)
Exceptions
ArgumentNullExceptionIf the Parent of plane or template is null
ObjectDisposedExceptionIf the Parent of plane or template has already been disposed
ArgumentOutOfRangeExceptionIf the density exceeds the range [0...1].

◆ SearchAll() [1/4]

static SearchResult[] SearchAll ( Image  image,
Image  template,
double  density,
Area2D  aoi,
double  threshold,
int  radius 
)
static

Find all correlation matches of the template in the image . If the number of results exceeds 32767, then the result list will be truncated at that number. The order of the results depends on the scan direction defined by the aoi .

Parameters
imageimage in which to look for correlation matches
templatetemplate with which to look for correlation matches
densityscan density with which to look for correlation matches
aoiarea in which to look for correlation matches
thresholdminimum correlation for the results to be reported
radiusminimum distance between two positive results
Returns
the list of extracted results
Exceptions
ArgumentNullExceptionIf image or template are null
ObjectDisposedExceptionIf image or template has already been disposed
ArgumentOutOfRangeExceptionIf the parameter density or threshold exceeds the range [0...1].

◆ SearchAll() [2/4]

static SearchResult[] SearchAll ( Image  image,
Image  template,
double  density,
double  threshold,
int  radius 
)
static

Find all correlation matches of the template in the image . If the number of results exceeds 32767, then the result list will be truncated at that number. The order of the results is left/top to right/bottom.

Parameters
imageimage in which to look for correlation matches
templatetemplate with which to look for correlation matches
densityscan density with which to look for correlation matches
thresholdminimum correlation for the results to be reported
radiusminimum distance between two positive results
Returns
the list of extracted results
Exceptions
ArgumentNullExceptionIf image or template are null
ObjectDisposedExceptionIf image or template has already been disposed
ArgumentOutOfRangeExceptionIf the parameter density or threshold exceeds the range [0...1].

◆ SearchAll() [3/4]

static SearchResult[] SearchAll ( ImagePlane  plane,
ImagePlane  template,
double  density,
Area2D  aoi,
double  threshold,
int  radius 
)
static

Find all correlation matches of the template in the image plane . If the number of results exceeds 32767, then the result list will be truncated at that number. The order of the results depends on the scan direction defined by the aoi .

Parameters
planeimage plane in which to look for correlation matches
templatetemplate with which to look for correlation matches
densityscan density with which to look for correlation matches
aoiarea in which to look for correlation matches
thresholdminimum correlation for the results to be reported
radiusminimum distance between two positive results
Returns
the list of extracted results
Exceptions
ArgumentNullExceptionIf the Parent of plane or template ist null
ObjectDisposedExceptionIf the Parent of plane or template has already been disposed
ArgumentOutOfRangeExceptionIf the density or threshold exceeds the range [0...1].

◆ SearchAll() [4/4]

static SearchResult[] SearchAll ( ImagePlane  plane,
ImagePlane  template,
double  density,
double  threshold,
int  radius 
)
static

Find all correlation matches of the template in the image plane . If the number of results exceeds 32767, then the result list will be truncated at that number. The order of the results is left/top to right/bottom.

Parameters
planeimage plane in which to look for correlation matches
templatetemplate with which to look for correlation matches
densityscan density with which to look for correlation matches
thresholdminimum correlation for the results to be reported
radiusminimum distance between two positive results
Returns
the list of extracted results
Exceptions
ArgumentNullExceptionIf the Parent of plane or template ist null
ObjectDisposedExceptionIf the Parent of plane or template has already been disposed
ArgumentOutOfRangeExceptionIf the density or threshold exceeds the range [0...1].