/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *。
@文档名称: 3D点云拟合直线。 @作者: hugo@版本: 1.1@日期: 2021-7-26@说明:此方法支持3DROI创建和点云拟合直线。 @来源:欢迎关注微信公众号robotvision,获取更多机器人视觉知识。 ********************************。
dev_get_window(windowhandle ) read_image ) imagereal, './replay _ 38893 _ 2021-6-7.TIF ' (x resolution :=0.06 y resolution :=0.06 z resolution :=0.001 scalefacacaleface 深度贴图装饰云intensityimagetopiontscloudimage _0(image real,ScaleFactor,1,ObjectModel3D,sale(*点云过滤num neighbors 330 ) 分散(inlierrate :=70 . stop ) (dev_set_color(yellow ) ) get _ drawing _ object _ params ' lams ' low ) GenParamValue[0]、GenParamValue[1]、genparamvalue [2] genparamvalue [4] (detach _ drawing _ object _ from _ wom ) DrawID )3droigen_3d_line ) rectine )的WindowHandle,ObjectModel3DThresholdedFast,GenParamValue,m_vloumn )
10 Halcon点云空间拟合直线
源代码下载链接