CVB.Net 14.0
Norm Class Reference

Functions for calculating different norms over the gray values of an image. More...

## Static Public Member Functions

static double L1 (ImagePlane plane, ValueNormalization normalize)
Calculate and return the L1 norm (sum of absolute values) over all the pixels inside the plane . More...

static double L1 (ImagePlane plane, ValueNormalization normalize, Rect aoi)
Calculate and return the L1 norm (sum of absolute values) over all the pixels inside the plane . More...

static double L2 (ImagePlane plane, ValueNormalization normalize)
Calculate and return the L2 norm (euclidean norm) over the pixels inside the plane . More...

static double L2 (ImagePlane plane, ValueNormalization normalize, Rect aoi)
Calculate and return the L2 norm (euclidean norm) over the pixels inside the plane . More...

static double LInf (ImagePlane plane, ValueNormalization normalize)
Calculate and return the L infinity norm (maximum norm) over the pixels inside the plane . More...

static double LInf (ImagePlane plane, ValueNormalization normalize, Rect aoi)
Calculate and return the L infinity norm (maximum norm) over the pixels inside the plane . More...

## Detailed Description

Functions for calculating different norms over the gray values of an image.

## ◆ L1() [1/2]

 static double L1 ( ImagePlane plane, ValueNormalization normalize )
static

Calculate and return the L1 norm (sum of absolute values) over all the pixels inside the plane .

Parameters
 plane Plane to calculate the norm on. normalize Normalize results to [0...1] or not.
Returns
The calculated norm.
Exceptions
 ObjectDisposedException If plane has been disposed.

## ◆ L1() [2/2]

 static double L1 ( ImagePlane plane, ValueNormalization normalize, Rect aoi )
static

Calculate and return the L1 norm (sum of absolute values) over all the pixels inside the plane .

Parameters
 plane Plane to calculate the norm on. normalize Normalize results to [0...1] or not. aoi Area to calculate the norm in.
Returns
The calculated norm.
Exceptions
 ObjectDisposedException If plane has been disposed.

## ◆ L2() [1/2]

 static double L2 ( ImagePlane plane, ValueNormalization normalize )
static

Calculate and return the L2 norm (euclidean norm) over the pixels inside the plane .

Parameters
 plane Plane to calculate the norm on. normalize Normalize results to [0...1] or not.
Returns
The calculated norm.
Exceptions
 ObjectDisposedException If plane has been disposed.

## ◆ L2() [2/2]

 static double L2 ( ImagePlane plane, ValueNormalization normalize, Rect aoi )
static

Calculate and return the L2 norm (euclidean norm) over the pixels inside the plane .

Parameters
 plane Plane to calculate the norm on. aoi Area to calculate the norm in. normalize Normalize results to [0...1] or not.
Returns
The calculated norm.
Exceptions
 ObjectDisposedException If plane has been disposed.

## ◆ LInf() [1/2]

 static double LInf ( ImagePlane plane, ValueNormalization normalize )
static

Calculate and return the L infinity norm (maximum norm) over the pixels inside the plane .

Parameters
 plane Plane to calculate the norm on. normalize Normalize results to [0...1] or not.
Returns
The calculated norm.
Exceptions
 ObjectDisposedException If plane has been disposed.

## ◆ LInf() [2/2]

 static double LInf ( ImagePlane plane, ValueNormalization normalize, Rect aoi )
static

Calculate and return the L infinity norm (maximum norm) over the pixels inside the plane .

Parameters
 plane Plane to calculate the norm on. normalize Normalize results to [0...1] or not. aoi Area to calculate the norm in.
Returns
The calculated norm.
Exceptions
 ObjectDisposedException If plane has been disposed.