PBLOB Class Reference

#include <polyblob.h>

Inheritance diagram for PBLOB:

ELIST_LINK List of all members.

Detailed Description

Class for dealing with a polygonal blob, outline, & bounding box.

Definition at line 32 of file polyblob.h.

Public Member Functions


Constructor & Destructor Documentation

PBLOB::PBLOB (  )  [inline]

Definition at line 35 of file polyblob.h.

00035             { 
00036     }                            //empty constructor

PBLOB::PBLOB ( OUTLINE_LIST *  outline_list  ) 

PBLOB::PBLOB ( C_BLOB cblob,
float  xheight 
)


Member Function Documentation

float PBLOB::area (  ) 

void PBLOB::baseline_denormalise ( const DENORM denorm  ) 

Referenced by WERD::baseline_denormalise().

PBLOB* PBLOB::baseline_normalise ( ROW row,
DENORM denorm 
)

Referenced by compare_blobs().

BOX PBLOB::bounding_box (  ) 

Referenced by WERD::baseline_normalise_x(), blob_comparator(), blob_noise_score(), block_space_stat(), crude_match_blobs(), gblob_bounding_box(), make_epaper_choice(), make_pseudo_word(), process_selected_blobs(), row_space_stat(), separate_underlines(), show_point(), split_and_recog_word(), test_underline(), unrej_good_chs(), word_blob_quality(), word_char_quality(), and write_shm_text().

void PBLOB::de_dump ( FILE *  f  )  [inline]

Definition at line 78 of file polyblob.h.

00079                           {
00080       outlines.de_dump (f);
00081     }

void ELIST_LINK::de_serialise_asc ( FILE *  f  )  [inherited]

Reimplemented in ICOORDELT.

Definition at line 39 of file elst.cpp.

References ABORT, ERRCODE::error(), and SERIALISE_LINKS.

00040                                            {
00041   SERIALISE_LINKS.error ("ELIST_LINK::de_serialise_asc", ABORT,
00042     "Don't call this, override!");
00043 }

void PBLOB::dump ( FILE *  f  )  [inline]

Definition at line 73 of file polyblob.h.

00074                        {
00075       outlines.dump (f);
00076     }

PBLOB::make_serialise ( PBLOB   ) 

void PBLOB::move ( const FCOORD  vec  ) 

Referenced by WERD::baseline_normalise_x().

OUTLINE_LIST* PBLOB::out_list (  )  [inline]

Definition at line 43 of file polyblob.h.

Referenced by blob_noise_score(), crude_match_blobs(), dodgy_blob(), find_blob_limits(), find_transitions(), gblob_out_list(), make_tess_blob(), merge_blobs(), rotate_blob(), rotate_cblob(), and vertical_blob_projection().

00043                              {  //get outline list
00044       return &outlines;
00045     }

void PBLOB::plot ( WINDOW  window,
COLOUR  blob_colour,
COLOUR  child_colour 
)

void PBLOB::prep_serialise (  )  [inline]

Definition at line 69 of file polyblob.h.

00069                           {  //set ptrs to counts
00070       outlines.prep_serialise ();
00071     }

void PBLOB::scale ( const FCOORD  vec  ) 

void PBLOB::scale ( const float  f  ) 

Referenced by WERD::baseline_normalise_x().

void ELIST_LINK::serialise_asc ( FILE *  f  )  [inherited]

Generates an error, as it should never be called.

Definition at line 32 of file elst.cpp.

References ABORT, ERRCODE::error(), and SERIALISE_LINKS.

00033                                         {
00034   SERIALISE_LINKS.error ("ELIST_LINK::serialise_asc", ABORT,
00035     "Don't call this, override!");
00036 }


The documentation for this class was generated from the following file:
Generated on Wed Feb 28 19:49:33 2007 for Tesseract by  doxygen 1.5.1