ho_dimentions.h(3)
| src/ho_dimentions.h(3) | libhocr | src/ho_dimentions.h(3) |
NAME
src/ho_dimentions.h - libhocr C language header.
SYNOPSIS
#include <ho_bitmap.h>
#include <ho_objmap.h>
Defines
#define HO_DIMENTIONS_H 1
Functions
int ho_dimentions_font_width_height_nikud (ho_bitmap
*m, const int min_height, const int max_height, const int min_width, const
int max_width)
int ho_dimentions_line_spacing (ho_bitmap *m)
int ho_dimentions_font_spacing (ho_bitmap *m, const
ho_bitmap *m_line_map)
int ho_dimentions_line_fill (ho_bitmap *m, const
ho_bitmap *m_line_map)
int ho_dimentions_get_columns (const ho_bitmap *m)
int ho_dimentions_get_columns_with_x_start (const ho_bitmap *m,
int **column_start_list)
double ho_dimentions_get_lines_angle (const ho_bitmap *m)
Detailed Description
libhocr C language header.
libhocr - LIBrary for Hebrew Optical Character Recognition
Define Documentation
#define HO_DIMENTIONS_H 1
Function Documentation
int ho_dimentions_font_width_height_nikud (ho_bitmap * m, const int min_height, const int max_height, const int min_width, const int max_width)
guess font dimentions, sets: font_height, font_width and nikud [for a page or block]
Parameters:
min_height only objects with this minimal height are used
max_height only objects with this maximal height are used
min_width only objects with this minimal width are used
max_width only objects with this maximal width are used
Returns:
int ho_dimentions_line_spacing (ho_bitmap * m)
guess line dimentions, sets line_spacing [for a block]
Parameters:
Returns:
int ho_dimentions_font_spacing (ho_bitmap * m, const ho_bitmap * m_line_map)
guess line dimentions, sets font_spacing [for a line]
Parameters:
m_line_map pointer to an ho_bitmap of ine
Returns:
int ho_dimentions_line_fill (ho_bitmap * m, const ho_bitmap * m_line_map)
get line fill parameters [for a line]
Parameters:
m_line_map pointer to an ho_bitmap of ine
Returns:
int ho_dimentions_get_columns (const ho_bitmap * m)
guess number of columns in bitmap
Parameters:
Returns:
int ho_dimentions_get_columns_with_x_start (const ho_bitmap * m, int ** column_start_list)
guess number of columns in bitmap
Parameters:
column_start_list a newly allocated int list of start of columns x value
Returns:
double ho_dimentions_get_lines_angle (const ho_bitmap * m)
guess angle of page lines
Parameters:
Returns:
Author
Generated automatically by Doxygen for libhocr from the source code.
| 31 Jul 2008 | Version 0.10.17 |
