SelectObj(ho_Region,&ho_ObjectSelected,1);//从区域集中选择一个区域WriteObject(ho_ObjectSelected,"D:/bb/tu/ss.hobj");//保存区域//参数1:区域
//从区域集中选择一个区域 WriteObject(ho_ObjectSelected, "D:/bb/tu/ss.hobj"); //保存区域 //参数1:区域 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11.
write_object writes the iconic Object to the file FileName. The iconic object is a (possibly mixed) tuple of images, regions, or XLDs. If no extension is specified in FileName, the extension '.hobj' will be appended. The iconic data is written in the HALCON Iconic Object format ...
void WriteObject(const char* FileName) const; #ifdef _WIN32 // Write an iconic object. void WriteObject(const wchar_t* FileName) const; #endif // Deserialize a serialized iconic object. void DeserializeObject(const HSerializedItem& SerializedItemHandle); // Serialize an iconic object. HSe...
write_object_model_3d— Writes a 3D object model to a file.Signaturewrite_object_model_3d( : : ObjectModel3D, FileType, FileName, GenParamName, GenParamValue : )DescriptionThe operator write_object_model_3d writes the 3D object model ObjectModel3D to the file FileName. The object model ...
WriteObjectModel3d(ho_Model3D, "reconstruction_result.obj ");[ h] / / 释放资源 ] ClearWindow(hv_WindowID); ClearObjectModel3d(ho_Model3D); return 0; } [ h] 上面的代码只是一个例子,实际的实现是您可能需要根据您的具体数据和需求进行适当的修改和调整。
(0, 0, 512, 512, 0, "visible", "", &hv_WindowID); SetPart(hv_WindowID, 0, 0, 511, 511); SetWindow3D(hv_WindowID, "visible", "true"); DispObject(ho_SurfaceModel, hv_WindowID); // 保存重建结果 WriteObjectModel3d(ho_Model3D, "reconstruction_result.obj"); // 释放资源 ...
在 System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogate...
WriteObjectModel3d 写入到一个文件中三维对象模型。 XyzToObjectModel3d 变换从图像到3D 对象模型的三维点。 3D Segmentation3D 分割 FitPrimitivesObjectModel3d 融入一个三维点集的三维图元。 SegmentObjectModel3d 段成子集具有相似特征的三维点集。 Calibration校准 Binocular双目 23 HALCON 的参考手册 2012-3-21 ...
;11说明, 增加一个矩形物体,到测量模型当中1213** AddSampleIdentifierPreparationData( SampleImage: X; SampleIdentifier, ObjectIdx, GenParamName, GenParamValue,outObjectSampleIdx);14说明, 增加预设标定数据1516** AddSampleIdentifierTrainingData( SampleImage: X; SampleIdentifier, ObjectIdx, GenParamName,...