Click to See Complete Forum and Search --> : Smoothing Algorithm
Sastraxi
Feb 3rd, 2001, 04:59 PM
Cheers all, and here's my problem:
I'm trying to make a better quality blown up image for use with fullscreen 2d games (eg. Kreed's SuperEagle in SNES9X or ZSNES)
I'm doing it pixel by pixel, and a list of rules follows.
I'm using the rules:
If the pixels to the top & left are the same, put the colour in quadrant #1 ( top-left when blown up )
If the pixels to the top & right are the same, put the colour in quadrant #2 ( top-right when blown up )
If the pixels to the bottom & left are the same, put the
colour in quadrant #3
If the pixels to the bottom & right are the same, put the colour in quadrant #4
That is what I'm doing so far, and it seems to do a good job, but how will it do for every picture?
Here is what I ask of you:
1. Send me a 320x240 picture from an emulator screenshot (or a computer rpg or something like that)
EMAIL: sastraxitech@programmer.net
2. Or post it on the forums here.
3. Wait to get it back and tell me if you like the results.
kedaman
Feb 3rd, 2001, 05:41 PM
ok
Sastraxi
Feb 3rd, 2001, 08:49 PM
Thanks, and thank you for taking my advice.
I'll post it back here in a sec.
To the left is the unsmoothed
To the right is the smoothed.
This isnt a good example for various reasons, but
here is an example that shows off the features nicely:
kedascrn.gif
examscrn.gif
Are the attachments, kedascrn being yours, kedaman.
Enjoy!
Cheers,
Sastraxi
Sastraxi
Feb 3rd, 2001, 08:57 PM
Kedascrn
Sastraxi
Feb 3rd, 2001, 09:22 PM
Here are the pics, zipped so I can upload them:
kedaman
Feb 4th, 2001, 05:31 AM
I don't see any links Sas, maybe you tried to upload more than the 100k limit?
Sastraxi
Feb 4th, 2001, 09:27 AM
Yeah... the zip's 237 KB, the jpg 132 KB, the bmp 1.22 mb... etc....
So I zipped them and I'm sending them over to ya.
Zero
Feb 7th, 2001, 05:20 PM
I've been working on something like that for a while. It extrapolates curves and lines in a bitmap, kind of like CorelDraw's trace function. I wrote it to clean up low-rez digital camera pictures. I'm having lots of problems with it, though. Oh well. Another project for the back burner...
~Zero the Inestimable
Sastraxi
Feb 7th, 2001, 07:16 PM
So now you're copying me, eh? :)
Just joking, good luck to you.
I hope it works out, like it did for me.
(I can send you my algorithm if u want)
MoMad
Feb 9th, 2001, 03:30 PM
heh, i am lost in this discussion...
whats the speed of ur algorythm? is it a slow one... and does ur algorythm do anything about the file size?
i dont know if those are the right q to ask, but i wanna see some of that testing stuff... hey do you have icq?
Sastraxi
Feb 9th, 2001, 05:08 PM
1. Since it uses SetPixelV and Getpixel, it takes about 9 seconds/frame. (Soon to be changed to get & setbitmapbits) This is on a Celeron 533 w/128 mb Ram and an S3 Savage4 card. The conversion is 24bit from 320x240 to 640x480.
2. My algorithm doesn't save, but if it did, it would about quadruple the file size. Its meant just to be written to the screen, like on an Emulator. It looks okay, if you havent downloaded the zip then download it now.
My ICQ is 84479333.
MoMad
Feb 9th, 2001, 05:44 PM
where is it?? cant find the zip
Sastraxi
Feb 9th, 2001, 08:11 PM
Here it is:
HarryW
Feb 9th, 2001, 08:50 PM
Hey that's pretty cool. Why aren't they all the same image?
Sastraxi
Feb 9th, 2001, 09:41 PM
That one sux compared to my latest.... although my 2nd latest makes everything 1 pixel in 320x240 disappear when enlarged....
I'll post the latest here, and to HarryW, I thought they were all the same. If you want to TRULY compare, enlarge the image unprocessed.bmp or something like that x2. Then you can see the difference clearly.
MoMad
Feb 9th, 2001, 11:34 PM
cool im checking it out.
MoMad
Feb 9th, 2001, 11:37 PM
hey i dont see a big difference between the super eagle mode and smoothing engine except for file size,,,
cool.
MoMad
Feb 9th, 2001, 11:48 PM
Yo Kedaman, how bout moving out of Geo****ies man!! they suck and they will [try to] own ur hard work!!
kedaman
Feb 10th, 2001, 04:39 AM
`Yeah i know i should but i'm lazy, Any suggestions where to?
Sastraxi
Feb 10th, 2001, 08:31 AM
www.tripod.lycos.com
register under kedaman
and then your address will be:
kedaman.tripod.com
MoMad
Feb 10th, 2001, 08:27 PM
http://www.virtualave.net
register under kedaman
and then your address will be:
kedaman.virtualave.net
or just get a http://go.to/kedaman
or http://i.am/kedaman
or fly.to, welcome.to, etc.... or even a kedaman.cjb.net
the possibilities are endless... try to get something that supports scripts... (cgi, perl, php, etc..) and has infinites or lots of space....
make a choice here:
http://freeweblist.freeservers.com/
they have a good list of many free hosts... and the list grows....
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.