bob.ip.integral

bob.ip.integral((object)src, (object)dst[, (bool)add_zero_border=False]) → None :

Compute the integral image of a 2D blitz array (image). It is the responsibility of the user to select an appropriate type for the numpy array which will contain the integral image. By default, src and dst should have the same size. If add_zero_border is set to true, then dst should be one pixel larger than src in each dimension.

integral( (object)src, (object)dst, (object)sqr [, (bool)add_zero_border=False]) -> None :
Compute the integral image and the integral square image of a 2D blitz array (image). It is the responsibility of the user to select an appropriate type for the numpy array which will contain the integral image and the integral square image. By default, src, dst and sqr should have the same size. If add_zero_border is set to true, then dst and sqr should be one pixel larger than src in each dimension.