Skip to content

write_deep_matching_3dWriteDeepMatching3dWriteDeepMatching3dwrite_deep_matching_3dT_write_deep_matching_3d🔗

Short description🔗

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

Signature🔗

write_deep_matching_3d( deep_matching_3d Deep3DMatchingModel, filename.write FileName )void WriteDeepMatching3d( const HTuple& Deep3DMatchingModel, const HTuple& FileName )static void HOperatorSet.WriteDeepMatching3d( HTuple deep3DMatchingModel, HTuple fileName )def write_deep_matching_3d( deep_3dmatching_model: HHandle, file_name: str ) -> None

Herror T_write_deep_matching_3d( 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)

void HDeepMatching3D.WriteDeepMatching3d( string fileName )

Description🔗

write_deep_matching_3dWriteDeepMatching3d writes the Deep 3D Matching model Deep3DMatchingModeldeep3DMatchingModeldeep_3dmatching_model to the file given by FileNamefileNamefile_name. Please note that the runtime specific parameters 'device'"device" and '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_3dReadDeepMatching3d.

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

  • Processed without parallelization.

Parameters🔗

Deep3DMatchingModeldeep3DMatchingModeldeep_3dmatching_model (input_control) deep_matching_3d → (handle)HTuple (HHandle)HDeepMatching3D, HTuple (IntPtr)HHandleHtuple (handle)

Handle of the Deep 3D Matching model.

FileNamefileNamefile_name (input_control) filename.write → (string)HTuple (HString)HTuple (string)strHtuple (char*)

Filename

File extension: .dm3

Result🔗

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

Combinations with other operators🔗

Combinations

Possible predecessors

create_deep_matching_3dCreateDeepMatching3d, set_deep_matching_3d_paramSetDeepMatching3dParam

Possible successors

clear_handleClearHandle

Module🔗

3D Metrology