get_shape_model_contours

read_shape_model ('D:/VisionControl/shmFiles/CreateShapeModel20230906105130.shm', ModelID)

find_shape_model (Image, ModelID, rad(-85), rad(85), 0.5, 5, 0.5, 'least_squares', 0, 0.9, Row, Column, Angle, Score)

tuple_length (Row, Length)

hom_mat2d_identity (HomMat2DIdentity)

for Index := 0 to Length-1 by 1

hom_mat2d_translate (HomMat2DIdentity, Row[Index], Column[Index], HomMat2DTranslate)

hom_mat2d_rotate (HomMat2DTranslate, Angle[Index], Row[Index], Column[Index], HomMat2DRotate)

get_shape_model_contours (ModelContours, ModelID, 1)

affine_trans_contour_xld (ModelContours, ContoursAffinTrans, HomMat2DRotate)

endfor

相关推荐
没有梦想的咸鱼185-1037-16632 分钟前
基于R语言机器学习方法在生态经济学领域中的实践技术应用
开发语言·机器学习·数据分析·r语言
向上的车轮26 分钟前
基于go语言的云原生TodoList Demo 项目,验证云原生核心特性
开发语言·云原生·golang
The Chosen One98528 分钟前
C++ : AVL树-详解
开发语言·c++
PH_modest38 分钟前
【Qt跬步积累】—— 初识Qt
开发语言·qt
怀旧,1 小时前
【C++】18. 红⿊树实现
开发语言·c++
xiaopengbc1 小时前
在 Python 中实现观察者模式的具体步骤是什么?
开发语言·python·观察者模式
Python大数据分析@2 小时前
python用selenium怎么规避检测?
开发语言·python·selenium·网络爬虫
ThreeAu.2 小时前
Miniconda3搭建Selenium的python虚拟环境全攻略
开发语言·python·selenium·minicoda·python环境配置
zhangfeng11332 小时前
R 语法高亮为什么没有,是需要安装专用的编辑软件,R语言自带的R-gui 功能还是比较简单
开发语言·r语言