Tesseract 3.01
tesseract::ConComp Class Reference

#include <con_comp.h>

List of all members.

Public Member Functions

 ConComp ()
virtual ~ConComp ()
ConCompPtHead ()
int Left () const
int Top () const
int Right () const
int Bottom () const
int Width () const
int Height () const
bool LeftMost () const
bool RightMost () const
void SetLeftMost (bool left_most)
void SetRightMost (bool right_most)
int ID () const
void SetID (int id)
int PtCnt () const
bool Add (int x, int y)
bool Merge (ConComp *con_comp)
void Shift (int dx, int dy)
ConComp ** Segment (int max_hist_wnd, int *concomp_cnt)
int * CreateHistogram (int max_hist_wnd)
int * SegmentHistogram (int *hist_array, int *seg_pt_cnt)

Static Public Member Functions

static int Left2RightComparer (const void *comp1, const void *comp2)
static int Right2LeftComparer (const void *comp1, const void *comp2)

Constructor & Destructor Documentation

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

Member Function Documentation

bool tesseract::ConComp::Add ( int  x,
int  y 
)
int tesseract::ConComp::Bottom ( ) const [inline]
int * tesseract::ConComp::CreateHistogram ( int  max_hist_wnd)
ConCompPt* tesseract::ConComp::Head ( ) [inline]
int tesseract::ConComp::Height ( ) const [inline]
int tesseract::ConComp::ID ( ) const [inline]
int tesseract::ConComp::Left ( ) const [inline]
static int tesseract::ConComp::Left2RightComparer ( const void *  comp1,
const void *  comp2 
) [inline, static]
bool tesseract::ConComp::LeftMost ( ) const [inline]
bool tesseract::ConComp::Merge ( ConComp con_comp)
int tesseract::ConComp::PtCnt ( ) const [inline]
int tesseract::ConComp::Right ( ) const [inline]
static int tesseract::ConComp::Right2LeftComparer ( const void *  comp1,
const void *  comp2 
) [inline, static]
bool tesseract::ConComp::RightMost ( ) const [inline]
ConComp ** tesseract::ConComp::Segment ( int  max_hist_wnd,
int *  concomp_cnt 
)
int * tesseract::ConComp::SegmentHistogram ( int *  hist_array,
int *  seg_pt_cnt 
)
void tesseract::ConComp::SetID ( int  id) [inline]
void tesseract::ConComp::SetLeftMost ( bool  left_most) [inline]
void tesseract::ConComp::SetRightMost ( bool  right_most) [inline]
void tesseract::ConComp::Shift ( int  dx,
int  dy 
)
int tesseract::ConComp::Top ( ) const [inline]
int tesseract::ConComp::Width ( ) const [inline]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines