Hi,

On Fri, Feb 17, 2006 at 05:40:27PM +0100, Antonio Diaz Diaz wrote:
> >I've noticed that GNU Ocrad 0.14 implements reading of color images and
> >looked at the code (without testing it). You seem to use the formula
> >
> >greyvalue = min(red, green, blue)
> >
> >which does not at all work like the human eye.
> 
> You are right in that it does not at all work like the human eye, but I 
> tried several formulas and this gave the best results for detecting 
> color letters on a white background. Your formulas seem to give better 
> results for images of real objects.

I did not test it, but I am quite sure that your formula performs poorly
when having colored text on a colored background. On a white background
your formula is indeed the best choice.

Do as you like, I just wanted to make sure this was not done by
accident. :-)

Erik


_______________________________________________
Bug-ocrad mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-ocrad

Reply via email to