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

Answers (0)

This question is closed.

Asked:

on 22 Oct 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!