|
tesseract v5.3.3.20231005
|
#include <sampleiterator.h>
Public Member Functions | |
| SampleIterator () | |
| ~SampleIterator () | |
| void | Clear () |
| void | Init (const IndexMapBiDi *charset_map, const ShapeTable *shape_table, bool randomize, TrainingSampleSet *sample_set) |
| void | Begin () |
| bool | AtEnd () const |
| const TrainingSample & | GetSample () const |
| TrainingSample * | MutableSample () const |
| int | GlobalSampleIndex () const |
| int | GetCompactClassID () const |
| int | GetSparseClassID () const |
| void | Next () |
| int | CompactCharsetSize () const |
| int | SparseCharsetSize () const |
| const IndexMapBiDi & | charset_map () const |
| const ShapeTable * | shape_table () const |
| const TrainingSampleSet * | sample_set () const |
| void | MapSampleFeatures (const IntFeatureMap &feature_map) |
| int | UniformSamples () |
| double | NormalizeSamples () |
Definition at line 91 of file sampleiterator.h.
| tesseract::SampleIterator::SampleIterator | ( | ) |
Definition at line 29 of file sampleiterator.cpp.
| tesseract::SampleIterator::~SampleIterator | ( | ) |
Definition at line 39 of file sampleiterator.cpp.
| bool tesseract::SampleIterator::AtEnd | ( | ) | const |
Definition at line 98 of file sampleiterator.cpp.
| void tesseract::SampleIterator::Begin | ( | ) |
Definition at line 86 of file sampleiterator.cpp.
|
inline |
Definition at line 134 of file sampleiterator.h.
| void tesseract::SampleIterator::Clear | ( | ) |
Definition at line 43 of file sampleiterator.cpp.
| int tesseract::SampleIterator::CompactCharsetSize | ( | ) | const |
Definition at line 195 of file sampleiterator.cpp.
| int tesseract::SampleIterator::GetCompactClassID | ( | ) | const |
Definition at line 141 of file sampleiterator.cpp.
| const TrainingSample & tesseract::SampleIterator::GetSample | ( | ) | const |
Definition at line 102 of file sampleiterator.cpp.
| int tesseract::SampleIterator::GetSparseClassID | ( | ) | const |
Definition at line 148 of file sampleiterator.cpp.
| int tesseract::SampleIterator::GlobalSampleIndex | ( | ) | const |
Definition at line 126 of file sampleiterator.cpp.
| void tesseract::SampleIterator::Init | ( | const IndexMapBiDi * | charset_map, |
| const ShapeTable * | shape_table, | ||
| bool | randomize, | ||
| TrainingSampleSet * | sample_set | ||
| ) |
Definition at line 49 of file sampleiterator.cpp.
| void tesseract::SampleIterator::MapSampleFeatures | ( | const IntFeatureMap & | feature_map | ) |
Definition at line 219 of file sampleiterator.cpp.
| TrainingSample * tesseract::SampleIterator::MutableSample | ( | ) | const |
Definition at line 113 of file sampleiterator.cpp.
| void tesseract::SampleIterator::Next | ( | ) |
Definition at line 154 of file sampleiterator.cpp.
| double tesseract::SampleIterator::NormalizeSamples | ( | ) |
Definition at line 241 of file sampleiterator.cpp.
|
inline |
Definition at line 141 of file sampleiterator.h.
|
inline |
Definition at line 137 of file sampleiterator.h.
| int tesseract::SampleIterator::SparseCharsetSize | ( | ) | const |
Definition at line 200 of file sampleiterator.cpp.
| int tesseract::SampleIterator::UniformSamples | ( | ) |
Definition at line 228 of file sampleiterator.cpp.