필터 지우기
필터 지우기

How to crop an image using matrices

조회 수: 10 (최근 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개)

카테고리

Help CenterFile Exchange에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by