/home/rays/src/opensrc/tesseract-ocr/classify/speckle.h File Reference

#include "baseline.h"
#include "ratngs.h"

Go to the source code of this file.

Functions

void AddLargeSpeckleTo (BLOB_CHOICE_LIST *Choices)
BOOL8 LargeSpeckle (TBLOB *Blob)

Function Documentation

void AddLargeSpeckleTo ( BLOB_CHOICE_LIST *  Choices  ) 

This routine adds a null choice to Choices with a rating equal to the worst rating in Choices plus a pad. The certainty of the new choice is the same as the certainty of the worst choice in Choices. The new choice is added to the end of Choices.

Globals:

Parameters:
Choices choices to add a speckle choice to
Returns:
New Choices list with null choice added to end.

Exceptions: none History: Mon Mar 11 11:08:11 1991, DSJ, Created.

BOOL8 LargeSpeckle ( TBLOB blob  ) 

This routine returns TRUE if both the width of height of Blob are less than the MaxLargeSpeckleSize.

Globals:

Exceptions: none History: Mon Mar 11 10:06:49 1991, DSJ, Created.

Parameters:
Blob blob to test against speckle criteria
Returns:
TRUE if Blob is speckle, FALSE otherwise.
Generated on Thu Feb 2 08:19:22 2012 for Tesseract by  doxygen 1.6.3