Tesseract  3.02
tesseract::BlobGrid Class Reference

#include <blobgrid.h>

Inheritance diagram for tesseract::BlobGrid:
tesseract::BBGrid< BLOBNBOX, BLOBNBOX_CLIST, BLOBNBOX_C_IT > tesseract::GridBase tesseract::AlignedBlob tesseract::CCNonTextDetect tesseract::StrokeWidth tesseract::TabFind tesseract::ColumnFinder

List of all members.

Public Member Functions

 BlobGrid (int gridsize, const ICOORD &bleft, const ICOORD &tright)
virtual ~BlobGrid ()
void InsertBlobList (BLOBNBOX_LIST *blobs)

Detailed Description

Definition at line 33 of file blobgrid.h.


Constructor & Destructor Documentation

tesseract::BlobGrid::BlobGrid ( int  gridsize,
const ICOORD bleft,
const ICOORD tright 
)

Definition at line 24 of file blobgrid.cpp.

  : BBGrid<BLOBNBOX, BLOBNBOX_CLIST, BLOBNBOX_C_IT>(gridsize, bleft, tright) {
}
tesseract::BlobGrid::~BlobGrid ( ) [virtual]

Definition at line 28 of file blobgrid.cpp.

                    {
}

Member Function Documentation

void tesseract::BlobGrid::InsertBlobList ( BLOBNBOX_LIST *  blobs)

Definition at line 34 of file blobgrid.cpp.

                                                  {
  BLOBNBOX_IT blob_it(blobs);
  for (blob_it.mark_cycle_pt(); !blob_it.cycled_list(); blob_it.forward()) {
    BLOBNBOX* blob = blob_it.data();
    if (!blob->joined_to_prev())
      InsertBBox(true, true, blob);
  }
}

The documentation for this class was generated from the following files: