Classes
contrib/tbl/vipl/vipl_moment.h File Reference

computation of n-th order moment More...

#include <vipl/filter/vipl_filter_2d.h>

Go to the source code of this file.

Classes

class  vipl_moment< ImgIn, ImgOut, DataIn, DataOut, PixelItr >
 computation of n-th order moment. More...

Detailed Description

computation of n-th order moment

This image processing class is implemented using the vipl filters, which means that it can be used with any image class (IUE or not, TargetJr or not, vil or vil1 or not) of any pixel data type.

The n-th order moment operation replaces a pixel with the expected value of x^n of its surrounding pixels, in a certain neighbourhood. Here the neighbourhood is an arbitrary rectangular mask, the height and width of which are passed to the constructor.

A fast computation method is used which needs only seven + or - operations per pixel (except for initialization of first row and column) because it uses computed values of previous pixels

Author:
Maarten Vergauwen, K.U.Leuven (ESAT/PSI)
Date:
21 September 1999.
   Modifications:
     Peter Vanroose, Aug.2000 - adapted to vxl
   

Definition in file vipl_moment.h.