HALCON Reference Manual 10.0.2
Table of Contents / Tools / Function ClassesClassesClasses | | | Operators

integrate_funct_1dT_integrate_funct_1dintegrate_funct_1dIntegrateFunct1dIntegrateFunct1d (Operator)

Name

integrate_funct_1dT_integrate_funct_1dintegrate_funct_1dIntegrateFunct1dIntegrateFunct1d — Compute the positive and negative areas of a function.

Signature

integrate_funct_1d( : : Function : Positive, Negative)

Herror T_integrate_funct_1d(const Htuple Function, Htuple* Positive, Htuple* Negative)

Herror integrate_funct_1d(const HTuple& Function, HTuple* Positive, HTuple* Negative)

double HFunction1D::IntegrateFunct1d(HTuple* Negative) const

void HOperatorSetX.IntegrateFunct1d(
[in] VARIANT Function, [out] VARIANT* Positive, [out] VARIANT* Negative)

double HFunction1DX.IntegrateFunct1d([out] VARIANT* Negative)

static void HOperatorSet.IntegrateFunct1d(HTuple function, out HTuple positive, out HTuple negative)

double HFunction1D.IntegrateFunct1d(out HTuple negative)

Description

integrate_funct_1dintegrate_funct_1dintegrate_funct_1dIntegrateFunct1dIntegrateFunct1d integrates the function FunctionFunctionFunctionFunctionfunction (see create_funct_1d_arraycreate_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArray and create_funct_1d_pairscreate_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairs) and returns the integral of the positive and negative parts of the function in PositivePositivePositivePositivepositive and NegativeNegativeNegativeNegativenegative, respectively. Hence, the integral of the function is the difference PositivePositivePositivePositivepositive - NegativeNegativeNegativeNegativenegative. The integration is done on the interval on which the function is defined. For the integration, the function is interpolated linearly.

Parallelization

Parameters

FunctionFunctionFunctionFunctionfunction (input_control)  function_1d-array HFunction1D, HTupleHFunction1D, HTupleHFunction1DX, VARIANTHtuple (real) (double) (double) (double) (double)

Input function.

PositivePositivePositivePositivepositive (output_control)  number HTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double)

Area under the positive part of the function.

NegativeNegativeNegativeNegativenegative (output_control)  number-array HTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double)

Area under the negative part of the function.

Possible Predecessors

create_funct_1d_pairscreate_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairs, create_funct_1d_arraycreate_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArray

See also

create_funct_1d_arraycreate_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArray, create_funct_1d_pairscreate_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairs

Module

Foundation


Table of Contents / Tools / Function ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH