How fo find the peaks using this function

Hello,
I'm trying to get lines from a 2D point cloud. Instead of displaying the points and use that figure as an image, I wanted to work on the points directly. I tried using this user function: Hough Transform for Point Clouds & Images, Hough Transform Matrix.
However I can't use the houghpeaks function because the Hough matrix generated by that function is not integers.
I'm not sure to what I should do, do you have any idea?
Thx in advance,

回答 (1 件)

Image Analyst
Image Analyst 2022 年 8 月 30 日

0 投票

Try fitPolynomialRANSAC if you have the Computer Vision Toolbox. It's meant for that kind of thing.

2 件のコメント

Adrien
Adrien 2022 年 8 月 31 日
thx, but isn't that only to find 1 fitting line? with hough we can find multiple lines in a single data set/image
Image Analyst
Image Analyst 2022 年 8 月 31 日
Yes. For your file Exchange program, you'd have to ask the author.

サインインしてコメントする。

質問済み:

2022 年 8 月 30 日

コメント済み:

2022 年 8 月 31 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by