A collection functions available in the Common Vision Blox Image Manager for analyzing image content.
More...
|
static int[] | Histogram (this ImagePlane plane) |
| Gather and return the histogram from an 8 bits per pixel unsigned image plane . More...
|
|
static int[] | Histogram (this ImagePlane plane, double density) |
| Gather and return the histogram from an 8 bits per pixel unsigned image plane . More...
|
|
static int[] | Histogram (this ImagePlane plane, Area2D aoi) |
| Gather and return the histogram from an 8 bits per pixel unsigned image plane . More...
|
|
static int[] | Histogram (this ImagePlane plane, Area2D aoi, double density) |
| Gather and return the histogram from an 8 bits per pixel unsigned image plane . More...
|
|
static LocalMaximum[] | FindLocalMaxima (this ImagePlane plane, int locality, double threshold, Rect aoi) |
| Find local maxima in the input image plane . More...
|
|
static LocalMaximum[] | FindLocalMaxima (this ImagePlane plane, int locality, double threshold) |
| Find local maxima in the input image plane . More...
|
|
static LocalMaximum[] | FindLocalMaxima (this ImagePlane plane, int locality, double threshold, Rect aoi, SubPixelMode mode, Neighborhood radius) |
| Find sub pixel accurate local maxima in the input image plane . Sub pixel accuracy is achieved by assuming a Gaussian or parabolic gray value distribution around a local maximum that can be fitted into the image data. More...
|
|
static LocalMaximum[] | FindLocalMaxima (this ImagePlane plane, int locality, double threshold, SubPixelMode mode, Neighborhood radius) |
| Find sub pixel accurate local maxima in the input image plane . Sub pixel accuracy is achieved by assuming a Gaussian or parabolic gray value distribution around a local maximum that can be fitted into the image data. More...
|
|
A collection functions available in the Common Vision Blox Image Manager for analyzing image content.
◆ FindLocalMaxima() [1/4]
Find local maxima in the input image plane .
- Parameters
-
plane | Image plane in which to look for maxima |
locality | Minimum distance between two valid maxima; if two maxima fall within this distance (measured using the L1 norm), the one with the lower gray value will be removed from the result list |
threshold | Minimum gray value a local maximum must have for being reported. Note that the minimal possible value for the image's pixel type is never eligible to be a local maximum (e.g. if the image uses 8 bits per pixel unsigned, pixels with value 0 will never be a local maximum even if the threshold has been set to 0. |
- Returns
- List of the local maxima that have been found
- Exceptions
-
ObjectDisposedException | If the plane to work on has already been disposed |
◆ FindLocalMaxima() [2/4]
Find local maxima in the input image plane .
- Parameters
-
plane | Image plane in which to look for maxima |
aoi | Region of interest in which to look for maxima |
locality | Minimum distance between two valid maxima; if two maxima fall within this distance (measured using the L1 norm), the one with the lower gray value will be removed from the result list |
threshold | Minimum gray value a local maximum must have for being reported. Note that the minimal possible value for the image's pixel type is never eligible to be a local maximum (e.g. if the image uses 8 bits per pixel unsigned, pixels with value 0 will never be a local maximum even if the threshold has been set to 0. |
- Returns
- List of the local maxima that have been found
- Exceptions
-
ObjectDisposedException | If the plane to work on has already been disposed |
◆ FindLocalMaxima() [3/4]
Find sub pixel accurate local maxima in the input image plane . Sub pixel accuracy is achieved by assuming a Gaussian or parabolic gray value distribution around a local maximum that can be fitted into the image data.
- Parameters
-
plane | Image plane in which to look for maxima |
aoi | Region of interest in which to look for maxima |
locality | Minimum distance between two valid maxima; if two maxima fall within this distance (measured using the L1 norm), the one with the lower gray value will be removed from the result list |
threshold | Minimum gray value a local maximum must have for being reported. Note that the minimal possible value for the image's pixel type is never eligible to be a local maximum (e.g. if the image uses 8 bits per pixel unsigned, pixels with value 0 will never be a local maximum even if the threshold has been set to 0. |
mode | Mode to be used for determining sub pixel accuracy (see description of SubPixelMode values) |
radius | Neighborhood to take account in the sub pixel calculation (see description of Neighborhood values) |
- Returns
- List of the local maxima that have been found
- Exceptions
-
◆ FindLocalMaxima() [4/4]
Find sub pixel accurate local maxima in the input image plane . Sub pixel accuracy is achieved by assuming a Gaussian or parabolic gray value distribution around a local maximum that can be fitted into the image data.
- Parameters
-
plane | Image plane in which to look for maxima |
locality | Minimum distance between two valid maxima; if two maxima fall within this distance (measured using the L1 norm), the one with the lower gray value will be removed from the result list |
threshold | Minimum gray value a local maximum must have for being reported. Note that the minimal possible value for the image's pixel type is never eligible to be a local maximum (e.g. if the image uses 8 bits per pixel unsigned, pixels with value 0 will never be a local maximum even if the threshold has been set to 0. |
mode | Mode to be used for determining sub pixel accuracy (see description of SubPixelMode values) |
radius | Neighborhood to take account in the sub pixel calculation (see description of Neighborhood values) |
- Returns
- List of the local maxima that have been found
- Exceptions
-
ArgumentNullException | If the Parent of plane is null |
ObjectDisposedException | If the plane to work on has already been disposed |
InvalidOperationException | when trying to combine SubPixelMode.ParabolicFast with a neighborhood other than Neighborhood.Use3x3 |
◆ Histogram() [1/4]
Gather and return the histogram from an 8 bits per pixel unsigned image plane .
- Parameters
-
plane | Plane to gather the histogram from. |
- Returns
- Histogram as an array of 256 integer values
- Exceptions
-
ObjectDisposedException | If the Parent of plane has already been disposed |
CvbException | when calling this method on an image plane of inappropriate data type |
◆ Histogram() [2/4]
Gather and return the histogram from an 8 bits per pixel unsigned image plane .
- Parameters
-
plane | Plane to gather the histogram from |
aoi | Area in which to gather the histogram |
- Returns
- Histogram as an array of 256 integer values
- Exceptions
-
ArgumentNullException | If the Parent of plane is null |
ObjectDisposedException | If the Parent of plane has already been disposed |
CvbException | when calling this method on an image plane of inappropriate data type |
◆ Histogram() [3/4]
Gather and return the histogram from an 8 bits per pixel unsigned image plane .
- Parameters
-
plane | Plane to gather the histogram from |
density | Scan density to gather the histogram with; must be in the range [0...1]; lower densities result in higher processing speed, but will also yield histograms which are notably jagged due to the poor statistics |
aoi | Area in which to gather the histogram |
- Returns
- Histogram as an array of 256 integer values
- Exceptions
-
ArgumentNullException | If the Parent of plane is null |
ObjectDisposedException | If the Parent of plane has already been disposed |
ArgumentOutOfRangeException | If the density parameter exceeds the range [0...1] |
CvbException | when calling this method on an image plane of inappropriate data type |
◆ Histogram() [4/4]
static int[] Histogram |
( |
this ImagePlane |
plane, |
|
|
double |
density |
|
) |
| |
|
static |
Gather and return the histogram from an 8 bits per pixel unsigned image plane .
- Parameters
-
plane | Plane to gather the histogram from |
density | Scan density to generate the histogram. It must be in the range [0...1]. Lower densities result in higher processing speed, but will also yield histograms, which are notably jagged due to the poor statistics. |
- Returns
- Histogram as an array of 256 integer values
- Exceptions
-
ObjectDisposedException | If the Parent of plane has already been disposed |
CvbException | when calling this method on an image plane of inappropriate data type |