Herror ::move_contour_orig (
    const HTuple &Rows,
    const HTuple &Columns,
    HTuple *RowsMoved,
    HTuple *ColumnsMoved
)

Transformation of the origin into the centre of gravity.

The operator ::move_contour_orig relocates the input contour so that the origin lies in the centre of gravity.


Parameters

Rows (input_control)
contour.y-array -> HTuple.long
Row coordinates of the contour.

Columns (input_control)
contour.x-array -> HTuple.long
Column coordinates of the contour.

RowsMoved (output_control)
contour.y-array -> HTuple.long *
Row coordinates of the displaced contour.

ColumnsMoved (output_control)
contour.x-array -> HTuple.long *
Column coordinates of the displaced contour.


Possible Predecessors

::get_region_contour


Possible Successors

::prep_contour_fourier


Module

Fourier descriptors



Copyright © 1996-2002 MVTec Software GmbH