Boundingbox title with respect to matrix data

Sir I have a binary image with four objects and a matrix(4x4)
.I want to use the matrix for the image. Suppose in the first column of the matrix , the position of the highest element is 3 and the first column corresponds to first object. So I want to give that object a boundingbox with title 'Type3 OBJECT'. Similarly for the second object , in the second column the position of the highest element is 1. So I want to add boundingbox to that object with title 'Type1 OBJECT'. Sir how can I make it using regionprops. Should I use it with for loop? Thanks

답변 (0개)

이 질문은 마감되었습니다.

질문:

2015년 10월 22일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by