PRTools contents

PRTools manual

im_center

IM_CENTER

Shift all binary images in dataset: center to center of gravity

    B = IM_CENTER(A)
    B = A*IM_CENTER

The objects in the binary images are shifted such that their centers of  gravities are in the image center.

    B = IM_CENTER(A,N)

In all directions N rows and columns are added after shifting.

See also

datasets, datafiles,

PRTools contents

PRTools manual