#include <devanagari_processing.h>
|
static void | PerformClose (Pix *pix, int xheight_estimate) |
|
static void | GetShiroRekhaYExtents (Pix *word_pix, int *shirorekha_top, int *shirorekha_bottom, int *shirorekha_ylevel) |
|
◆ SplitStrategy
Enumerator |
---|
NO_SPLIT | |
MINIMAL_SPLIT | |
MAXIMAL_SPLIT | |
◆ ShiroRekhaSplitter()
tesseract::ShiroRekhaSplitter::ShiroRekhaSplitter |
( |
| ) |
|
◆ ~ShiroRekhaSplitter()
tesseract::ShiroRekhaSplitter::~ShiroRekhaSplitter |
( |
| ) |
|
|
virtual |
◆ Clear()
void tesseract::ShiroRekhaSplitter::Clear |
( |
| ) |
|
◆ GetBoxForTBOX()
Box * tesseract::ShiroRekhaSplitter::GetBoxForTBOX |
( |
const TBOX & |
tbox | ) |
const |
|
private |
◆ GetModeHeight()
int tesseract::ShiroRekhaSplitter::GetModeHeight |
( |
Pix * |
pix | ) |
|
|
static |
◆ GetShiroRekhaYExtents()
void tesseract::ShiroRekhaSplitter::GetShiroRekhaYExtents |
( |
Pix * |
word_pix, |
|
|
int * |
shirorekha_top, |
|
|
int * |
shirorekha_bottom, |
|
|
int * |
shirorekha_ylevel |
|
) |
| |
|
staticprivate |
◆ GetXheightForCC()
int tesseract::ShiroRekhaSplitter::GetXheightForCC |
( |
Box * |
cc_bbox | ) |
|
|
private |
◆ HasDifferentSplitStrategies()
bool tesseract::ShiroRekhaSplitter::HasDifferentSplitStrategies |
( |
| ) |
const |
|
inline |
◆ ocr_split_strategy()
SplitStrategy tesseract::ShiroRekhaSplitter::ocr_split_strategy |
( |
| ) |
const |
|
inline |
◆ orig_pix()
Pix* tesseract::ShiroRekhaSplitter::orig_pix |
( |
| ) |
|
|
inline |
◆ pageseg_split_strategy()
SplitStrategy tesseract::ShiroRekhaSplitter::pageseg_split_strategy |
( |
| ) |
const |
|
inline |
◆ PerformClose()
void tesseract::ShiroRekhaSplitter::PerformClose |
( |
Pix * |
pix, |
|
|
int |
xheight_estimate |
|
) |
| |
|
staticprivate |
◆ RefreshSegmentationWithNewBlobs()
void tesseract::ShiroRekhaSplitter::RefreshSegmentationWithNewBlobs |
( |
C_BLOB_LIST * |
new_blobs | ) |
|
◆ segmentation_block_list()
BLOCK_LIST* tesseract::ShiroRekhaSplitter::segmentation_block_list |
( |
| ) |
|
|
inline |
◆ set_global_xheight()
void tesseract::ShiroRekhaSplitter::set_global_xheight |
( |
int |
xheight | ) |
|
|
inline |
◆ set_ocr_split_strategy()
void tesseract::ShiroRekhaSplitter::set_ocr_split_strategy |
( |
SplitStrategy |
strategy | ) |
|
|
inline |
◆ set_orig_pix()
void tesseract::ShiroRekhaSplitter::set_orig_pix |
( |
Pix * |
pix | ) |
|
◆ set_pageseg_split_strategy()
void tesseract::ShiroRekhaSplitter::set_pageseg_split_strategy |
( |
SplitStrategy |
strategy | ) |
|
|
inline |
◆ set_perform_close()
void tesseract::ShiroRekhaSplitter::set_perform_close |
( |
bool |
perform | ) |
|
|
inline |
◆ set_segmentation_block_list()
void tesseract::ShiroRekhaSplitter::set_segmentation_block_list |
( |
BLOCK_LIST * |
block_list | ) |
|
|
inline |
◆ Split()
bool tesseract::ShiroRekhaSplitter::Split |
( |
bool |
split_for_pageseg, |
|
|
DebugPixa * |
pixa_debug |
|
) |
| |
◆ splitted_image()
Pix* tesseract::ShiroRekhaSplitter::splitted_image |
( |
| ) |
|
|
inline |
◆ SplitWordShiroRekha()
void tesseract::ShiroRekhaSplitter::SplitWordShiroRekha |
( |
SplitStrategy |
split_strategy, |
|
|
Pix * |
pix, |
|
|
int |
xheight, |
|
|
int |
word_left, |
|
|
int |
word_top, |
|
|
Boxa * |
regions_to_clear |
|
) |
| |
|
private |
◆ debug_image_
Pix* tesseract::ShiroRekhaSplitter::debug_image_ |
|
private |
◆ global_xheight_
int tesseract::ShiroRekhaSplitter::global_xheight_ |
|
private |
◆ kUnspecifiedXheight
const int tesseract::ShiroRekhaSplitter::kUnspecifiedXheight = -1 |
|
static |
◆ ocr_split_strategy_
◆ orig_pix_
Pix* tesseract::ShiroRekhaSplitter::orig_pix_ |
|
private |
◆ pageseg_split_strategy_
SplitStrategy tesseract::ShiroRekhaSplitter::pageseg_split_strategy_ |
|
private |
◆ perform_close_
bool tesseract::ShiroRekhaSplitter::perform_close_ |
|
private |
◆ segmentation_block_list_
BLOCK_LIST* tesseract::ShiroRekhaSplitter::segmentation_block_list_ |
|
private |
◆ splitted_image_
Pix* tesseract::ShiroRekhaSplitter::splitted_image_ |
|
private |
The documentation for this class was generated from the following files:
- /home/stephane/src/tesseract/src/textord/devanagari_processing.h
- /home/stephane/src/tesseract/src/textord/devanagari_processing.cpp