CVB.Net 14.0
HistogramAnalyzer Class Reference

Functionality for analyzing the Histogram of images (previously found in the LightMeter tool). More...

Static Public Member Functions

static Histogram Create (ImagePlane plane)
 Create a histogram for the whole plane . More...
 
static Histogram Create (ImagePlane plane, double density)
 Create a histogram for the whole plane . More...
 
static Histogram Create (ImagePlane plane, Rect aoi)
 Creates a histogram for the aoi in the given plane . More...
 
static Histogram Create (ImagePlane plane, Rect aoi, double density)
 Creates a histogram for the aoi in the given plane . More...
 
static Histogram Create (ImagePlane plane, Area2D aoi)
 Creates a histogram for the aoi in the given plane . More...
 
static Histogram Create (ImagePlane plane, Area2D aoi, double density)
 Creates a histogram for the aoi in the given plane . More...
 
static Histogram[] Create (Image image)
 Creates a histogram for each plane of the whole image . More...
 
static Histogram[] Create (Image image, double density)
 Creates a histogram for each plane of the whole image . More...
 
static Histogram[] Create (Image image, Rect aoi)
 Creates a histogram for each plane of the aoi in the given image . More...
 
static Histogram[] Create (Image image, Rect aoi, double density)
 Creates a histogram for each plane of the aoi in the given image . More...
 
static Histogram[] Create (Image image, Area2D aoi)
 Creates a histogram for each plane of the aoi in the given image . More...
 
static Histogram[] Create (Image image, Area2D aoi, double density)
 Creates a histogram for each plane of the aoi in the given image . More...
 

Detailed Description

Functionality for analyzing the Histogram of images (previously found in the LightMeter tool).

Member Function Documentation

◆ Create() [1/12]

static Histogram[] Create ( Image  image)
static

Creates a histogram for each plane of the whole image .

Parameters
imageImage to create histograms for.
Returns
Array containing the histograms for each ImagePlane.
Exceptions
ArgumentNullExceptionIf image is null.
ObjectDisposedExceptionIf image has been disposed.

◆ Create() [2/12]

static Histogram[] Create ( Image  image,
Area2D  aoi 
)
static

Creates a histogram for each plane of the aoi in the given image .

Using the Area2D as an overlay uses the CoordinateSystemType.ImageCoordinates.

Parameters
imageImage to create histograms for.
aoiArea of interest in CoordinateSystemType.ImageCoordinates.
Returns
Array containing the histograms for each ImagePlane.
Exceptions
ArgumentNullExceptionIf image is null.
ObjectDisposedExceptionIf image has been disposed.

◆ Create() [3/12]

static Histogram[] Create ( Image  image,
Area2D  aoi,
double  density 
)
static

Creates a histogram for each plane of the aoi in the given image .

Using the Area2D as an overlay uses the CoordinateSystemType.ImageCoordinates.

Parameters
imageImage to create histograms for.
aoiArea of interest in CoordinateSystemType.ImageCoordinates.
densityPercentage of pixels to process where 0 is 0% and 1.0 is 100%.
Returns
Array containing the histograms for each ImagePlane.
Exceptions
ArgumentNullExceptionIf image is null.
ObjectDisposedExceptionIf image has been disposed.
ArgumentOutOfRangeExceptionIf density is out of range.

◆ Create() [4/12]

static Histogram[] Create ( Image  image,
double  density 
)
static

Creates a histogram for each plane of the whole image .

Parameters
imageImage to create histograms for.
densityPercentage of pixels to process where 0 is 0% and 1.0 is 100%.
Returns
Array containing the histograms for each ImagePlane.
Exceptions
ArgumentNullExceptionIf image is null.
ObjectDisposedExceptionIf image has been disposed.
ArgumentOutOfRangeExceptionIf density is out of range.

◆ Create() [5/12]

static Histogram[] Create ( Image  image,
Rect  aoi 
)
static

Creates a histogram for each plane of the aoi in the given image .

