read_shape_modelT_read_shape_modelReadShapeModelReadShapeModel (Operator)
Name
read_shape_modelT_read_shape_modelReadShapeModelReadShapeModel
— Einlesen eines Formmodells von Datei.
Signatur
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
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
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