Detect L-shapes in point cloud

Hello, I get a realtime pointing cloud from my laserscanner.
I have to detect a parking space and the two L-shapes in the figure.
Can someone help me how to start finding a solution.
Maybe it´s helpful to know that I use Matlab R2015 with a Simulink model.

回答 (1 件)

Image Analyst
Image Analyst 2015 年 6 月 4 日

0 投票

If you can write those coordinates as dots in an image, there is a corner() function in the Image Processing Toolbox that you can try.

2 件のコメント

Dennis Sattelmaier
Dennis Sattelmaier 2015 年 6 月 5 日
I don´t know how you mean it to write the dots in an image. Is it possible to segmentate the points in the figure?
Image Analyst
Image Analyst 2015 年 6 月 5 日
Create an image
myImage = zeros(rows, columns, 'uint8');
Then set those pixels
xCalibrationFactor = columns / (max(x) - min(x));
yCalibrationFactor = rows / (max(y) - min(y));
for k = 1 : length(x)
row = round(x(k) * xCalibrationFactor);
column = round(y(k) * yCalibrationFactor);
myImage(row, column) = 255;
end

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

カテゴリ

質問済み:

2015 年 6 月 4 日

コメント済み:

2015 年 6 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by