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, RowIndex, ColumnIndex, HomMat2DTranslate)

hom_mat2d_rotate (HomMat2DTranslate, AngleIndex, RowIndex, ColumnIndex, HomMat2DRotate)

get_shape_model_contours (ModelContours, ModelID, 1)

affine_trans_contour_xld (ModelContours, ContoursAffinTrans, HomMat2DRotate)

endfor

相关推荐
吃好睡好便好1 天前
提取矩阵某一行或某一列元素
开发语言·人工智能·线性代数·算法·matlab·矩阵
deepin_sir1 天前
10 - 函数
开发语言·python
z落落1 天前
C#String字符串
开发语言·c#·php
猫头虎-前端技术1 天前
JS 作用域与闭包:从变量提升到闭包陷阱的超详细解析
开发语言·javascript·云计算·bootstrap·ecmascript·openstack·perl
枫叶林FYL1 天前
项目十:事件溯源仓储管理系统(WMS)仿真实现
开发语言·python
繁华落尽,倾城殇?1 天前
[C++11] : atomic,nullptr,default/delete,enum class
开发语言·c++·c++11·nullptr·atomic·enum class·default/delete
01_ice1 天前
C语言数据在内存中的存储
c语言·开发语言
代码村新手1 天前
C++-二叉搜索树
开发语言·c++
吃好睡好便好1 天前
创建魔方矩阵和单位矩阵
开发语言·人工智能·学习·线性代数·matlab·矩阵
影寂ldy1 天前
C#数组的属性和方法(Clear / Copy / IndexOf )
开发语言·javascript·c#