match_funct_1d_transT_match_funct_1d_transMatchFunct1dTransMatchFunct1dTrans (Operator)

Name

match_funct_1d_transT_match_funct_1d_transMatchFunct1dTransMatchFunct1dTrans — Berechnung der Transformationsparameter zwischen zwei Funktionen.

Signatur

match_funct_1d_trans( : : Function1, Function2, Border, ParamsConst, UseParams : Params, ChiSquare, Covar)

Herror T_match_funct_1d_trans(const Htuple Function1, const Htuple Function2, const Htuple Border, const Htuple ParamsConst, const Htuple UseParams, Htuple* Params, Htuple* ChiSquare, Htuple* Covar)

void MatchFunct1dTrans(const HTuple& Function1, const HTuple& Function2, const HTuple& Border, const HTuple& ParamsConst, const HTuple& UseParams, HTuple* Params, HTuple* ChiSquare, HTuple* Covar)

HTuple HFunction1D::MatchFunct1dTrans(const HFunction1D& Function2, const HString& Border, const HTuple& ParamsConst, const HTuple& UseParams, double* ChiSquare, HTuple* Covar) const

HTuple HFunction1D::MatchFunct1dTrans(const HFunction1D& Function2, const char* Border, const HTuple& ParamsConst, const HTuple& UseParams, double* ChiSquare, HTuple* Covar) const

HTuple HFunction1D::MatchFunct1dTrans(const HFunction1D& Function2, const wchar_t* Border, const HTuple& ParamsConst, const HTuple& UseParams, double* ChiSquare, HTuple* Covar) const   (Nur Windows)

static void HOperatorSet.MatchFunct1dTrans(HTuple function1, HTuple function2, HTuple border, HTuple paramsConst, HTuple useParams, out HTuple paramsVal, out HTuple chiSquare, out HTuple covar)

HTuple HFunction1D.MatchFunct1dTrans(HFunction1D function2, string border, HTuple paramsConst, HTuple useParams, out double chiSquare, out HTuple covar)

Beschreibung

match_funct_1d_transmatch_funct_1d_transMatchFunct1dTransMatchFunct1dTransMatchFunct1dTrans berechnet die Transformationsparameter zwischen zwei Funktionen, die als die Tupel Function1Function1Function1Function1function1 und Function2Function2Function2Function2function2 übergeben werden (siehe create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArray und create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairsCreateFunct1dPairs). Es wird folgendes Modell der Transformation zwischen den zwei Funktionen verwendet: Die Transformationsparameter werden durch eine Ausgleichsrechnung berechnet, indem die folgende Funktion minimiert wird: Dabei werden die Funktionswerte von linear interpoliert. Der Parameter BorderBorderBorderBorderborder entscheidet, welchen Wert die Funktion Function2Function2Function2Function2function2 außerhalb des gültigen Bereichs hat. Für BorderBorderBorderBorderborder='zero'"zero""zero""zero""zero" wird der Wert auf 0 gesetzt, für BorderBorderBorderBorderborder='constant'"constant""constant""constant""constant" auf den jeweiligen Randwert, für BorderBorderBorderBorderborder='mirror'"mirror""mirror""mirror""mirror" werden die Funktionswerte am Rand gespiegelt und für BorderBorderBorderBorderborder='cyclic'"cyclic""cyclic""cyclic""cyclic" werden sie zyklisch fortgesetzt. Die berechneten Transformationsparameter werden als Tupel in ParamsParamsParamsParamsparamsVal zurückgeliefert. Falls einige der Parameter bekannte Werte besitzen, so kann der jeweilige Parameter von der Ausgleichsrechnung ausgeschlossen werden, indem an der entsprechenden Stelle im Tupel UseParamsUseParamsUseParamsUseParamsuseParams der Wert 'false'"false""false""false""false" eingetragen wird. In diesem Fall muss im Tupel ParamsConstParamsConstParamsConstParamsConstparamsConst der bekannte Wert des Parameters eingetragen werden. Wenn der Parameter für die Ausgleichung verwendet wird (UseParamsUseParamsUseParamsUseParamsuseParams = 'true'"true""true""true""true"), wird der entsprechende Parameter in ParamsConstParamsConstParamsConstParamsConstparamsConst ignoriert. Als Ausgabe liefert match_funct_1d_transmatch_funct_1d_transMatchFunct1dTransMatchFunct1dTransMatchFunct1dTrans weiterhin die Summe der quadratischen Fehler ChiSquareChiSquareChiSquareChiSquarechiSquare der Ergebnisfunktion, also der mit den Transformationsparametern transformierten Funktion, sowie die Kovariazmatrix CovarCovarCovarCovarcovar der Transformationsparameter ParamsParamsParamsParamsparamsVal zurück. Diese Werte können verwendet werden, um festzustellen, ob ein erfolgreiches Matching der Funktionen möglich war.

Für den Fall, dass es keine eindeutige Lösung für die Transformationsparameter gibt, liefert match_funct_1d_transmatch_funct_1d_transMatchFunct1dTransMatchFunct1dTransMatchFunct1dTrans entweder eine einzelne ausgewählte Lösung oder den Fehler 9205 (Matrix ist singulär) zurück.

Ausführungsinformationen

Parameter

Function1Function1Function1Function1function1 (input_control)  function_1d HFunction1D, HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Funktion 1.

Function2Function2Function2Function2function2 (input_control)  function_1d HFunction1D, HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Funktion 2.

BorderBorderBorderBorderborder (input_control)  string HTupleHTupleHtuple (string) (string) (HString) (char*)

Randbehandlung für Funktion 2.

Defaultwert: 'constant' "constant" "constant" "constant" "constant"

Werteliste: 'constant'"constant""constant""constant""constant", 'cyclic'"cyclic""cyclic""cyclic""cyclic", 'mirror'"mirror""mirror""mirror""mirror", 'zero'"zero""zero""zero""zero"

ParamsConstParamsConstParamsConstParamsConstparamsConst (input_control)  number-array HTupleHTupleHtuple (real) (double) (double) (double)

Werte der Parameter, die konstant gehalten werden.

Parameteranzahl: 4

Defaultwert: [1.0,0.0,1.0,0.0]

UseParamsUseParamsUseParamsUseParamsuseParams (input_control)  string-array HTupleHTupleHtuple (string) (string) (HString) (char*)

Soll ein Parameter angepasst werden?

Parameteranzahl: 4

Defaultwert: ['true','true','true','true'] ["true","true","true","true"] ["true","true","true","true"] ["true","true","true","true"] ["true","true","true","true"]

Werteliste: 'false'"false""false""false""false", 'true'"true""true""true""true"

ParamsParamsParamsParamsparamsVal (output_control)  number-array HTupleHTupleHtuple (real) (double) (double) (double)

Transformationsparameter zwischen den Funktionen.

Parameteranzahl: 4

ChiSquareChiSquareChiSquareChiSquarechiSquare (output_control)  number HTupleHTupleHtuple (real) (double) (double) (double)

Quadratischer Fehler der Ausgabefunktion.

CovarCovarCovarCovarcovar (output_control)  number-array HTupleHTupleHtuple (real) (double) (double) (double)

Kovarianzmatrix der Transformationsparameter

Parameteranzahl: 16

Vorgänger

create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArray, create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairsCreateFunct1dPairs

Siehe auch

gray_projectionsgray_projectionsGrayProjectionsGrayProjectionsGrayProjections

Modul

Foundation