X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,b639181160774d8d X-Google-Attributes: gidf996b,public X-Google-ArrivalTime: 2001-10-01 15:29:53 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!feed.textport.net!news.uni-stuttgart.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail From: Markus Gebhard Newsgroups: alt.ascii-art Subject: Re: Nokia 8210 Date: Tue, 02 Oct 2001 00:29:37 +0200 Organization: University of Karlsruhe, Germany Lines: 66 Message-ID: <3BB8EE51.38A2D080@rz.uni-karlsruhe.de> References: <2GNs7.25353$Lc6.1427451@news1.cableinet.net> <9pamf7$h3u3l$4@ID-39741.news.dfncis.de> 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 1001975391 8621 172.20.12.141 X-Complaints-To: usenet@rz.uni-karlsruhe.de X-Mailer: Mozilla 4.78 [en] (Win98; U) X-Accept-Language: en Xref: archiver1.google.com alt.ascii-art:8253 Hello Michael, Michael Schierl wrote: [...] > can Jave correct THAT? > > > > >i;rXSaZ000BB0888ZZZZZZZZaZaaZ222aZ80BB0000ZZ8ZZaZZZ880WMWB2 > the space at the beginning was converted to a newline. But how many > space? > > > > >iMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMZMMMMMM; > > dto > > > > >MMM@8r,BMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM@WWW0BB08ZZaZBa: > >MMM > 3 lines - lots of guessing where are how many spaces between. A few days ago I have written a simple algorithm to correct documents with wrapped lines (this algorithm will be part of JavE 2.0). Unfortunately it only works when some assumptions are true for the wrapped image: - there is only one line break in each line - each (correct) line has a character different from [space] at the first and last position - each line is wrapped This is true for about 30% of the wrapped images I have seen in this newsgroup. However it is not true for this nokia image. I guess there is no algorithm that can fix this one. By applying my algorithm I can make out a few shapes here and there: MMBBWWBWBBWWB8BMMaXX;: 0WBZ80BWWWWBBBB0B0BZaBMMB::..;ZB@M. MMBBWWBWWBBWW@0ZWMZaaa7aZSi MMM@WWMMMMW00WMMMMM8Z2 BMW;rBMB2:XW MMWWWWWWWWWWWBWW88MBaZ2SrrSS, rMMMMMB ,MMMMW S27iWM8;ZMMr8Mr MMBWWBWBWWBBWBWW@BZWM82Z2XSaZ. MMMMMMM7 ;WWa7aMM2:XrZ; WMBWWWWBWWWBWWBWWWW88M@ZZZS77;, BMMMMMMMMMMMM8ZWMMM;iS7r. ZMWWWWWWWWWWWBBWWB@@W00@MZ2S227ri ,MMMMMMMMMMMMM8..;rii. SMWWWWWWWWWWWWWWWWWWW@WB0@MW82SX77; ,X0BBZX. .i;: 7MWBBWWWWWWBBBBBWBBBWBBW@B00MM@0ZSriii, . iMWWWWBWWWWWWWWBBWWBWWWWWWWWWB0WMMMMW8Xri,. But the overall result still is crappy... I have no idea how to fix it - neither by hand nor by an algorithm. It is too complex and there are by far too many possibilities how to combine the lines... Markus > [...] > > MMM82r2 > >,MMMM@MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWW@@WW08ZZZZZZZZZZZaaaaa2222XZM . iM > >M2 > and again. > and some more times. > > I tried to reconvert it by hand quickly, but... no way. I did not > manage it to look like a mobile phone, although i knew where the real > line wraps were - at the empty lines and at those beginning with > spaces. > And I do not want to spend much time for that. > > Michael.