It is currently Mon Oct 20, 2014 4:37 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Fri Nov 12, 2010 4:13 pm 
Offline
User avatar
 WWW  Profile

Joined: Thu Jan 10, 2008 7:45 pm
Posts: 472
Location: Treddle's Wharf, Chigley
Francis' BBC Micro Image Convertor has proved inspirational in these parts - I decided to try doing something similar (but nowhere near as good - or as fast!) as a plug-in for The GIMP:

http://kecskebak.blogspot.com/2010/11/bbc-on-bbc.html


Top
 
PostPosted: Wed Nov 24, 2010 3:49 pm 
Offline
User avatar
 WWW  Profile

Joined: Wed Jan 09, 2008 10:23 am
Posts: 359
Location: Glasgow, Scotland
Nice work on that, although I'm surprised that you didn't include the Atkinson dithering method (one of my favourites). You can get info on it here: http://www.tinrocket.com/projects/progr ... ics/00158/

Kind regards,

Francis


Top
 
PostPosted: Thu Nov 25, 2010 9:16 am 
Offline
User avatar
 WWW  Profile

Joined: Thu Jan 10, 2008 7:45 pm
Posts: 472
Location: Treddle's Wharf, Chigley
The absence of Atkinson is entirely down to laziness on my part - it would be very easy to add, but at the moment I get my divisor by summing the matrix values instead of storing it separately, which I'd need to do for Atkinson. :oops:

You're right about Atkinson being good - I've used it a lot in the BBC Micro Image Converter.


Top
 
PostPosted: Thu Nov 25, 2010 11:00 am 
Offline
User avatar
 WWW  Profile

Joined: Wed Jan 09, 2008 10:23 am
Posts: 359
Location: Glasgow, Scotland
For Image2BBC I just store the error diffusion matrices as fractions so no need to sum the numbers up and work out the divisor.

The only other thing I will say is that because the Atkinson dithering method doesn't diffuse the full error you may hit a problem with your dithering strength algorithm depending on how you have implemented it. If my memory serves I had to do a special exception for Atkinson dithering.

Kind regards,

Francis


Top
 
PostPosted: Thu Nov 25, 2010 1:05 pm 
Offline
User avatar
 WWW  Profile

Joined: Thu Jan 10, 2008 7:45 pm
Posts: 472
Location: Treddle's Wharf, Chigley
Many thanks for your advice Francis. Now you've pointed it out to me it's obvious that I should store fractions instead of integers for matrix values :oops:


Top
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron