halcon算子笔记,proj_match_points_ransac

proj_match_points_ransac(Image1, Image2 : : Rows1, Cols1, Rows2, Cols2, GrayMatchMethod, MaskSize, RowMove, ColMove, RowTolerance, ColTolerance, Rotation, MatchThreshold, EstimationMethod, DistanceThreshold, RandSeed : HomMat2D, Points1, Points2)通过寻找点之间的对应关系来计算两个图像之间的投影变换矩阵。

//sad  以角点为中心 左右窗口内对应像素灰度值之差 的绝对值  再求和   结果最小时   即为匹配点。  先确定左窗口,再遍历右窗口。  单位:灰度值之差的和

//ncc  计算两幅图像匹配区域的互相关性   最大时 即为匹配点。  单位: 相似程度 0--1

 //MatchThreshold  左右角点匹配时的阈值, ssd  sad --应小于此值;   ncc--应大于此值

    // RowTolerance, ColTolerance    在右图像中找左图像的匹配点时, 限定右图像中的遍历范围: 在右图像中,以左图像中的点坐标为中心,RowTolerance X ColTolerance的区域内找匹配点。

    //   the center of the search window in the second image with respect to the position of the current point in the first image

    //RowMove  ColMove  右窗口遍历时的 步距,   单位为像素

    //Rotation   待拼接图像的最大角度偏差 角度遍历范围   (或  拼接时的角度步距?)

    //ransac  -- Once the initial matching is complete, a randomized search algorithm (RANSAC) is used to determine the transformation matrix HomMat2D

    //DistanceThreshold  --  试算变换矩阵HomMat2D时, 实际点 与 预测点 之间的距离偏差  阈值,   单位为像素

    //EstimationMethod  --  变换 与 匹配点  确定后 ,进一步优化精确化 变换矩阵 时 选用的方式  gold_standard  normalized_dlt

    //RandSeed -- RANSAC算法中  给定一个随机数, 使RANSAC算法具有重复性。 只要是正的,结果一样。

    //Points1  匹配点 序号 图像1中

    //Points1  匹配点 序号 图像2中

 

欢迎一起交流学习!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

小菠萝0908

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值