PRTools contents

PRTools manual

im_mean

IM_MEAN

Computation of the centers of gravity of images

    B = IM_MEAN(A)
    B = A*IM_MEAN

Input
 A Dataset with object images dataset (possibly multi-band)

Output
 B Dataset with centers-of-gravity replacing images  (possibly multi-band). The first component is always measured  in the horizontal direction (X).

Description

Computes the centers of gravity of all images stored in A.  This center is computed, relative to the top-left corner of the image.

See also

datasets, datafiles,

PRTools contents

PRTools manual