Namespace for collection of functions for calculating different norms over the gray values of an image. More...
Enumerations | |
enum class | ValueNormalization { Unnormalized , Normalized } |
Available normalization modes for norm calculations. More... | |
Functions | |
double | NormL1 (const ImagePlane &plane, ValueNormalization normalize, Rect< int > aoi) |
Calculate and return the L1 norm (sum of absolute values) over all the pixels inside the plane. More... | |
double | NormL1 (const ImagePlane &plane, ValueNormalization normalize) |
Calculate and return the L1 norm (sum of absolute values) over all the pixels inside the plane. More... | |
double | NormL2 (const ImagePlane &plane, ValueNormalization normalize, Rect< int > aoi) |
Calculate and return the L2 norm (euclidean norm) over the pixels inside the plane. More... | |
double | NormL2 (const ImagePlane &plane, ValueNormalization normalize) |
Calculate and return the L2 norm (euclidean norm) over the pixels inside the plane. More... | |
double | NormLInf (const ImagePlane &plane, ValueNormalization normalize, Rect< int > aoi) |
Calculate and return the L infinity norm (maximum norm) over the pixels inside the plane. More... | |
double | NormLInf (const ImagePlane &plane, ValueNormalization normalize) |
Calculate and return the L infinity norm (maximum norm) over the pixels inside the plane. More... | |
Namespace for collection of functions for calculating different norms over the gray values of an image.
|
strong |
|
inline |
Calculate and return the L1 norm (sum of absolute values) over all the pixels inside the plane.
[in] | plane | Plane to calculate the norm on. |
[in] | normalize | Normalize results to [0...1] or not. |
Any | exception derived from std::exception including CvbException. |
|
inline |
Calculate and return the L1 norm (sum of absolute values) over all the pixels inside the plane.
[in] | plane | Plane to calculate the norm on. |
[in] | normalize | Normalize results to [0...1] or not. |
[in] | aoi | Area to calculate the norm in. |
Any | exception derived from std::exception including CvbException. |
|
inline |
Calculate and return the L2 norm (euclidean norm) over the pixels inside the plane.
[in] | plane | Plane to calculate the norm on. |
[in] | normalize | Normalize results to [0...1] or not. |
Any | exception derived from std::exception including CvbException. |
|
inline |
Calculate and return the L2 norm (euclidean norm) over the pixels inside the plane.
[in] | plane | Plane to calculate the norm on. |
[in] | normalize | Normalize results to [0...1] or not. |
[in] | aoi | Area to calculate the norm in. |
Any | exception derived from std::exception including CvbException. |
|
inline |
Calculate and return the L infinity norm (maximum norm) over the pixels inside the plane.
[in] | plane | Plane to calculate the norm on. |
[in] | normalize | Normalize results to [0...1] or not. |
Any | exception derived from std::exception including CvbException. |
|
inline |
Calculate and return the L infinity norm (maximum norm) over the pixels inside the plane.
[in] | plane | Plane to calculate the norm on. |
[in] | normalize | Normalize results to [0...1] or not. |
[in] | aoi | Area to calculate the norm in. |
Any | exception derived from std::exception including CvbException. |