MATLAB Answers

Scaling distortion on images

7 views (last 30 days)
pankaj singh
pankaj singh on 10 Jan 2020
Answered: Image Analyst on 11 Jan 2020
How to apply scaling distortion to images in MATLAB and generate the following kind of image:

  6 Comments

Show 3 older comments
pankaj singh
pankaj singh on 11 Jan 2020
Similar but I am looking for black edges around the figure to show the respective scaling.
KALYAN ACHARJYA
KALYAN ACHARJYA on 11 Jan 2020
Pankaj, sorry, still the question is not clear to me.
Are you looking for reason of degradation (Image Restoration) or others?
Is it the down sampling image arbitarily to get the random scaling distortion?
What kind of distortion do you see in the attached image?
pankaj singh
pankaj singh on 11 Jan 2020
I am looking for downscaled image. I have used
imresize(image)
function on the original figure. But it shows me the final figure in the whole figure window (as shown in your link). However, I need figure to be shown as above. Is it possible? In other words, I want to show the downsized image, but in the original image size figure window (the rest of the pixels may become zero).

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 11 Jan 2020
Use padarray().

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by