Unknown size matrix-Cut image
조회 수: 2 (최근 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!