PANDORE Version 6 GREYC-IMAGE

psquareintegralimage



Calculates the square integral image.



Synopsis

psquareintegralimage [-m mask] [im_in|-] [col_out|-]

Description

The operator psquareintegralimage calculates the square integral image of the input image im_in. The square integral image is a mean to calcule the variance of an inner window of the input image.

The integral image is defined as follows:

   output(x,y) = SUM(input(i,j)*input(i,j)) where i in [0..x] and j in [0..y].

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Calculates the square integral image of tangram.pan

   psquareintegralimage tangram.pan col.pan

See also

Arithmetic

C++ prototype

Errc PSquareIntegralImage( const Img2duc &im_in, Collection &col_out );

Author: Pierre Buyssens