#include <blkocc.h>
|
| BAND ()=default |
|
void | set (int16_t new_max_max, int16_t new_max, int16_t new_min_max, int16_t new_max_min, int16_t new_min, int16_t new_min_min) |
|
bool | in_minimal (float y) |
|
bool | in_nominal (float y) |
|
bool | in_maximal (float y) |
|
bool | range_overlaps_minimal (float y1, float y2) |
|
bool | range_overlaps_nominal (float y1, float y2) |
|
bool | range_overlaps_maximal (float y1, float y2) |
|
bool | range_in_minimal (float y1, float y2) |
|
bool | range_in_nominal (float y1, float y2) |
|
bool | range_in_maximal (float y1, float y2) |
|
Definition at line 122 of file blkocc.h.
◆ BAND()
tesseract::BAND::BAND |
( |
| ) |
|
|
default |
◆ in_maximal()
bool tesseract::BAND::in_maximal |
( |
float |
y | ) |
|
|
inline |
◆ in_minimal()
bool tesseract::BAND::in_minimal |
( |
float |
y | ) |
|
|
inline |
◆ in_nominal()
bool tesseract::BAND::in_nominal |
( |
float |
y | ) |
|
|
inline |
◆ range_in_maximal()
bool tesseract::BAND::range_in_maximal |
( |
float |
y1, |
|
|
float |
y2 |
|
) |
| |
|
inline |
Definition at line 213 of file blkocc.h.
215 {
216 if (y1 > y2) {
218 } else {
220 }
221 }
#define RANGE_IN_BAND(band_max, band_min, range_max, range_min)
◆ range_in_minimal()
bool tesseract::BAND::range_in_minimal |
( |
float |
y1, |
|
|
float |
y2 |
|
) |
| |
|
inline |
Definition at line 193 of file blkocc.h.
195 {
196 if (y1 > y2) {
198 } else {
200 }
201 }
◆ range_in_nominal()
bool tesseract::BAND::range_in_nominal |
( |
float |
y1, |
|
|
float |
y2 |
|
) |
| |
|
inline |
Definition at line 203 of file blkocc.h.
205 {
206 if (y1 > y2) {
208 } else {
210 }
211 }
◆ range_overlaps_maximal()
bool tesseract::BAND::range_overlaps_maximal |
( |
float |
y1, |
|
|
float |
y2 |
|
) |
| |
|
inline |
Definition at line 184 of file blkocc.h.
185 {
186 if (y1 > y2) {
188 } else {
190 }
191 }
#define RANGE_OVERLAPS_BAND(band_max, band_min, range_max, range_min)
◆ range_overlaps_minimal()
bool tesseract::BAND::range_overlaps_minimal |
( |
float |
y1, |
|
|
float |
y2 |
|
) |
| |
|
inline |
Definition at line 164 of file blkocc.h.
165 {
166 if (y1 > y2) {
168 } else {
170 }
171 }
◆ range_overlaps_nominal()
bool tesseract::BAND::range_overlaps_nominal |
( |
float |
y1, |
|
|
float |
y2 |
|
) |
| |
|
inline |
Definition at line 174 of file blkocc.h.
175 {
176 if (y1 > y2) {
178 } else {
180 }
181 }
◆ set()
void tesseract::BAND::set |
( |
int16_t |
new_max_max, |
|
|
int16_t |
new_max, |
|
|
int16_t |
new_min_max, |
|
|
int16_t |
new_max_min, |
|
|
int16_t |
new_min, |
|
|
int16_t |
new_min_min |
|
) |
| |
|
inline |
◆ max
int16_t tesseract::BAND::max |
◆ max_max
int16_t tesseract::BAND::max_max |
◆ max_min
int16_t tesseract::BAND::max_min |
◆ min
int16_t tesseract::BAND::min |
◆ min_max
int16_t tesseract::BAND::min_max |
◆ min_min
int16_t tesseract::BAND::min_min |
The documentation for this class was generated from the following file:
- /media/home/debian/src/github/tesseract-ocr/tesseract/src/textord/blkocc.h