Clear Filters
Clear Filters

Scaling distortion on images

1 view (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
KALYAN ACHARJYA
KALYAN ACHARJYA on 11 Jan 2020
Edited: 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.

Accepted Answer

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

More Answers (0)

Categories

Find more on Read, Write, and Modify Image in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!