Re: [Jocr-devels] Bug - No contrast in image causes division by zero
Status: Alpha
Brought to you by:
joerg10
|
From: Igor F. [Contr] <ig...@he...> - 2009-03-30 19:55:45
|
Dear Joerg, I've tried building the libPgm2asc.a library in 0.47 (by the way - thank you for adding it back), but no success so far. Attached is the output of "make libs". Am I missing something obvious? Thank you, Igor On Sun, 2009-03-29 at 17:48 +0200, Joerg Schulenburg wrote: > thanks for the report. Will be fixed in 0.47 > > Joerg > > On Wed, 25 Feb 2009, Mark Hammond wrote: > > >> When an image with no contrast is processed, the thresholding function > >> in otsu.c divides by zero: > > > > ... > > > >> Attached is a test image that causes the problem and a proposed patch > >> to fix it. > > > > I can confirm this; the spambayes project is using gocr to try and detect > > image spam, and the gocr process crashed attempting to scan the attachments > > to this message - which is the first time I've seen happen :) > > > > Cheers, > > > > Mark > > > > > > ------------------------------------------------------------------------------ > > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > > -Strategies to boost innovation and cut costs with open source participation > > -Receive a $600 discount off the registration fee with the source code: SFAD > > http://p.sf.net/sfu/XcvMzF8H > > _______________________________________________ > > Jocr-devels mailing list > > Joc...@li... > > https://lists.sourceforge.net/lists/listinfo/jocr-devels > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Jocr-devels mailing list > Joc...@li... > https://lists.sourceforge.net/lists/listinfo/jocr-devels |