Filter löschen
Filter löschen

How to crop an image using matrices

10 Ansichten (letzte 30 Tage)
Arya Gopan
Arya Gopan am 4 Dez. 2020
Kommentiert: Arya Gopan am 6 Dez. 2020
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

Akzeptierte Antwort

Ameer Hamza
Ameer Hamza am 4 Dez. 2020
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 Kommentare
Arya Gopan
Arya Gopan am 6 Dez. 2020
Yes sir I got it.
Thankyou so much.
Arya Gopan
Arya Gopan am 6 Dez. 2020
Sir an you help me with finding the inverse fourier transform of the croped image using ifftshift
. I get a blank black ffigure

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Geometric Transformation and Image Registration finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by