How to crop an image using matrices

4 ビュー (過去 30 日間)
Arya Gopan
Arya Gopan 2020 年 12 月 4 日
コメント済み: Arya Gopan 2020 年 12 月 6 日
I need to crop a certain portion of an image. But the problem is that I want the croped image in the same dimension of the orginal image. I am asked to do this with the help of matrices. How can I do it

採用された回答

Ameer Hamza
Ameer Hamza 2020 年 12 月 4 日
You can use imcrop(): https://www.mathworks.com/help/images/ref/imcrop.html and then apply imresize(): https://www.mathworks.com/help/images/ref/imresize.html to the cropped image.
  21 件のコメント
Arya Gopan
Arya Gopan 2020 年 12 月 6 日
Yes sir I got it.
Thankyou so much.
Arya Gopan
Arya Gopan 2020 年 12 月 6 日
Sir an you help me with finding the inverse fourier transform of the croped image using ifftshift
. I get a blank black ffigure

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by