how to crop many parts from one image
2 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Walter Roberson
2016-2-1
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.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!