Namespace for collection of miscellaneous image analysis functions. More...
Functions | |
void | LocalEigenValuesAndVectors (const ImagePlane &plane, Filter::FixedFilterSize derivatorSize, Filter::FixedFilterSize blurSize, std::unique_ptr< Image > &lambda1, std::unique_ptr< Image > &lambda2, std::unique_ptr< Image > &eigenValue1x, std::unique_ptr< Image > &eigenValue1y, std::unique_ptr< Image > &eigenValue2x, std::unique_ptr< Image > &eigenValue2y) |
Calculate the local eigenvalues and eigenvectors of the Hesse matrix applied to the pixels of the input image. More... | |
std::unique_ptr< Image > | LocalMinEigenValues (const ImagePlane &plane, Filter::FixedFilterSize derivatorSize, Filter::FixedFilterSize blurSize) |
Calculate the minimum local eigenvalues of the Hesse matrix applied to the pixels of the input image. More... | |
double | WangQuality (const ImagePlane &plane1, const ImagePlane &plane2) |
Calculate the Wang quality for two images. More... | |
Namespace for collection of miscellaneous image analysis functions.
|
inline |
Calculate the local eigenvalues and eigenvectors of the Hesse matrix applied to the pixels of the input image.
[in] | plane | Image plane to work on. |
[in] | derivatorSize | Size of the derivation operator (Sobel, valid inputs are Filter::FixedFilterSize::Kernel3x3 and Filter::FixedFilterSize::Kernel5x5). |
[in] | blurSize | Size of the blurring operator (valid inputs are Filter::FixedFilterSize::Kernel3x3 and Filter::FixedFilterSize::Kernel5x5). |
[out] | lambda1 | First eigenvalue for each pixel (output). |
[out] | lambda2 | Second eigenvalue for each pixel (output). |
[out] | eigenValue1x | X-component of the first eigenvector (output). |
[out] | eigenValue1y | Y-component of the first eigenvector (output). |
[out] | eigenValue2x | X-component of the second eigenvector (output). |
[out] | eigenValue2y | Y-component of the second eigenvector (output). |
Any | exception derived from std::exception including CvbException. |
|
inline |
Calculate the minimum local eigenvalues of the Hesse matrix applied to the pixels of the input image.
[in] | plane | Image plane to work on. |
[in] | derivatorSize | Size of the derivation operator (Sobel, valid inputs are Filter::FixedFilterSize::Kernel3x3 and Filter::FixedFilterSize::Kernel5x5). |
[in] | blurSize | Size of the blurring operator (valid inputs are Filter::FixedFilterSize::Kernel3x3 and Filter::FixedFilterSize::Kernel5x5). |
Any | exception derived from std::exception including CvbException. |
This approach helps identify locations inside the image that contain curved edges.
|
inline |
Calculate the Wang quality for two images.
[in] | plane1 | Image plane 1 on which to calculate. |
[in] | plane2 | Image plane 2 on which to calculate. |
Any | exception derived from std::exception including CvbException. |
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).