Unknown size matrix-Cut image
1 回表示 (過去 30 日間)
古いコメントを表示
Hello everyone..I want to create a matrix where I will put specific elements of a ROI (e.g. >0) but i do not know the size of the final matrix. Or else, I want to cut the image and keep only the ROI. How can I do that?
0 件のコメント
採用された回答
Image Analyst
2015 年 10 月 7 日
You can use imrect() or rbbox() or imcrop() to crop the image to a smaller rectangle. Let us know if you can't figure out the code to do it.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!