write_deep_matching_3dT_write_deep_matching_3dWriteDeepMatching3dWriteDeepMatching3dwrite_deep_matching_3d (Operator)

Name

write_deep_matching_3dT_write_deep_matching_3dWriteDeepMatching3dWriteDeepMatching3dwrite_deep_matching_3d — Write a Deep 3D Matching model in a file.

Signature

write_deep_matching_3d( : : Deep3DMatchingModel, FileName : )

Herror T_write_deep_matching_3d(const Htuple Deep3DMatchingModel, const Htuple FileName)

void WriteDeepMatching3d(const HTuple& Deep3DMatchingModel, const HTuple& FileName)

void HDeepMatching3D::WriteDeepMatching3d(const HString& FileName) const

void HDeepMatching3D::WriteDeepMatching3d(const char* FileName) const

void HDeepMatching3D::WriteDeepMatching3d(const wchar_t* FileName) const   ( Windows only)

static void HOperatorSet.WriteDeepMatching3d(HTuple deep3DMatchingModel, HTuple fileName)

void HDeepMatching3D.WriteDeepMatching3d(string fileName)

def write_deep_matching_3d(deep_3dmatching_model: HHandle, file_name: str) -> None

Description

write_deep_matching_3dwrite_deep_matching_3dWriteDeepMatching3dWriteDeepMatching3dwrite_deep_matching_3d writes the Deep 3D Matching model Deep3DMatchingModelDeep3DMatchingModelDeep3DMatchingModeldeep3DMatchingModeldeep_3dmatching_model to the file given by FileNameFileNameFileNamefileNamefile_name. Please note that the runtime specific parameters 'device'"device""device""device""device" and 'batch_size'"batch_size""batch_size""batch_size""batch_size" of the deep learning models are not written.

The default HALCON file extension for Deep 3D Matching models is '.dm3'.

The Deep 3D Matching model can be read with read_deep_matching_3dread_deep_matching_3dReadDeepMatching3dReadDeepMatching3dread_deep_matching_3d.

Execution Information

Parameters

Deep3DMatchingModelDeep3DMatchingModelDeep3DMatchingModeldeep3DMatchingModeldeep_3dmatching_model (input_control)  deep_matching_3d HDeepMatching3D, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the Deep 3D Matching model.

FileNameFileNameFileNamefileNamefile_name (input_control)  filename.write HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Filename

File extension: .dm3

Result

If the parameters are valid, the operator write_deep_matching_3dwrite_deep_matching_3dWriteDeepMatching3dWriteDeepMatching3dwrite_deep_matching_3d returns the value 2 ( H_MSG_TRUE) . If necessary, an exception is raised.

Possible Predecessors

set_deep_matching_3d_paramset_deep_matching_3d_paramSetDeepMatching3dParamSetDeepMatching3dParamset_deep_matching_3d_param

Possible Successors

clear_handleclear_handleClearHandleClearHandleclear_handle

Module

3D Metrology