MCPcopy Create free account
hub / github.com/creatale/node-dv / Normalize

Method Normalize

deps/tesseract/ccstruct/blobs.cpp:167–174  ·  view source on GitHub ↗

Normalize in-place using the DENORM.

Source from the content-addressed store, hash-verified

165
166// Normalize in-place using the DENORM.
167void TESSLINE::Normalize(const DENORM& denorm) {
168 EDGEPT* pt = loop;
169 do {
170 denorm.LocalNormTransform(pt->pos, &pt->pos);
171 pt = pt->next;
172 } while (pt != loop);
173 SetupFromPos();
174}
175
176// Rotates by the given rotation in place.
177void TESSLINE::Rotate(const FCOORD rot) {

Callers 5

os_detect_blobFunction · 0.45
IdentifySpecialTextMethod · 0.45
NormalizeTBLOBMethod · 0.45
BLNormalizeMethod · 0.45

Calls 5

LocalNormTransformMethod · 0.80
SetupNormalizationMethod · 0.80
set_inverseMethod · 0.80
set_pixMethod · 0.80
LocalNormBlobMethod · 0.80

Tested by

no test coverage detected