Cropping out the image/generating image the same size as the matrix it comes from
古いコメントを表示
Hello,
So I have a matrix that I display with imagesc(). I gray it in order to apply imcontour(), and plot this contour on the original image.
The issue is that I have an image bigger than my matrix, and I want it to be the same size. So I have 2 questions:
- Is there a way to save directly the image from the matrix, and have it the same size ?
- How to crop the black part of the image below in order to have a figure the same size as my matrix ?
Thanks for your help !

採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Images についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!