read_shape_modelT_read_shape_modelReadShapeModelReadShapeModel (Operator)

Name

read_shape_modelT_read_shape_modelReadShapeModelReadShapeModel — Einlesen eines Formmodells von Datei.

Signatur

read_shape_model( : : FileName : ModelID)

Herror T_read_shape_model(const Htuple FileName, Htuple* ModelID)

void ReadShapeModel(const HTuple& FileName, HTuple* ModelID)

void HShapeModel::HShapeModel(const HString& FileName)

void HShapeModel::HShapeModel(const char* FileName)

void HShapeModel::HShapeModel(const wchar_t* FileName)   (Nur Windows)

void HShapeModel::ReadShapeModel(const HString& FileName)

void HShapeModel::ReadShapeModel(const char* FileName)

void HShapeModel::ReadShapeModel(const wchar_t* FileName)   (Nur Windows)

static void HOperatorSet.ReadShapeModel(HTuple fileName, out HTuple modelID)

public HShapeModel(string fileName)

void HShapeModel.ReadShapeModel(string fileName)

Beschreibung

read_shape_modelread_shape_modelReadShapeModelReadShapeModelReadShapeModel liest ein Formmodell, das mit write_shape_modelwrite_shape_modelWriteShapeModelWriteShapeModelWriteShapeModel geschrieben wurde, aus der Datei FileNameFileNameFileNameFileNamefileName ein. Die Dateiendung für das Formmodell ist in HALCON 'shm'.

Ausführungsinformationen

Dieser Operator liefert ein Handle zurück. Es ist zu beachten, dass der Zustand einer Instanz dieses Handletyps durch bestimmte Operatoren geändert werden kann, obwohl das Handle als Eingabeparameter in diesen Operatoren verwendet wird.

Parameter

FileNameFileNameFileNameFileNamefileName (input_control)  filename.read HTupleHTupleHtuple (string) (string) (HString) (char*)

Name der Datei.

Dateiendung: .shm

ModelIDModelIDModelIDModelIDmodelID (output_control)  shape_model HShapeModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle des Modells.

Ergebnis

Ist der Dateiname korrekt, dann liefert read_shape_modelread_shape_modelReadShapeModelReadShapeModelReadShapeModel den Wert 2 (H_MSG_TRUE). Gegebenenfalls wird eine Fehlerbehandlung durchgeführt.

Nachfolger

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, get_shape_model_clutterget_shape_model_clutterGetShapeModelClutterGetShapeModelClutterGetShapeModelClutter

Siehe auch

create_shape_modelcreate_shape_modelCreateShapeModelCreateShapeModelCreateShapeModel, create_scaled_shape_modelcreate_scaled_shape_modelCreateScaledShapeModelCreateScaledShapeModelCreateScaledShapeModel, create_aniso_shape_modelcreate_aniso_shape_modelCreateAnisoShapeModelCreateAnisoShapeModelCreateAnisoShapeModel, clear_shape_modelclear_shape_modelClearShapeModelClearShapeModelClearShapeModel

Modul

Matching