Re: image 2 ascii logo
From Markus Gebhard <ukg...@rz.uni-karlsruhe.de>
· alt.ascii-art
· 27 Apr 2001 08:38 · View full thread
· report
Eli the Bearded wrote: > Will you be sharing your algorithms? I don't care much about the > actual code, just the methods behind it. I consider releasing the source code of the image2ascii part of Jave later this year. But the algorithms in there are quite easy, I have already discussed them in another thread in this group: "Re: Gwyneth Paltrow - Jave image->ascii conversion .. and discussion of algorithms" I just take 4 (or 1 - depending on the algorithm one uses) pixels from the origional image and try to find the best fit in a table. In this table (almost) all ascii characters have asigned values for their grey shade in each quarter. So there is only one tricky part: Find a good table with those gray values. I have written a program to create those tables and I was very surprised that: a) the results of the 2x2 conversion is that good and b) when you take 3x3 pixels it does not work any longer. So my algorithms are based on gray shades which only seem to work for up to a grid of 2x2, while other algorithms are based on a black/white decission. E.g. you can take a 3x3 grid and asign black/white pixels for each region to each ascii character: +---+ | # | |###| |# #| +---+ For future enhancements in Jave's image2ascii tool, I consider writing additional algorithms by a) trying grey shades in a 2x3 or 3x2 raster b) using the black/white methode with some ideas I have So now that I have put my cards on the table, what are your ideas and experiences? Markus
Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,7f7d1aa9b39cc9f5 X-Google-Attributes: gidf996b,public X-Google-ArrivalTime: 2001-04-27 01:38:22 PST Path: newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-fra.pop.de!schlund.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail From: Markus Gebhard <ukg...@rz.uni-karlsruhe.de> Newsgroups: alt.ascii-art Subject: Re: image 2 ascii logo Date: Fri, 27 Apr 2001 10:38:28 +0200 Organization: University of Karlsruhe, Germany Lines: 42 Message-ID: <3AE...@rz.uni-karlsruhe.de> References: <eli$010...@qz.little-neck.ny.us> <3AE...@rz.uni-karlsruhe.de> <eli$010...@qz.little-neck.ny.us> NNTP-Posting-Host: wn4-jarjar.wn4.uni-karlsruhe.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.rz.uni-karlsruhe.de 988360701 4961 172.20.12.141 X-Complaints-To: use...@rz.uni-karlsruhe.de X-Mailer: Mozilla 4.77 [en] (Win98; U) X-Accept-Language: en Xref: newsfeed.google.com alt.ascii-art:5490
Related ASCII art in the Gallery
Explore these categories from our collection of 11,000+ artworks:
_________
/___ ___\
//@@@\ /@@@\\
\\@@@/ \@@@//
\___ " ___/
| - |
\_/ jrjc ______
/|_||_\`.__
( _ _ _\
=`-(_)--(_)-'
hjw .="=. _/.-.-.\_ ( ( o o ) ) |/ " \| \'---'/jgs /`"""`\\
_________ | _____ |\ | |\ ___| | \ | | | | | | | | |___| | | \ | |____\| | \|_________| Andy Johnson
__ _ o'')}____// `_/ ) (_(_/-(_/
[>====]
Make your own ASCII art
Turn images, text or 3D into ASCII, or draw your own – right in your browser.
About this message.
This message was posted publicly to the newsgroup
alt.ascii-art
in 2001 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked.
The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can.
Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.
Report this message
Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.