How to differentiate between two centroid by using region props?
조회 수: 1 (최근 30일)
이전 댓글 표시
Greetings,
As the title said, I have problems differentiating the bounding box.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/163351/image.png)
The image above is the current result I have for my program. However, what I really need help in is that, is there a way to identify these 2 bounding box? I am planning to do something like "If bounding box 1's X axis and bounding box 2's X axis is equal, then fprintf 'Orientation : OK'." Any help is much appreciated. I am using regionprops to find the bounding and centroid. Thank you very much.
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!