필터 지우기
필터 지우기

Detect "rough" triangular shape of two objects closeby

조회 수: 1 (최근 30일)
Tesla.
Tesla. 2017년 7월 4일
답변: Stephen 2017년 7월 5일
Hi,
I am trying to find an method to detect the "rough" triangular shape of two cones in an image. By "rough" I mean it's not a perfect triangle with sharp points, but I believe everybody can see the shapes are somewhat triangular in form - and this is what I need Matlab to find as well.
I've attached an image of the problem at hand. The image is the result from bwboundaries(), so it's the outline of a binary image. Now I'd like Matlab to find the two "somewhat triangular objects" in the image and tell me how many of these objects there are. bwconnectedcomponents() finds only one object because the two cones were close together in the image and the blobs are connected by the pixels in between.
Does anybody know of a method to solve this?
Thanks!

답변 (1개)

Stephen
Stephen 2017년 7월 5일
Try the Generalized Hough Transform. There is an entry for it on the matlab file exchange as well: https://www.mathworks.com/matlabcentral/fileexchange/44166-generalized-hough-transform

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by