View Single Post
Old 07-11-2004, 07:19 AM   #5
Vaskez
Takhisis Follower
 

Join Date: April 30, 2001
Location: szép Magyarország (well not right now)
Posts: 5,089
Hehe, what do you mean apparently there is a prog? I've done a course on image processing so I know how these things are done. As Jorath said, you can apply a Gaussian averaging filter or even a linear one to smooth it some and that will work up to a point.

They can also interpolate between pixels, so e.g. if you have a greyscale 8bit image and you have a pixel of intensity 20 and another next to it with 40 then you can create a new pixel of intensity 30 between then for example. This way you can create new information but whether the result will look realistic or not depends on the subject of the picture. I haven't tried it, but I doubt it'd work for faces. Might work for wallpaper but I don't know which program has such a feature.

Again, in short, yes there are lots of image processing techniques that can help you seemingly enlarge a picture and create extra pixel information to fill in the gaps that appear when you enlarge, but what you seek (perfect enlargement) is physically impossible so don't expect to see it in the near future

You can even do a little test to see why. I've done it. I wrote some C code for enlarging images. When you magnify, gaps appear between the original pixels which move further apart. The reason gaps don't appear when you enlarge an image in professional image editing packages is I think because they just copy or average the neighbouring pixels of a gap to fill in the gap. That's why it looks ugly.

[ 07-11-2004, 07:23 AM: Message edited by: Vaskez ]
__________________
Too set in his ways to ever relate
If he could set that aside, there'd be heaven to pay
But weathered and aged, time swept him to grave
Love conquers all? Damn, I'd say that area's gray
Vaskez is offline