tesseract::ShiroRekhaSplitter Class Reference

#include <devanagari_processing.h>

List of all members.

Public Types

enum  SplitStrategy { NO_SPLIT = 0, MINIMAL_SPLIT, MAXIMAL_SPLIT }

Public Member Functions

 ShiroRekhaSplitter ()
virtual ~ShiroRekhaSplitter ()
bool Split (bool split_for_pageseg)
void Clear ()
void RefreshSegmentationWithNewBlobs (C_BLOB_LIST *new_blobs)
bool HasDifferentSplitStrategies () const
void set_segmentation_block_list (BLOCK_LIST *block_list)
void set_global_xheight (int xheight)
void set_perform_close (bool perform)
Pix * splitted_image ()
void set_orig_pix (Pix *pix)
Pix * orig_pix ()
SplitStrategy ocr_split_strategy () const
void set_ocr_split_strategy (SplitStrategy strategy)
SplitStrategy pageseg_split_strategy () const
void set_pageseg_split_strategy (SplitStrategy strategy)
BLOCK_LIST * segmentation_block_list ()
void DumpDebugImage (const char *filename) const

Static Public Member Functions

static int GetModeHeight (Pix *pix)

Static Public Attributes

static const int kUnspecifiedXheight = -1

Member Enumeration Documentation

Enumerator:
NO_SPLIT 
MINIMAL_SPLIT 
MAXIMAL_SPLIT 

Constructor & Destructor Documentation

tesseract::ShiroRekhaSplitter::ShiroRekhaSplitter (  ) 
tesseract::ShiroRekhaSplitter::~ShiroRekhaSplitter (  )  [virtual]

Member Function Documentation

void tesseract::ShiroRekhaSplitter::Clear (  ) 
void tesseract::ShiroRekhaSplitter::DumpDebugImage ( const char *  filename  )  const
int tesseract::ShiroRekhaSplitter::GetModeHeight ( Pix *  pix  )  [static]
bool tesseract::ShiroRekhaSplitter::HasDifferentSplitStrategies (  )  const [inline]
SplitStrategy tesseract::ShiroRekhaSplitter::ocr_split_strategy (  )  const [inline]
Pix* tesseract::ShiroRekhaSplitter::orig_pix (  )  [inline]
SplitStrategy tesseract::ShiroRekhaSplitter::pageseg_split_strategy (  )  const [inline]
void tesseract::ShiroRekhaSplitter::RefreshSegmentationWithNewBlobs ( C_BLOB_LIST *  new_blobs  ) 
BLOCK_LIST* tesseract::ShiroRekhaSplitter::segmentation_block_list (  )  [inline]
void tesseract::ShiroRekhaSplitter::set_global_xheight ( int  xheight  )  [inline]
void tesseract::ShiroRekhaSplitter::set_ocr_split_strategy ( SplitStrategy  strategy  )  [inline]
void tesseract::ShiroRekhaSplitter::set_orig_pix ( Pix *  pix  ) 
void tesseract::ShiroRekhaSplitter::set_pageseg_split_strategy ( SplitStrategy  strategy  )  [inline]
void tesseract::ShiroRekhaSplitter::set_perform_close ( bool  perform  )  [inline]
void tesseract::ShiroRekhaSplitter::set_segmentation_block_list ( BLOCK_LIST *  block_list  )  [inline]
bool tesseract::ShiroRekhaSplitter::Split ( bool  split_for_pageseg  ) 
Pix* tesseract::ShiroRekhaSplitter::splitted_image (  )  [inline]

Member Data Documentation


The documentation for this class was generated from the following files:
Generated on Thu Feb 2 08:19:27 2012 for Tesseract by  doxygen 1.6.3