gen_rectangle1 (Rectangle, 30, 378, 89, 440) reduce_domain (GrayImage, Rectangle, ImageReduced) ***创建模板*** create_ncc_model(ImageReduced, 'auto', -0.2, 0.2, 0.1, 'use_polarity', ModelID) *创建NCC模板 write_ncc_model (ModelID, 'D:/bb/tu/SS.ncm') *保存NCC模板 *参数1:模板...
***创建模板*** create_ncc_model(ImageReduced, 'auto', -0.2, 0.2, 0.1, 'use_polarity', ModelID) *创建NCC模板 write_ncc_model (ModelID, 'D:/bb/tu/SS.ncm') *保存NCC模板 *参数1:模板句柄 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 在QtCreator中 HOb...
Handle of the model. FileName(input_control)filename.write→(string) File name. File extension:.ncm If the file name is valid (write permission), the operatorwrite_ncc_modelreturns the value2(H_MSG_TRUE). If necessary an exception is raised. ...
Handle of the model. FileName(input_control)filename.write→(string) File name. File extension:.ncm If the file name is valid (write permission), the operatorwrite_ncc_modelreturns the value 2 (H_MSG_TRUE). If necessary an exception is raised....
write_ncc_model (Operator) Namewrite_ncc_model— Write an NCC model to a file.Signaturewrite_ncc_model( : : ModelID, FileName : ) DescriptionThe operator write_ncc_model writes an NCC model to the file FileName. The model can be read again with read_ncc_model. The default HALCON ...