필터 지우기
필터 지우기

How to Measure the Distance Between the Red crosses?

조회 수: 1 (최근 30일)
Cara Mulrooney
Cara Mulrooney 2020년 11월 7일
답변: Abhisek Pradhan 2020년 11월 10일
I am trying to do shape identification using the harris corner detection method. I want to detect 2 corners of a shape and use the distance between those corners to identify the shape (square, triangle, circle, or star). How do I measure the distance between the red crosses in the picture below? How would I then classify that distance as a triangle?

답변 (1개)

Abhisek Pradhan
Abhisek Pradhan 2020년 11월 10일
imdistline can be used to find the distance between two points in an image by interactively setting the positions. For detecting whether the image is a triangle or not I would suggest referring the example in below-mentioned links. Or we may need to get the length of all three sides to conclude it to be a triangle.

카테고리

Help CenterFile Exchange에서 Feature Detection and Extraction에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by