See answer on your original question : http://www.mathworks.com/matlabcentral/answers/128399#comment_212793
How to extract a patch from image
2 次查看(过去 30 天)
显示 更早的评论
Hello,I have an image..after labeling the image.i want to extract a patch of 80*80 of each labeled object...what is the matlab code for extracting if i first find the center of each labeled object and then extract patch. This is the labled image of mine
[L,num] = bwlabel(ImageFilled);
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Lighting, Transparency, and Shading 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!