CVB.Net 14.0
Analysis Class Reference

Collection of miscellaneous image analysis functions. More...

Static Public Member Functions

static void LocalEigenValuesAndVectors (ImagePlane plane, FixedFilterSize derivatorSize, FixedFilterSize blurSize, out Image lambda1, out Image lambda2, out Image eigenValue1x, out Image eigenValue1y, out Image eigenValue2x, out Image eigenValue2y)
 Calculate the local eigenvalues and eigenvectors of the Hesse matrix applied to the pixels of the input image. More...
 
static Image LocalMinEigenValues (ImagePlane plane, FixedFilterSize derivatorSize, FixedFilterSize blurSize)
 Calculate the minimum local eigenvalues of the Hesse matrix applied to the pixels of the input image. This approach helps identify locations inside the image that contain curved edges. More...
 
static double WangQuality (ImagePlane plane1, ImagePlane plane2)
 Calculate the Wang quality for two images. The Wang Quality is a measure of similarity between two images as proposed in a publication by Z. Wang and A. C. Bovik (IEEE Signal Processing Letters, vol. 9, no. 3, pp. 81-84, March 2002). More...
 

Detailed Description

Collection of miscellaneous image analysis functions.

Member Function Documentation

◆ LocalEigenValuesAndVectors()

static void LocalEigenValuesAndVectors ( ImagePlane  plane,
FixedFilterSize  derivatorSize,
FixedFilterSize  blurSize,
out Image  lambda1,
out Image  lambda2,
out Image  eigenValue1x,
out Image  eigenValue1y,
out Image  eigenValue2x,
out Image  eigenValue2y 
)
static

Calculate the local eigenvalues and eigenvectors of the Hesse matrix applied to the pixels of the input image.

Parameters
planeimage plane to work on
derivatorSizesize of the derivation operator (Sobel)
  • valid inputs are 3x3 and 5x5
blurSizesize fo the blurring operator (valid inputs are 3x3 and 5x5)
lambda1first eigenvalue for each pixel
lambda2second eigenvalue for each pixel
eigenValue1xx-component of the first eigen vector
eigenValue1yy-component of the first eigen vector
eigenValue2xx-component of the second eigen vector
eigenValue2yy-component of the second eigen vector
Exceptions
ObjectDisposedExceptionIf the input plane has already been disposed

◆ LocalMinEigenValues()

static Image LocalMinEigenValues ( ImagePlane  plane,
FixedFilterSize  derivatorSize,
FixedFilterSize  blurSize 
)
static

Calculate the minimum local eigenvalues of the Hesse matrix applied to the pixels of the input image. This approach helps identify locations inside the image that contain curved edges.

Parameters
planeimage plane to work on
derivatorSizesize of the derivation operator (Sobel)
  • valid inputs are 3x3 and 5x5
blurSizesize fo the blurring operator (valid inputs are 3x3 and 5x5)
Returns
image with the minimal local eigenvalues
Exceptions
ObjectDisposedExceptionIf the input plane has already been disposed

◆ WangQuality()

static double WangQuality ( ImagePlane  plane1,
ImagePlane  plane2 
)
static

Calculate the Wang quality for two images. The Wang Quality is a measure of similarity between two images as proposed in a publication by Z. Wang and A. C. Bovik (IEEE Signal Processing Letters, vol. 9, no. 3, pp. 81-84, March 2002).

Parameters
plane1plane 1 on which to calculate
plane2plane 2 on which to calculate
Returns
the quality index (ranging from -1 to 1)
Exceptions
ObjectDisposedExceptionIf the input plane1 /plane2 have already been disposed.