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

Antworten (0)

Diese Frage ist geschlossen.

Gefragt:

am 22 Okt. 2015

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by