read_ncc_modelT_read_ncc_modelReadNccModelReadNccModelread_ncc_model (算子名称)

名称

read_ncc_modelT_read_ncc_modelReadNccModelReadNccModelread_ncc_model — Read an NCC model from a file.

参数签名

read_ncc_model( : : FileName : ModelID)

Herror T_read_ncc_model(const Htuple FileName, Htuple* ModelID)

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

void HNCCModel::HNCCModel(const HString& FileName)

void HNCCModel::HNCCModel(const char* FileName)

void HNCCModel::HNCCModel(const wchar_t* FileName)   ( Windows only)

void HNCCModel::ReadNccModel(const HString& FileName)

void HNCCModel::ReadNccModel(const char* FileName)

void HNCCModel::ReadNccModel(const wchar_t* FileName)   ( Windows only)

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

public HNCCModel(string fileName)

void HNCCModel.ReadNccModel(string fileName)

def read_ncc_model(file_name: str) -> HHandle

描述

The operator read_ncc_modelread_ncc_modelReadNccModelReadNccModelReadNccModelread_ncc_model reads an NCC model, which has been written with write_ncc_modelwrite_ncc_modelWriteNccModelWriteNccModelWriteNccModelwrite_ncc_model, from the file FileNameFileNameFileNameFileNamefileNamefile_name. The default HALCON file extension for the NCC model is 'ncm'.

运行信息

This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.

参数表

FileNameFileNameFileNameFileNamefileNamefile_name (input_control)  filename.read HTuplestrHTupleHtuple (string) (string) (HString) (char*)

File name.

File extension: .ncm

ModelIDModelIDModelIDModelIDmodelIDmodel_id (output_control)  ncc_model HNCCModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the model.

结果

If the file name is valid, the operator read_ncc_modelread_ncc_modelReadNccModelReadNccModelReadNccModelread_ncc_model returns the value 2 ( H_MSG_TRUE) . If necessary an exception is raised.

可能的后置算子

find_ncc_modelfind_ncc_modelFindNccModelFindNccModelFindNccModelfind_ncc_model, find_ncc_modelsfind_ncc_modelsFindNccModelsFindNccModelsFindNccModelsfind_ncc_models

参考其它

create_ncc_modelcreate_ncc_modelCreateNccModelCreateNccModelCreateNccModelcreate_ncc_model, clear_ncc_modelclear_ncc_modelClearNccModelClearNccModelClearNccModelclear_ncc_model

模块

Matching