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

相关推荐
沐知全栈开发20 分钟前
JavaScript 条件语句
开发语言
RSTJ_162522 分钟前
PYTHON+AI LLM DAY THREETY-SEVEN
开发语言·人工智能·python
清水白石00839 分钟前
《Python性能深潜:从对象分配开销到“小对象风暴”的破解之道(含实战与最佳实践)》
开发语言·python
Je1lyfish1 小时前
CMU15-445 (2025 Fall/2026 Spring) Project#3 - QueryExecution
linux·c语言·开发语言·数据结构·数据库·c++·算法
Brilliantwxx1 小时前
【C++】 vector(代码实现+坑点讲解)
开发语言·c++·笔记·算法
野生技术架构师1 小时前
2026年最全Java面试题及答案汇总(建议收藏,面试前看这篇就够了)
java·开发语言·面试
百锦再2 小时前
Auto.js变成基础知识学习
开发语言·javascript·学习·sqlite·kotlin·android studio·数据库开发
叼烟扛炮2 小时前
C++第三讲:类和对象(中)
开发语言·c++·类和对象
iDao技术魔方3 小时前
DeepSeek TUI:原生 Rust 打造的终端 AI 编码 Agent
开发语言·人工智能·rust
jghhh013 小时前
认知无线电中基于能量检测的双门限频谱感知的 MATLAB 仿真
开发语言·matlab