This paper presents recursive algorithms for fast computation of Legen
dre and Zernike moments of a grey-level image intensity distribution.
For a binary image, a contour integration method is developed for the
evaluation of Legendre moments using only the boundary information. A
method for recursive calculation of Zernike polynomial coefficients is
also given. A square-to-circular image transformation scheme is intro
duced to minimize the computation involved in Zernike moment functions
. The recursive formulae can also be used in inverse moment transforms
to reconstruct the original image from moments. The mathematical fram
ework of the algorithms is given in detail, and illustrated with binar
y and grey-level images.