【图像检测】基于计算机视觉实现椭圆检测附matlab代码

2380 篇文章 3655 订阅 ¥29.90 ¥99.00
1225 篇文章 74 订阅

1 内容介绍

Hough变换在图像处理中占有重要地位,是一种检测曲线的有效方法.但使用传统的Hough变换来检测椭圆具有存储空间大计算时间长的缺点.为此提出了一种新的基于Hough变换的椭圆轮廓检测方法,利用椭圆的斜率特性,降低了Hough参数空间的维度,提高了运算运效率,并能良好地对图像中多个椭圆进行检测.

2 仿真代码

function [ellipses, L, posi] = ellipseDetectionByArcSupportLSs(I, Tac, Tr, specified_polarity)

%input:

% I: input image

% Tac: elliptic angular coverage (completeness degree)

% Tr: ratio of support inliers on an ellipse

%output:

% ellipses: N by 5. (center_x, center_y, a, b, phi)

% reference:

% 1、von Gioi R Grompone, Jeremie Jakubowicz, Jean-

% Michel Morel, and Gregory Randall, “Lsd: a fast line

% segment detector with a false detection control.,” IEEE

% transactions on pattern analysis and machine intelligence,

% vol. 32, no. 4, pp. 722–732, 2010.

    angleCoverage = Tac;%default 165°

    Tmin = Tr;%default 0.6 

    unit_dis_tolerance = 2; %max([2, 0.005 * min

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

打赏作者

天天Matlab科研工作室

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

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

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

打赏作者

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

抵扣说明:

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

余额充值