Name
get_shape_model_paramsget_shape_model_paramsGetShapeModelParamsGetShapeModelParams — Auslesen der Parameter eines Formmodells.
Herror get_shape_model_params(const Hlong ModelID, Hlong* NumLevels, double* AngleStart, double* AngleExtent, double* AngleStep, double* ScaleMin, double* ScaleMax, double* ScaleStep, char* Metric, Hlong* MinContrast)
Herror T_get_shape_model_params(const Htuple ModelID, Htuple* NumLevels, Htuple* AngleStart, Htuple* AngleExtent, Htuple* AngleStep, Htuple* ScaleMin, Htuple* ScaleMax, Htuple* ScaleStep, Htuple* Metric, Htuple* MinContrast)
void GetShapeModelParams(const HTuple& ModelID, HTuple* NumLevels, HTuple* AngleStart, HTuple* AngleExtent, HTuple* AngleStep, HTuple* ScaleMin, HTuple* ScaleMax, HTuple* ScaleStep, HTuple* Metric, HTuple* MinContrast)
Hlong HShapeModel::GetShapeModelParams(double* AngleStart, double* AngleExtent, double* AngleStep, HTuple* ScaleMin, HTuple* ScaleMax, HTuple* ScaleStep, HString* Metric, Hlong* MinContrast) const
Hlong HShapeModel::GetShapeModelParams(double* AngleStart, double* AngleExtent, double* AngleStep, double* ScaleMin, double* ScaleMax, double* ScaleStep, HString* Metric, Hlong* MinContrast) const
static void HOperatorSet.GetShapeModelParams(HTuple modelID, out HTuple numLevels, out HTuple angleStart, out HTuple angleExtent, out HTuple angleStep, out HTuple scaleMin, out HTuple scaleMax, out HTuple scaleStep, out HTuple metric, out HTuple minContrast)
int HShapeModel.GetShapeModelParams(out double angleStart, out double angleExtent, out double angleStep, out HTuple scaleMin, out HTuple scaleMax, out HTuple scaleStep, out string metric, out int minContrast)
int HShapeModel.GetShapeModelParams(out double angleStart, out double angleExtent, out double angleStep, out double scaleMin, out double scaleMax, out double scaleStep, out string metric, out int minContrast)
Der Operator get_shape_model_paramsget_shape_model_paramsGetShapeModelParamsGetShapeModelParamsGetShapeModelParams gibt die zur Erzeugung
des Formmodells ModelIDModelIDModelIDModelIDmodelID mit create_shape_modelcreate_shape_modelCreateShapeModelCreateShapeModelCreateShapeModel,
create_scaled_shape_modelcreate_scaled_shape_modelCreateScaledShapeModelCreateScaledShapeModelCreateScaledShapeModel oder
create_aniso_shape_modelcreate_aniso_shape_modelCreateAnisoShapeModelCreateAnisoShapeModelCreateAnisoShapeModel verwendeten Parameter zurück. Dies
ist insbesondere hilfreich, um die Parameter NumLevelsNumLevelsNumLevelsNumLevelsnumLevels,
AngleStepAngleStepAngleStepAngleStepangleStep, ScaleStepScaleStepScaleStepScaleStepscaleStep oder MinContrastMinContrastMinContrastMinContrastminContrast zu
überprüfen, falls diese durch create_shape_modelcreate_shape_modelCreateShapeModelCreateShapeModelCreateShapeModel,
create_scaled_shape_modelcreate_scaled_shape_modelCreateScaledShapeModelCreateScaledShapeModelCreateScaledShapeModel oder
create_aniso_shape_modelcreate_aniso_shape_modelCreateAnisoShapeModelCreateAnisoShapeModelCreateAnisoShapeModel automatisch bestimmt wurden.
Falls das Formmodell mit create_shape_modelcreate_shape_modelCreateShapeModelCreateShapeModelCreateShapeModel oder
create_scaled_shape_modelcreate_scaled_shape_modelCreateScaledShapeModelCreateScaledShapeModelCreateScaledShapeModel erzeugt worden ist, wird in
ScaleMinScaleMinScaleMinScaleMinscaleMin, ScaleMaxScaleMaxScaleMaxScaleMaxscaleMax und ScaleStepScaleStepScaleStepScaleStepscaleStep jeweils
ein Wert für den jeweiligen isotropen Skalierungsparameter
zurückgegeben. Falls das Formmodell mit
create_aniso_shape_modelcreate_aniso_shape_modelCreateAnisoShapeModelCreateAnisoShapeModelCreateAnisoShapeModel erzeugt worden ist, werden in den
obigen drei Parametern jeweils zwei Werte zurückgegeben. Dabei
bezieht sich der jeweils erste Parameter auf die Skalierung in
Zeilenrichtung, der jeweils zweite Parameter auf die Skalierung in
Spaltenrichtung.
Zu beachten ist, dass die Parameter OptimizationOptimizationOptimizationOptimizationoptimization und
ContrastContrastContrastContrastcontrast, die während der Modellgenerierung ebenfalls
automatisch bestimmt werden können, nicht mit
get_shape_model_paramsget_shape_model_paramsGetShapeModelParamsGetShapeModelParamsGetShapeModelParams abgefragt werden können. In diesem
Fall sollte determine_shape_model_paramsdetermine_shape_model_paramsDetermineShapeModelParamsDetermineShapeModelParamsDetermineShapeModelParams statt
get_shape_model_paramsget_shape_model_paramsGetShapeModelParamsGetShapeModelParamsGetShapeModelParams verwendet werden.
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
Anzahl von Pyramidenebenen.
Kleinste auftretende Rotation des Musters.
Ausdehnung des Winkelbereichs.
Zusicherung: AngleExtent >= 0
Schrittweite der Winkel (Auflösung).
Zusicherung: AngleStep >= 0 && AngleStep <= pi / 16
Kleinste auftretende Skalierung des Musters.
Zusicherung: ScaleMin > 0
Größte auftretende Skalierung des Musters.
Zusicherung: ScaleMax >= ScaleMin
Schrittweite der Skalierungen (Auflösung).
Zusicherung: ScaleStep >= 0
Art der zum Matchen verwendeten Metrik.
Minimaler Kontrast des Objektes in den Suchbildern.
Ist der Handle des Modells gültig, dann liefert
get_shape_model_paramsget_shape_model_paramsGetShapeModelParamsGetShapeModelParamsGetShapeModelParams den Wert 2 (H_MSG_TRUE). Gegebenenfalls wird
eine Fehlerbehandlung durchgeführt.
create_shape_modelcreate_shape_modelCreateShapeModelCreateShapeModelCreateShapeModel,
create_scaled_shape_modelcreate_scaled_shape_modelCreateScaledShapeModelCreateScaledShapeModelCreateScaledShapeModel,
create_aniso_shape_modelcreate_aniso_shape_modelCreateAnisoShapeModelCreateAnisoShapeModelCreateAnisoShapeModel,
read_shape_modelread_shape_modelReadShapeModelReadShapeModelReadShapeModel
find_shape_modelfind_shape_modelFindShapeModelFindShapeModelFindShapeModel,
find_scaled_shape_modelfind_scaled_shape_modelFindScaledShapeModelFindScaledShapeModelFindScaledShapeModel,
find_aniso_shape_modelfind_aniso_shape_modelFindAnisoShapeModelFindAnisoShapeModelFindAnisoShapeModel,
find_shape_modelsfind_shape_modelsFindShapeModelsFindShapeModelsFindShapeModels,
find_scaled_shape_modelsfind_scaled_shape_modelsFindScaledShapeModelsFindScaledShapeModelsFindScaledShapeModels,
find_aniso_shape_modelsfind_aniso_shape_modelsFindAnisoShapeModelsFindAnisoShapeModelsFindAnisoShapeModels
Matching