How to use the bounding box Dissociated out from the picture in the speed limit symbol I want to do ORC processing like 60.jpg -> 2.jpg

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 28 Okt. 2017

0 Stimmen

imcrop() the image passing in the bounding box found by regionprops.
Note: in all versions of MATLAB as far back as I checked, imcrop will produce an image one pixel too wide and too deep, but you will probably never notice.

1 Kommentar

tsai kai shung
tsai kai shung am 28 Okt. 2017
I use rgb to hsv find red region then find region boundingbox imcrop original image thank you for your help

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Community Treasure Hunt

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

Start Hunting!