Halcon 测量之gen_measure_rectangle2算子介绍(三)

本文详细介绍了Halcon中gen_measure_rectangle2算子的功能与使用,包括其参数含义、作用及应用场景,适合对1D测量感兴趣的学习者和技术人员阅读。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

gen_measure_rectangle2

原型

gen_measure_rectangle2( : : Row, Column, Phi, Length1, Length2, Width, Height, Interpolation : MeasureHandle)

功能

准备提取垂直于轮廓线的直边

参数列表

Row (input_control):矩形中心点的行坐标
Column (input_control):矩形中心点的列坐标
Phi (input_control):轮廓线与水平方向的夹角(弧度制)
Length1 (input_control):矩形长轴的一半
Length2 (input_control):矩形短轴的一半
Width (input_control) :待处理图像的宽度
Height (input_control) :待处理图像的高度
Interpolation (input_control) :插值方式(‘bicubic’, ‘bilinear’, ‘nearest_neighbor’)
MeasureHandle (output_control) :测量对象句柄

详解

有关1D测量的概念解释参考:https://blog.youkuaiyun.com/qq_18620653/article/details/106214957
部分参数介绍如图所示:
在这里插入图片描述
具体事例请参考 Halcon 测量之measure_pos算子介绍(四)https://blog.youkuaiyun.com/qq_18620653/article/details/106194813

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值