bounding box for ratio
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
mohammed
am 9 Okt. 2013
Kommentiert: Sean de Wolski
am 9 Okt. 2013
i wanted to calculate simple bounding box ratio.
m=(a1*b1)/a+b
where
a1=width of bounding box
b1=height of bounding box
a= width of image
b=height of image.
plz help me. first time i am using bounding box..
0 Kommentare
Akzeptierte Antwort
Sean de Wolski
am 9 Okt. 2013
Bearbeitet: Sean de Wolski
am 9 Okt. 2013
doc regionprops
Will give you bounding box.
doc size
Will give you image size.
2 Kommentare
Sean de Wolski
am 9 Okt. 2013
Well then figure out how you defined a region of interest in your rgb image, once you have this, repeat with regionprops, or just use find to find the indices and compute bounding box yourself.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Segmentation and Analysis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!