ClassesClassesClassesClasses | | | | Operators

prep_contour_fourierT_prep_contour_fourierPrepContourFourierprep_contour_fourierPrepContourFourierPrepContourFourier (Operator)

Name

prep_contour_fourierT_prep_contour_fourierPrepContourFourierprep_contour_fourierPrepContourFourierPrepContourFourier — Parameterize the passed contour.

Warning

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

Signature

prep_contour_fourier( : : Rows, Columns, TransMode : ParContour)

Herror T_prep_contour_fourier(const Htuple Rows, const Htuple Columns, const Htuple TransMode, Htuple* ParContour)

Herror prep_contour_fourier(const HTuple& Rows, const HTuple& Columns, const HTuple& TransMode, HTuple* ParContour)

void PrepContourFourier(const HTuple& Rows, const HTuple& Columns, const HTuple& TransMode, HTuple* ParContour)

static HTuple HMisc::PrepContourFourier(const HTuple& Rows, const HTuple& Columns, const HString& TransMode)

static HTuple HMisc::PrepContourFourier(const HTuple& Rows, const HTuple& Columns, const char* TransMode)

void HOperatorSetX.PrepContourFourier(
[in] VARIANT Rows, [in] VARIANT Columns, [in] VARIANT TransMode, [out] VARIANT* ParContour)

VARIANT HMiscX.PrepContourFourier(
[in] VARIANT Rows, [in] VARIANT Columns, [in] BSTR TransMode)

static void HOperatorSet.PrepContourFourier(HTuple rows, HTuple columns, HTuple transMode, out HTuple parContour)

static HTuple HMisc.PrepContourFourier(HTuple rows, HTuple columns, string transMode)

Description

The operator prep_contour_fourierprep_contour_fourierPrepContourFourierprep_contour_fourierPrepContourFourierPrepContourFourier parameterizes the transmitted contour in order to prepare it for the one dimensional Fourier transformation. Hereby the contour must be available in closed form. Three parameter functions are available for the control parameter TransModeTransModeTransModeTransModeTransModetransMode:

arc:

Parameterization by the radian.

signed_area:

Parameterization by the signed area.

unsigned_area:

Parameterization by the absolute area.

Please note that in contrast to the signed or unsigned area the affine mapping of the radian will not be transformed linearly.

Parallelization

Parameters

RowsRowsRowsRowsRowsrows (input_control)  contour.y-array HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Row indices of the contour.

ColumnsColumnsColumnsColumnsColumnscolumns (input_control)  contour.x-array HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Column indices of the contour.

TransModeTransModeTransModeTransModeTransModetransMode (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Kind of parameterization.

Default value: 'signed_area' "signed_area" "signed_area" "signed_area" "signed_area" "signed_area"

Suggested values: 'arc'"arc""arc""arc""arc""arc", 'unsigned_area'"unsigned_area""unsigned_area""unsigned_area""unsigned_area""unsigned_area", 'signed_area'"signed_area""signed_area""signed_area""signed_area""signed_area"

ParContourParContourParContourParContourParContourparContour (output_control)  real-array HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

Parameterized contour.

Example (C++ (HALCON 5.0-10.0))

get_region_contour(single,&row,&col);
move_contour_orig(row,col,&trow,&tcol);
prep_contour_fourier(trow,tcol,"unsigned_area",&param_scale);
fourier_1dim(trow,tcol,param_scale,&frow,&fcol);

Module

Foundation


ClassesClassesClassesClasses | | | | Operators