Using the Rect as an overlay uses the CoordinateSystemType.PixelCoordinates.

Parameters
imageImage to create histograms for.
aoiArea of interest in CoordinateSystemType.PixelCoordinates.
Returns
Array containing the histograms for each ImagePlane.
Exceptions
ArgumentNullExceptionIf image is null.
ObjectDisposedExceptionIf image has been disposed.

◆ Create() [6/12]

static Histogram[] Create ( Image  image,
Rect  aoi,
double  density 
)
static

Creates a histogram for each plane of the aoi in the given image .

Using the Rect as an overlay uses the CoordinateSystemType.PixelCoordinates.

Parameters
imageImage to create histograms for.
aoiArea of interest in CoordinateSystemType.PixelCoordinates.
densityPercentage of pixels to process where 0 is 0% and 1.0 is 100%.
Returns
Array containing the histograms for each ImagePlane.
Exceptions
ArgumentNullExceptionIf image is null.
ObjectDisposedExceptionIf image has been disposed.
ArgumentOutOfRangeExceptionIf density is out of range.

◆ Create() [7/12]

static Histogram Create ( ImagePlane  plane)
static

Create a histogram for the whole plane .

Parameters
planeImage plane to create histogram for.
Returns
Histogram for the given plane .
Exceptions
ObjectDisposedExceptionIf plane has been disposed.

◆ Create() [8/12]

static Histogram Create ( ImagePlane  plane,
Area2D  aoi 
)
static

Creates a histogram for the aoi in the given plane .

Using the Area2D as an overlay uses the CoordinateSystemType.ImageCoordinates.

Parameters
planeImage plane to create histogram for.
aoiArea of interest in CoordinateSystemType.ImageCoordinates.
Returns
Histogram for the given plane .
Exceptions
ObjectDisposedExceptionIf plane has been disposed.

◆ Create() [9/12]

static Histogram Create ( ImagePlane  plane,
Area2D  aoi,
double  density 
)
static

Creates a histogram for the aoi in the given plane .

Using the Area2D as an overlay uses the CoordinateSystemType.ImageCoordinates.

Parameters
planeImage plane to create histogram for.
aoiArea of interest in CoordinateSystemType.ImageCoordinates.
densityPercentage of pixels to process where 0 is 0% and 1.0 is 100%.
Returns
Histogram for the given plane .
Exceptions
ObjectDisposedExceptionIf plane has been disposed.
ArgumentOutOfRangeExceptionIf density is out of range.

◆ Create() [10/12]

static Histogram Create ( ImagePlane  plane,
double  density 
)
static

Create a histogram for the whole plane .

Parameters
planeImage plane to create histogram for.
densityPercentage of pixels to process where 0 is 0% and 1.0 is 100%.
Returns
Histogram for the given plane .
Exceptions
ObjectDisposedExceptionIf plane has been disposed.
ArgumentOutOfRangeExceptionIf density is out of range.

◆ Create() [11/12]

static Histogram Create ( ImagePlane  plane,
Rect  aoi 
)
static

Creates a histogram for the aoi in the given plane .

Using the Rect as an overlay uses the CoordinateSystemType.PixelCoordinates.

Parameters
planeImage plane to create histogram for.
aoiArea of interest in CoordinateSystemType.PixelCoordinates.
Returns
Histogram for the given plane .
Exceptions
ObjectDisposedExceptionIf plane has been disposed.

◆ Create() [12/12]

static Histogram Create ( ImagePlane  plane,
Rect  aoi,
double  density 
)
static

Creates a histogram for the aoi in the given plane .

Using the Rect as an overlay uses the CoordinateSystemType.PixelCoordinates.

Parameters
planeImage plane to create histogram for.
aoiArea of interest in CoordinateSystemType.PixelCoordinates.
densityPercentage of pixels to process where 0 is 0% and 1.0 is 100%.
Returns
Histogram for the given plane .
Exceptions
ObjectDisposedExceptionIf plane has been disposed.
ArgumentOutOfRangeExceptionIf density is out of range.