HALCON Reference Manual 10.0.2
Table of Contents / Legacy / Fourier Descriptor ClassesClassesClasses | | | Operators

move_contour_origT_move_contour_origmove_contour_origMoveContourOrigMoveContourOrig (Operator)

Name

move_contour_origT_move_contour_origmove_contour_origMoveContourOrigMoveContourOrig — Transformation of the origin into the centre of gravity.

Warning

move_contour_origmove_contour_origmove_contour_origMoveContourOrigMoveContourOrig is obsolete and is only provided for reasons of backward compatibility.

Signature

move_contour_orig( : : Rows, Columns : RowsMoved, ColumnsMoved)

Herror T_move_contour_orig(const Htuple Rows, const Htuple Columns, Htuple* RowsMoved, Htuple* ColumnsMoved)

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

void HOperatorSetX.MoveContourOrig(
[in] VARIANT Rows, [in] VARIANT Columns, [out] VARIANT* RowsMoved, [out] VARIANT* ColumnsMoved)

VARIANT HMiscX.MoveContourOrig(
[in] VARIANT Rows, [in] VARIANT Columns, [out] VARIANT* ColumnsMoved)

static void HOperatorSet.MoveContourOrig(HTuple rows, HTuple columns, out HTuple rowsMoved, out HTuple columnsMoved)

static void HMisc.MoveContourOrig(HTuple rows, HTuple columns, out HTuple rowsMoved, out HTuple columnsMoved)

Description

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

It should be noted that move_contour_origmove_contour_origmove_contour_origMoveContourOrigMoveContourOrig only returns useful results if the contour encloses a region in the plane. In particular, the contour must not intersect itself. This is particularly important if open contours are passed because they are closed automatically, which can produce a self-intersection. To test whether the contours intersect themselves, test_self_intersection_xldtest_self_intersection_xldtest_self_intersection_xldTestSelfIntersectionXldTestSelfIntersectionXld can be used.

Parallelization

Parameters

RowsRowsRowsRowsrows (input_control)  contour.y-array HTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong)

Row coordinates of the contour.

ColumnsColumnsColumnsColumnscolumns (input_control)  contour.x-array HTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong)

Column coordinates of the contour.

RowsMovedRowsMovedRowsMovedRowsMovedrowsMoved (output_control)  contour.y-array HTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong)

Row coordinates of the displaced contour.

ColumnsMovedColumnsMovedColumnsMovedColumnsMovedcolumnsMoved (output_control)  contour.x-array HTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong)

Column coordinates of the displaced contour.

Possible Predecessors

get_region_contourget_region_contourget_region_contourGetRegionContourGetRegionContour

Possible Successors

prep_contour_fourierprep_contour_fourierprep_contour_fourierPrepContourFourierPrepContourFourier

Module

Foundation


Table of Contents / Legacy / Fourier Descriptor ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH