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

Function DisplayIntFeature

deps/tesseract/classify/intproto.cpp:623–629  ·  view source on GitHub ↗

* This routine renders the specified feature into a * global display list. * * Globals: * - FeatureShapes global display list for features * @param Feature pico-feature to be displayed * @param Evidence best evidence for this feature (0-1) * @return none * @note Exceptions: none * @note History: Thu Mar 21 14:45:04 1991, DSJ, Created. */

Source from the content-addressed store, hash-verified

621 * @note History: Thu Mar 21 14:45:04 1991, DSJ, Created.
622 */
623void DisplayIntFeature(const INT_FEATURE_STRUCT *Feature, FLOAT32 Evidence) {
624 ScrollView::Color color = GetMatchColorFor(Evidence);
625 RenderIntFeature(IntMatchWindow, Feature, color);
626 if (FeatureDisplayWindow) {
627 RenderIntFeature(FeatureDisplayWindow, Feature, color);
628 }
629} /* DisplayIntFeature */
630
631/**
632 * This routine renders the specified proto into a

Callers 1

Calls 2

GetMatchColorForFunction · 0.85
RenderIntFeatureFunction · 0.85

Tested by

no test coverage detected