ilmenit Posted May 25, 2012 Author Share Posted May 25, 2012 (edited) Beta4: - Details mask added /details=inputfile /details_val=value - Improved dithering algorithms - New dithering algorithm (/dither=knoll) - Dithering strength added (/dither_val=value) - /distance param replaced /euclid - new distance color function (CIEDE2000) that solves problems with "too gray" output - /noborder param removed EDIT: Source code attached, No more time today to push it to Github... RastaConverterBeta4.zip Beta4Src.zip Edited May 25, 2012 by ilmenit 2 Quote Link to comment Share on other sites More sharing options...
Goochman Posted May 25, 2012 Share Posted May 25, 2012 I get a freeimage.dll missing from my computer - where do I get that file? Quote Link to comment Share on other sites More sharing options...
emkay Posted May 26, 2012 Share Posted May 26, 2012 Just for the cause inverse.xex 1 Quote Link to comment Share on other sites More sharing options...
emkay Posted May 26, 2012 Share Posted May 26, 2012 Yeah, it's just a converter, not really taking care of the image itself... but the results can be very nice.... The changes, to make this one complete are rather low, so hopefully, G2F will get possible to handle the RastaConverter files soon . batman.xex 1 Quote Link to comment Share on other sites More sharing options...
snicklin Posted May 26, 2012 Share Posted May 26, 2012 I get a freeimage.dll missing from my computer - where do I get that file? It should be in one of the previous versions which have been attached to this thread. Quote Link to comment Share on other sites More sharing options...
snicklin Posted May 26, 2012 Share Posted May 26, 2012 With regards to Beta3, any chance of a version with no allegro as an option? If so, I'll do another BeagleBone version. Quote Link to comment Share on other sites More sharing options...
snicklin Posted May 26, 2012 Share Posted May 26, 2012 Sorry, I mean Beta4. Quote Link to comment Share on other sites More sharing options...
Xuel Posted May 26, 2012 Share Posted May 26, 2012 With regards to Beta3, any chance of a version with no allegro as an option? If so, I'll do another BeagleBone version. I merged ilmenit's latest changes into my fork. I added you as a collaborator if you'd like to upload another Beaglebone build. I also just received my own Beaglebone in the mail from Amazon a few hours ago and I just got your build running on it. I'm getting around 220 evaluations per second with only USB power. Amazing little device. Quote Link to comment Share on other sites More sharing options...
snicklin Posted May 26, 2012 Share Posted May 26, 2012 I merged ilmenit's latest changes into my fork. I added you as a collaborator if you'd like to upload another Beaglebone build. I also just received my own Beaglebone in the mail from Amazon a few hours ago and I just got your build running on it. I'm getting around 220 evaluations per second with only USB power. Amazing little device. Ahh, excellent, thanks for the merge. I'll do a new build soon, though I'm not sure when because I have a bit of overtime to do at work this weekend. Yes, it's a great bit of kit, though it would be nice if they supplied a power supply with it. I'd ordered mine from Farnell. You can get power supplies from them also if you need one. I do find that there isn't much information on the internet about the BeagleBone. Thanks for adding me as a collaborator by the way. Quote Link to comment Share on other sites More sharing options...
snicklin Posted May 27, 2012 Share Posted May 27, 2012 (edited) Beta4 is now uploaded. It appears to be quicker as I'm getting around 300 evaluations per second after 50,000 iterations, but it really depends on the picture. We may be able to bounce some ideas off each other with regards to the BeagleBone. It is a little quirky. Installed 'man' pages would be nice. Edited May 27, 2012 by snicklin Quote Link to comment Share on other sites More sharing options...
emkay Posted May 27, 2012 Share Posted May 27, 2012 Another 1000 Million evaluations picture... Changes went down to 10 million evaluations. Katze160.xex Quote Link to comment Share on other sites More sharing options...
ivop Posted May 27, 2012 Share Posted May 27, 2012 Beta4 is now uploaded. It appears to be quicker as I'm getting around 300 evaluations per second after 50,000 iterations, but it really depends on the picture. We may be able to bounce some ideas off each other with regards to the BeagleBone. It is a little quirky. Installed 'man' pages would be nice. I guess running rastaconv on a Cortex-A8 could benefit a lot from converting the usage of floats and doubles to fixed point math. Quote Link to comment Share on other sites More sharing options...
phaeron Posted May 27, 2012 Share Posted May 27, 2012 I don't think there's a lot of floating-point math left in the inner loop. I took out most of it when I put in error caching -- most of what runs now is raster program evaluation and error tallying, both of which use integer math. Quote Link to comment Share on other sites More sharing options...
Xuel Posted May 27, 2012 Share Posted May 27, 2012 (edited) Beta4 is now uploaded. I realized my fork doesn't have all the Beta4 changes since ilmenit still hasn't pushed all of them to github yet. I guess running rastaconv on a Cortex-A8 could benefit a lot from converting the usage of floats and doubles to fixed point math. EDIT: I had posted that the summing and comparing of distances were still floating point, but like phaeron said, it's integer math. You could speed up the initial distance computations and dithering but those don't take too much time. Edited May 27, 2012 by Xuel Quote Link to comment Share on other sites More sharing options...
snicklin Posted May 28, 2012 Share Posted May 28, 2012 I realized my fork doesn't have all the Beta4 changes since ilmenit still hasn't pushed all of them to github yet. Ahh, well, when you do the merge, let me know and I'll do an update. Quote Link to comment Share on other sites More sharing options...
w1k Posted May 28, 2012 Share Posted May 28, 2012 large large.xex 1 Quote Link to comment Share on other sites More sharing options...
snicklin Posted May 29, 2012 Share Posted May 29, 2012 On around version 196 of this project in the year 2025, maybe we could have it connected into a central database, with a centrally stored datastore of pictures which people have worked on. Then it stores different people's pictures after 10K, 100K, 1M, 10M, 100M etc evaluations. The user who has the best quality has their image stored, then other people can work off that. It would be a form of distributed computing. I can only dream...! Quote Link to comment Share on other sites More sharing options...
emkay Posted May 31, 2012 Share Posted May 31, 2012 36 colours in Sepia.... no interlace sepia36.xex It's from this thread: http://www.atariage.com/forums/topic/188370-doing-pictures-using-super-irg-2-and-other-ice-modes/page__st__75#entry2532005 2 Quote Link to comment Share on other sites More sharing options...
snicklin Posted May 31, 2012 Share Posted May 31, 2012 I have some new feature requests: 1) Pause. I'd just like some way that I can pause it and continue later, without stopping it and then continuing it from the command line. Maybe hitting the space bar would do this? Would there be much of an overhead in scanning the keyboard? 2) A gallery function. Could it create and store a picture after 100,000 iterations, 1M, 10M, 100M etc? This might seem a bit useless, but it would nice to be able to show comparisons on here of different pictures using different techniques/settings and how well they are converting. 3) A way of supplying a filename for the generator, rather than having to have all my files begin with "output". Quote Link to comment Share on other sites More sharing options...
Xuel Posted June 1, 2012 Share Posted June 1, 2012 Just for fun, here's another video that abuses the fact that block loads are instantaneous in Altirra and AtariWin800. (Haven't tested Atari800) - Video: Fullscreen 160x240, 4++ bpp - Audio: 4-bit 15.6kHz - Length: 1m23s - Uncompressed size: 46MB - Link: im.zip Next step is getting this working on real hardware using my Beaglebone. Need to buy some level shifters... 5 Quote Link to comment Share on other sites More sharing options...
emkay Posted June 1, 2012 Share Posted June 1, 2012 Just for fun, here's another video that abuses the fact that block loads are instantaneous in Altirra and AtariWin800. (Haven't tested Atari800) - Video: Fullscreen 160x240, 4++ bpp - Audio: 4-bit 15.6kHz - Length: 1m23s - Uncompressed size: 46MB - Link: im.zip Next step is getting this working on real hardware using my Beaglebone. Need to buy some level shifters... LOL Quote Link to comment Share on other sites More sharing options...
emkay Posted June 1, 2012 Share Posted June 1, 2012 How long did it take to render the images? Quote Link to comment Share on other sites More sharing options...
snicklin Posted June 1, 2012 Share Posted June 1, 2012 My BeagleBone won't work. As soon as I kill the Putty session, rastaconverter is killed. I can put it in the background and I can use the Linux "screen" command, but it doesn't matter what I do, due to a bug in Angstrom, it'll kill my processes. I need to work a way around this.... , I want to leave it processing all day and night. Quote Link to comment Share on other sites More sharing options...
ilmenit Posted June 1, 2012 Author Share Posted June 1, 2012 (edited) Just for fun, here's another video that abuses the fact that block loads are instantaneous in Altirra and AtariWin800. (Haven't tested Atari800) ... Next step is getting this working on real hardware using my Beaglebone. Need to buy some level shifters... Oh my god... I can't belive my eyes and ears! Btw, next time try to play with higher values of /dither_val (=2 or 3) if your images get too gray. It works especially better with 'chess' dithering. Also /distance=ciede may solve the grayness problem, but the initial preprocess can take a lot of time then. Edited June 1, 2012 by ilmenit Quote Link to comment Share on other sites More sharing options...
GroovyBee Posted June 1, 2012 Share Posted June 1, 2012 Just for fun, here's another video that abuses the fact that block loads are instantaneous in Altirra and AtariWin800. Brilliant! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.