List Info

Thread: Upsample an image




Upsample an image
user name
2006-06-06 13:37:05
Hi all

When I tried downsample an image using im.resize and then
upsampled it to 
get to the original size, it looked a bit blurry and lost a
lot of details. 
How am I suppose to upsample it back to its original size
without losing 
details? Will im.transform work?

Thanks a lot


_______________________________________________
Image-SIG maillist  -  Image-SIGpython.org
htt
p://mail.python.org/mailman/listinfo/image-sig
Upsample an image
user name
2006-06-06 14:02:56
Ahmad Affzan Abdullah wrote:

> When I tried downsample an image using im.resize and
then upsampled it to 
> get to the original size, it looked a bit blurry and
lost a lot of details.

that's expected: if you downsample an image, you lose
information.  once 
lost, there's no way to get it back.

(if this wasn't the case, image compression would be a lot
easier than 
it is...)

</F>

_______________________________________________
Image-SIG maillist  -  Image-SIGpython.org
htt
p://mail.python.org/mailman/listinfo/image-sig
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )