X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,db78abe5177a5c67 X-Google-Attributes: gidf996b,public X-Google-ArrivalTime: 2001-04-20 05:14:44 PST Path: supernews.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!colt.net!news.tele.dk!TDC-Europe.POSTED!ip67.hgnxr2.ras.tele.dk!not-for-mail From: "Christian 'CeeJay' Jensen" Newsgroups: alt.ascii-art Subject: Re: Gwyneth Paltrow - Jave image->ascii conversion .. and discussion of algorithms Date: Fri, 20 Apr 2001 14:15:40 +0200 Organization: Posted through some European Outpost of TDC Internet A/S Lines: 61 Message-ID: <9bp97i$kej$1@news.inet.tele.dk> References: <9bi18c$s21$1@news.inet.tele.dk> <3ADCB3E4.3404E133@rz.uni-karlsruhe.de> <987593119.12602@itz.pp.sci.fi> <3AE01CDE.85C9373B@rz.uni-karlsruhe.de> NNTP-Posting-Host: ip67.hgnxr2.ras.tele.dk Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: news.inet.tele.dk 987768882 20947 195.215.226.67 X-Complaints-To: the appropriate department of the poster's provider X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: supernews.google.com alt.ascii-art:5426 > This is a very interesting text. > You are right, he uses a 3x2 grid, but he does not assign grey values to > this grid - it is only 1 or 0, like that: > > L -> 10 / -> 01 ( -> 01 > 10 10 10 > 11 10 01 > > My 2x2-algorithm uses greyscales for the 4 areas - schematically: > > L -> 50 / -> 04 ( -> 33 > 88 40 33 > (in the algorithm there are 256 values for brightness of each area) I would like to see what change a 3 x 3 grid would do. could the fuzzylogic algorithm i mentioned be implemented as a 6 x 9 (just an example.. the real grid should be the size of the amount of pixels a char takes) or perhaps as half the size of this .. I think it could. [SNIP - Mona Lisa] > You have to decide for yourself which one looks better. Each of them > has it's advantages and disadvantages (I don't like the lines > (e.g. "----") in my conversion... I like yours better Markus. And I don't like the ---- 's either. I feel there also is a need to restrict the 2x2 algorithm to certain characthers .. just like the 1x1 algorithm. This also makes it able to make stylized images like the picture of Gwyneth Paltrow. Further improvements I can think of : Find the perfect set of chars to use .. I'm currently doing this with the 1x1 .. I have been able to get a few improvements so far. And find a way to interpolate two grids .. F.x if a grid needed a line at the very top , it might in some cases be better if the _ was used in the grid/cell above it .. the current algorithms do not consider that. Perhaps a algorithm could do a larger pixelgrid to a larger chargrid .. f.x if your 2x2 algorithm instead was 4x4 to 2x2 chars or maybe just a 3x1 char grid _ |_| |_| |_| Since most "crossover" chars have to do with height > I think the greatest problem are structures like "..." or "---". The > human eye tries to connect them and makes lines appear in the image that > where not there in the original one. As I said .. try to restrict the charset for the algorithm