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

相关推荐
FL1717131432 分钟前
MATLAB的Sensitivity Analyzer
开发语言·matlab
lly2024061 小时前
jEasyUI 设置排序指南
开发语言
一起努力啊~1 小时前
算法刷题--长度最小的子数组
开发语言·数据结构·算法·leetcode
还债大湿兄2 小时前
huggingface.co 下载有些要给权限的模型 小记录
开发语言·前端·javascript
bkspiderx2 小时前
C++中的map容器:键值对的有序管理与高效检索
开发语言·c++·stl·map
Hard but lovely2 小时前
Linux: 线程同步-- 基于条件变量 &&生产消费模型
linux·开发语言·c++
汤姆yu2 小时前
基于python大数据的协同过滤音乐推荐系统
大数据·开发语言·python
爱学习的小道长2 小时前
Python Emoji库的使用教程
开发语言·python
Sammyyyyy2 小时前
Symfony AI 正式发布,PHP 原生 AI 时代开启
开发语言·人工智能·后端·php·symfony·servbay
C+-C资深大佬2 小时前
C++逻辑运算
开发语言·c++·算法