Scaling distortion on images

How to apply scaling distortion to images in MATLAB and generate the following kind of image:

6 Commenti

Original image?
pankaj singh
pankaj singh il 10 Gen 2020
Modificato: pankaj singh il 11 Gen 2020
This is just a sample image. You can use any colored image, e.g. colored Lena image.
pankaj singh
pankaj singh il 11 Gen 2020
Similar but I am looking for black edges around the figure to show the respective scaling.
KALYAN ACHARJYA
KALYAN ACHARJYA il 11 Gen 2020
Modificato: KALYAN ACHARJYA il 11 Gen 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?
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).

Accedi per commentare.

 Risposta accettata

Più risposte (0)

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by