how to crop many parts from one image
Show older comments
hello i'd like to crop two existed blob from only one image...but every time i try, only one blob will be cropped (with imrop instruction) not the both ... any one help me please
Answers (1)
Walter Roberson
on 1 Feb 2016
0 votes
imcrop() can only crop one section at a time. imcrop() is only for rectangular cropping. This is necessary because in MATLAB, all matrices must be rectangular, and if you were able to crop multiple blobs then that would require that the result be an output matrix that was two disconnected rectangular sections.
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!