Re: image to ascii converter that takes the shape of character into account
From Markus Gebhard <mar...@jave.de>
· alt.ascii-art
· 25 Jun 2008 21:13 · View full thread
· report
Hi,
with JavE6.0rc1 using "Edge Detection" conversion algorithm I get this
result:
_,,---
_.-'
,'
,' _,.----"`----._
,' ,' \
,' ,' ,,-----.. | ,-
.' / ,'. __.. | | ,-' ,-' ,.
| | / '`' ,' / / ,' ,-' ,-'
| | | ,' _' / ,' ,-' ,'
| `. `----' ,' ,' ,' ,' `-'
\ `--.....--' ,' ,' ,' ,'
\ ,-' ,' ,-' ,'
`-.._____,,.--' / / ,'
- ,' ,'
,' ,'
,' ,' ,'
/ ,'
/ / <
.<' / ,
|-> / .^
/ ,' ,'
,[ /
/ ,'| /
/ || _/
.' / |,
,' . ,'|
' | ,' ||
<`,' .\
, . / ,' |
',' ||
/ |
/ /
/ /
, |
/
|
.'
|
| /
'-------.._ ,.. ,'. /| /
/' ,-' | ``- / | /
,-' / / /\ ,'.' /
,' | ,' / `. / | /
/' `..,' ' ` / '/
. ..-------''
, ,\
,._ .' '.'
| \ | ,' |
| ,' | :`..L...
+^\ | / |
| / | __ / \
/,' '-''' <
(I have split up and rearanged the conversion result w/o altering its
ascii content, because I am pretty sure the lines would break otherwise)
Regards,
Markus
for...@anonymous.cybertrench.com wrote:
> Hi.
>
> A couple of years ago, there was a challenge for the best ascii art
> generator
> (image to ascii art) I don't know the results though.
>
> I searched the net, but all stuff I found works by 'character
> brightness' and treats characters as pixels. The result is either very
> huge images - loss of all details, nothing that would ever fit into an
> neat email signature or similar.
> Hand creating is always an option of course, but I would like to know
> if anyone knows a good program for line-art to ASCII conversion.
>
> Years ago I wrote my own software for this, its a part of motiontrack
> (http://motiontrack.sourceforge.net) and attempts to find the best
> possible ASCII character for every part of the image by weighted
> pattern matching.
>
> I am thinking about getting that project out of the fridge and
> improving it a bit. Is there anything out there that's better, so I
> can compare results?
>
>
> regards
>
> Corvus
>
> PS: obascii :
>
> this is the (crappy) source image
> http://cybertrench.com/test2.png
>
> this is the result of a conversion:
>
>> menhance test2.png -q 75 -s 210 x.png >/dev/null 2>&1;
>> masciiart x.png 2>/dev/null |sed -e 's/^/> /'
>>
>> _/
>> _/' ,/'
>> /' ," ,*'
>> _we^^m _/ ,/ ,/
>> _m^~ j' ,/ ,/
>> _*' _/ _/ _/'
>> _/' ,' /' /'
>> j' _,am*mm--ww_ p' ,~ ,"
>> p' w^~ ~\_ _f /' /'
>> p ," " ,' _/ _/
>> j' / _mmmemw_ l j' j' j'
>> ' f _/' \ I j' / /
>> ] j p' l_a*mq` L f ' _/ /
>> ' ' j' #L F j' q' _, ,' j'
>> j j I ~ / f f j@ ,' /'
>> I t j~ _f / jQ' r' /
>> | b_ "^^^" _a' / j#F ' f
>> ] "w,_ __jm~ _/ q#f _ ,'
>> , ~"""~~ _/' _## Q ~
>> ~w _/' /dV^ _@ /
>> \w_ __m^' { #, # &
>> ~"^^mm^"~ ` q@I #' f
>> / #Q[ d' _A , ,
>> _^ Jfq j( _g' q ' _'
>> ' f j@1 #' ._______ -l & f
>> ` j _#"B' &' ~~"g _jM^w j 1 qQ f
>> / ' /A' # jY a' r~ ' j d^^ fI /
>> / 7 j0Y f # _/ p f H_ j I q'
>> ' jM ' j' #H /' j' j j ] ' I [
>> 7 /Y # #'j, ,' ! j' I \_ I [j
>> '/7 f ,/f [[ _/ [__,/ ' \_ j' Lf
>> ]/ ' ' ,jMY N j' __,, ~~~ ` I "
>> 7'< j',#'j' N ^^^^^"""~~~
>> '/ F d' [ |7
>> j j'j' d ]E
>> ' ##' RI
>> ` j#' II , , j'
>> 4' N' _ ' /7
>> f j] l\w ] / I
>> # II I [ I J '
>> /' j I ' L g__j_
>> j ] Lj/ j _' ~T~""'
>> ' ' 4~"! I f ]
>> / j f [ f _
>> ' f j j _,mem^ j `
>> ' mM |"~ `
>> j
>> I
>> '
>
> (i hope google news doesnt mess this up)
Original message headers
X-Google-Thread: f996b,b9716e59e5fa9c6d X-Google-Attributes: gidf996b,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Wed, 25 Jun 2008 23:13:40 +0200 From: Markus Gebhard <mar...@jave.de> User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 Newsgroups: alt.ascii-art Subject: Re: image to ascii converter that takes the shape of character into account References: <598...@p39g2000prm.googlegroups.com> In-Reply-To: <598...@p39g2000prm.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 155 Message-ID: <4862b50c$0$6560$9b4...@newsspool3.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 25 Jun 2008 23:13:48 CEST NNTP-Posting-Host: a738d32c.newsspool3.arcor-online.net X-Trace: DXC=<JCfS6Z=3\4TQL:hoD@>T?McF=Q^Z^V384Fo<]lROoR18kF<OcfhCO;n1M_i?Dl>U<M1^;m88?`?5iCV_^mc_k:>[:=6<;7_VN5FhmDcKMGl8: X-Complaints-To: use...@arcor.de Xref: g2news1.google.com alt.ascii-art:109
Related ASCII art in the Gallery
Explore these categories from our collection of 11,000+ artworks:
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 2008 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.