eVision C++ API 26.10.0-beta.2.dev
Loading...
Searching...
No Matches
eVision::EOCVChar Class Reference

Holds all information related to a single character, such as nominal and average position, reference quality indicators,... During the learning phases, it also keeps the list of its constituent blobs. More...

#include <eVision/EasyOcv/EOCVChar.h>

Collaboration diagram for eVision::EOCVChar:

Public Member Functions

 EOCVChar ()
 Constructs an OCVChar context.
 EOCVChar (const eVision::EOCVChar &other)
 Constructs an OCVChar context.
virtual ~EOCVChar () throw ()
eVision::EOCVChar & operator= (const eVision::EOCVChar &other)
 Copies all the data from another EOCVChar object into the current EOCVChar object.
void ResetParameters ()
 Sets all character parameters to the undefined value for use before a EOCV::SetTextCharParameters or EOCV::ScatterTextsCharsParameters operation.
bool GetWhiteOnBlack () const
 Character contrast: true for light characters on a dark background.
void SetWhiteOnBlack (bool val)
 Character contrast: true for light characters on a dark background.
int GetSelected () const
 Selection state: TRUE when selected.
void SetSelected (int val)
 Selection state: TRUE when selected.
uint32_t GetNumContourPoints () const
 Number of contour points of this character used for location.
void SetNumContourPoints (uint32_t val)
 Number of contour points of this character used for location.
float GetTemplateLocationScore () const
 Value of the location score measured on the template during learning.
void SetTemplateLocationScore (float val)
 Value of the location score measured on the template during learning.
float GetSampleLocationScore () const
 Value of the location score measured on the sample during inspection.
void SetSampleLocationScore (float val)
 Value of the location score measured on the sample during inspection.
float GetLocationScoreTolerance () const
 Allowed absolute difference between the template and sample scores.
void SetLocationScoreTolerance (float val)
 Allowed absolute difference between the template and sample scores.
float GetShiftX () const
 Measured horizontal translation.
void SetShiftX (float val)
 Measured horizontal translation.
float GetShiftXBias () const
 Horizontal translation bias.
void SetShiftXBias (float val)
 Horizontal translation bias.
float GetShiftXTolerance () const
 Horizontal translation tolerance.
void SetShiftXTolerance (float val)
 Horizontal translation tolerance.
uint32_t GetShiftXStride () const
 First pass stride for the horizontal translation.
void SetShiftXStride (uint32_t val)
 First pass stride for the horizontal translation.
float GetShiftY () const
 Measured vertical translation.
void SetShiftY (float val)
 Measured vertical translation.
float GetShiftYBias () const
 Vertical translation bias. 0 corresponds to the nominal position.
void SetShiftYBias (float val)
 Vertical translation bias. 0 corresponds to the nominal position.
float GetShiftYTolerance () const
 Vertical translation tolerance.
void SetShiftYTolerance (float val)
 Vertical translation tolerance.
uint32_t GetShiftYStride () const
 First pass stride for the vertical translation.
void SetShiftYStride (uint32_t val)
 First pass stride for the vertical translation.
uint32_t GetDiagnostics () const
 Logical combination (bitwise OR) of defects.
void SetDiagnostics (uint32_t val)
 Logical combination (bitwise OR) of defects.
uint32_t GetMarginWidth () const
 Width of the extra space to be used around the characters bounding box (on all four sides) when computing a quality indicator.
void SetMarginWidth (uint32_t val)
 Width of the extra space to be used around the characters bounding box (on all four sides) when computing a quality indicator.
uint32_t GetTemplateForegroundArea () const
 Number of pixels in the template foreground of this character.
void SetTemplateForegroundArea (uint32_t val)
 Number of pixels in the template foreground of this character.
uint32_t GetSampleForegroundArea () const
 Number of foreground pixels of this character corresponding to a foreground pixel of the template character.
void SetSampleForegroundArea (uint32_t val)
 Number of foreground pixels of this character corresponding to a foreground pixel of the template character.
uint32_t GetForegroundAreaTolerance () const
 Maximum allowed difference between the sample and template foreground areas.
void SetForegroundAreaTolerance (uint32_t val)
 Maximum allowed difference between the sample and template foreground areas.
uint32_t GetTemplateBackgroundArea () const
 Number of pixels in the background of this character.
void SetTemplateBackgroundArea (uint32_t val)
 Number of pixels in the background of this character.
uint32_t GetSampleBackgroundArea () const
 Number of background pixels of this character corresponding to a background pixel of the template character.
void SetSampleBackgroundArea (uint32_t val)
 Number of background pixels of this character corresponding to a background pixel of the template character.
uint32_t GetBackgroundAreaTolerance () const
 Maximum allowed difference between the sample and template background areas.
void SetBackgroundAreaTolerance (uint32_t val)
 Maximum allowed difference between the sample and template background areas.
float GetTemplateForegroundSum () const
 Sum of the normalized gray-level values of the foreground pixels of this character.
void SetTemplateForegroundSum (float val)
 Sum of the normalized gray-level values of the foreground pixels of this character.
float GetSampleForegroundSum () const
 Sum of the normalized gray-level values of the pixels of this character corresponding to a foreground pixel of the template character.
void SetSampleForegroundSum (float val)
 Sum of the normalized gray-level values of the pixels of this character corresponding to a foreground pixel of the template character.
float GetForegroundSumTolerance () const
 Maximum allowed difference between the sample and template foreground sums.
void SetForegroundSumTolerance (float val)
 Maximum allowed difference between the sample and template foreground sums.
float GetTemplateBackgroundSum () const
 Sum of the normalized gray-level values of the background pixels of this character.
void SetTemplateBackgroundSum (float val)
 Sum of the normalized gray-level values of the background pixels of this character.
float GetSampleBackgroundSum () const
 Sum of the normalized gray-level values of the pixels of this character corresponding to a background pixel of the template character.
void SetSampleBackgroundSum (float val)
 Sum of the normalized gray-level values of the pixels of this character corresponding to a background pixel of the template character.
float GetBackgroundSumTolerance () const
 Maximum allowed difference between the sample and template background sums.
void SetBackgroundSumTolerance (float val)
 Maximum allowed difference between the sample and template background sums.
float GetCorrelation () const
 Normalized correlation involving the template and sample character images.
void SetCorrelation (float val)
 Normalized correlation involving the template and sample character images.
float GetCorrelationTolerance () const
 Maximum allowed difference between the normalized correlation and unity.
void SetCorrelationTolerance (float val)
 Maximum allowed difference between the normalized correlation and unity.
float GetLocationScoreAverage () const
 Location score average.
void SetLocationScoreAverage (float val)
 Location score average.
float GetLocationScoreDeviation () const
 Location score standard deviation.
void SetLocationScoreDeviation (float val)
 Location score standard deviation.
float GetShiftXAverage () const
 Shift X average.
void SetShiftXAverage (float val)
 Shift X average.
float GetShiftXDeviation () const
 Shift X standard deviation.
void SetShiftXDeviation (float val)
 Shift X standard deviation.
float GetShiftXMin () const
 Minimum Shift X.
void SetShiftXMin (float val)
 Minimum Shift X.
float GetShiftXMax () const
 Maximum Shift X.
void SetShiftXMax (float val)
 Maximum Shift X.
float GetShiftYAverage () const
 Shift Y average.
void SetShiftYAverage (float val)
 Shift Y average.
float GetShiftYDeviation () const
 Shift Y standard deviation.
void SetShiftYDeviation (float val)
 Shift Y standard deviation.
float GetShiftYMin () const
 Minimum Shift Y.
void SetShiftYMin (float val)
 Minimum Shift Y.
float GetShiftYMax () const
 Maximum Shift Y.
void SetShiftYMax (float val)
 Maximum Shift Y.
float GetForegroundAreaAverage () const
 Foreground area average.
void SetForegroundAreaAverage (float val)
 Foreground area average.
float GetForegroundAreaDeviation () const
 Foreground area standard deviation.
void SetForegroundAreaDeviation (float val)
 Foreground area standard deviation.
float GetBackgroundAreaAverage () const
 Background area average.
void SetBackgroundAreaAverage (float val)
 Background area average.
float GetBackgroundAreaDeviation () const
 Background area standard deviation.
void SetBackgroundAreaDeviation (float val)
 Background area standard deviation.
float GetForegroundSumAverage () const
 Foreground sum average.
void SetForegroundSumAverage (float val)
 Foreground sum average.
float GetForegroundSumDeviation () const
 Foreground sum standard deviation.
void SetForegroundSumDeviation (float val)
 Foreground sum standard deviation.
float GetBackgroundSumAverage () const
 Background sum average.
void SetBackgroundSumAverage (float val)
 Background sum average.
float GetBackgroundSumDeviation () const
 Background sum standard deviation.
void SetBackgroundSumDeviation (float val)
 Background sum standard deviation.
float GetCorrelationAverage () const
 Correlation average.
void SetCorrelationAverage (float val)
 Correlation average.
float GetCorrelationDeviation () const
 Correlation standard deviation.
void SetCorrelationDeviation (float val)
 Correlation standard deviation.
 EOCVChar (CppWrapperInternal::InternalConstructor)

Public Attributes

CppWrapperInternal::WrappedClass wrappedClass_

Detailed Description

Holds all information related to a single character, such as nominal and average position, reference quality indicators,... During the learning phases, it also keeps the list of its constituent blobs.

The statistics available for each character are the average, standard deviation (unbiased), minimum and maximum computed on the corresponding parameters for all images for which EOCV::UpdateStatistics has been invoked after inspection. The average is only available when at least one set of results has been accumulated. The standard deviation is only available when at least two sets of results have been accumulated.

License(s): EasyOCV

Deprecated
Deprecated in version 26.2. Scheduled to be removed in version 27.6.

Constructor & Destructor Documentation

◆ EOCVChar() [1/3]

eVision::EOCVChar::EOCVChar ( )

Constructs an OCVChar context.

Default and copy constructors.

◆ EOCVChar() [2/3]

eVision::EOCVChar::EOCVChar ( const eVision::EOCVChar & other)

Constructs an OCVChar context.

Parameters
otherEOCVChar object to be copied.

Default and copy constructors.

◆ ~EOCVChar()

eVision::EOCVChar::~EOCVChar ( )
throw ( )
virtual

◆ EOCVChar() [3/3]

eVision::EOCVChar::EOCVChar ( CppWrapperInternal::InternalConstructor )

Member Function Documentation

◆ GetBackgroundAreaAverage()

float eVision::EOCVChar::GetBackgroundAreaAverage ( ) const

Background area average.

◆ GetBackgroundAreaDeviation()

float eVision::EOCVChar::GetBackgroundAreaDeviation ( ) const

Background area standard deviation.

◆ GetBackgroundAreaTolerance()

uint32_t eVision::EOCVChar::GetBackgroundAreaTolerance ( ) const

Maximum allowed difference between the sample and template background areas.

◆ GetBackgroundSumAverage()

float eVision::EOCVChar::GetBackgroundSumAverage ( ) const

Background sum average.

◆ GetBackgroundSumDeviation()

float eVision::EOCVChar::GetBackgroundSumDeviation ( ) const

Background sum standard deviation.

◆ GetBackgroundSumTolerance()

float eVision::EOCVChar::GetBackgroundSumTolerance ( ) const

Maximum allowed difference between the sample and template background sums.

◆ GetCorrelation()

float eVision::EOCVChar::GetCorrelation ( ) const

Normalized correlation involving the template and sample character images.

◆ GetCorrelationAverage()

float eVision::EOCVChar::GetCorrelationAverage ( ) const

Correlation average.

◆ GetCorrelationDeviation()

float eVision::EOCVChar::GetCorrelationDeviation ( ) const

Correlation standard deviation.

◆ GetCorrelationTolerance()

float eVision::EOCVChar::GetCorrelationTolerance ( ) const

Maximum allowed difference between the normalized correlation and unity.

◆ GetDiagnostics()

uint32_t eVision::EOCVChar::GetDiagnostics ( ) const

Logical combination (bitwise OR) of defects.

After inspection, each character is tagged with a logical combination of diagnostics, each corresponding to a kind of defect.

◆ GetForegroundAreaAverage()

float eVision::EOCVChar::GetForegroundAreaAverage ( ) const

Foreground area average.

◆ GetForegroundAreaDeviation()

float eVision::EOCVChar::GetForegroundAreaDeviation ( ) const

Foreground area standard deviation.

◆ GetForegroundAreaTolerance()

uint32_t eVision::EOCVChar::GetForegroundAreaTolerance ( ) const

Maximum allowed difference between the sample and template foreground areas.

◆ GetForegroundSumAverage()

float eVision::EOCVChar::GetForegroundSumAverage ( ) const

Foreground sum average.

◆ GetForegroundSumDeviation()

float eVision::EOCVChar::GetForegroundSumDeviation ( ) const

Foreground sum standard deviation.

◆ GetForegroundSumTolerance()

float eVision::EOCVChar::GetForegroundSumTolerance ( ) const

Maximum allowed difference between the sample and template foreground sums.

◆ GetLocationScoreAverage()

float eVision::EOCVChar::GetLocationScoreAverage ( ) const

Location score average.

◆ GetLocationScoreDeviation()

float eVision::EOCVChar::GetLocationScoreDeviation ( ) const

Location score standard deviation.

◆ GetLocationScoreTolerance()

float eVision::EOCVChar::GetLocationScoreTolerance ( ) const

Allowed absolute difference between the template and sample scores.

When the sample value lies outside the acceptance interval, a character not found diagnostic is issued. During the location phase, a score is computed on the sample image. During learning, the same score is measured on the template image to serve as a reference. The closer the template and sample scores, the more successful the location. The location score is a first indication on the conformance of the inspected sample. In particular, a very small sample score may indicate that the character is absent.

◆ GetMarginWidth()

uint32_t eVision::EOCVChar::GetMarginWidth ( ) const

Width of the extra space to be used around the characters bounding box (on all four sides) when computing a quality indicator.

◆ GetNumContourPoints()

uint32_t eVision::EOCVChar::GetNumContourPoints ( ) const

Number of contour points of this character used for location.

The location process relies on points from the external contours of the character constituent blobs. The number of points to be used can be adjusted. The smaller this value, the faster the location, but a too small value can cause mismatches.

◆ GetSampleBackgroundArea()

uint32_t eVision::EOCVChar::GetSampleBackgroundArea ( ) const

Number of background pixels of this character corresponding to a background pixel of the template character.

◆ GetSampleBackgroundSum()

float eVision::EOCVChar::GetSampleBackgroundSum ( ) const

Sum of the normalized gray-level values of the pixels of this character corresponding to a background pixel of the template character.

◆ GetSampleForegroundArea()

uint32_t eVision::EOCVChar::GetSampleForegroundArea ( ) const

Number of foreground pixels of this character corresponding to a foreground pixel of the template character.

◆ GetSampleForegroundSum()

float eVision::EOCVChar::GetSampleForegroundSum ( ) const

Sum of the normalized gray-level values of the pixels of this character corresponding to a foreground pixel of the template character.

◆ GetSampleLocationScore()

float eVision::EOCVChar::GetSampleLocationScore ( ) const

Value of the location score measured on the sample during inspection.

During the location phase, a score is computed on the sample image. During learning, the same score is measured on the template image to serve as a reference. The closer the template and sample scores, the more successful the location. The location score is a first indication on the conformance of the inspected sample. In particular, a very small sample score may indicate that the character is absent.

◆ GetSelected()

int eVision::EOCVChar::GetSelected ( ) const

Selection state: TRUE when selected.

◆ GetShiftX()

float eVision::EOCVChar::GetShiftX ( ) const

Measured horizontal translation.

◆ GetShiftXAverage()

float eVision::EOCVChar::GetShiftXAverage ( ) const

Shift X average.

◆ GetShiftXBias()

float eVision::EOCVChar::GetShiftXBias ( ) const

Horizontal translation bias.

0 corresponds to the nominal position.

◆ GetShiftXDeviation()

float eVision::EOCVChar::GetShiftXDeviation ( ) const

Shift X standard deviation.

◆ GetShiftXMax()

float eVision::EOCVChar::GetShiftXMax ( ) const

Maximum Shift X.

◆ GetShiftXMin()

float eVision::EOCVChar::GetShiftXMin ( ) const

Minimum Shift X.

◆ GetShiftXStride()

uint32_t eVision::EOCVChar::GetShiftXStride ( ) const

First pass stride for the horizontal translation.

◆ GetShiftXTolerance()

float eVision::EOCVChar::GetShiftXTolerance ( ) const

Horizontal translation tolerance.

◆ GetShiftY()

float eVision::EOCVChar::GetShiftY ( ) const

Measured vertical translation.

◆ GetShiftYAverage()

float eVision::EOCVChar::GetShiftYAverage ( ) const

Shift Y average.

◆ GetShiftYBias()

float eVision::EOCVChar::GetShiftYBias ( ) const

Vertical translation bias. 0 corresponds to the nominal position.

◆ GetShiftYDeviation()

float eVision::EOCVChar::GetShiftYDeviation ( ) const

Shift Y standard deviation.

◆ GetShiftYMax()

float eVision::EOCVChar::GetShiftYMax ( ) const

Maximum Shift Y.

◆ GetShiftYMin()

float eVision::EOCVChar::GetShiftYMin ( ) const

Minimum Shift Y.

◆ GetShiftYStride()

uint32_t eVision::EOCVChar::GetShiftYStride ( ) const

First pass stride for the vertical translation.

◆ GetShiftYTolerance()

float eVision::EOCVChar::GetShiftYTolerance ( ) const

Vertical translation tolerance.

◆ GetTemplateBackgroundArea()

uint32_t eVision::EOCVChar::GetTemplateBackgroundArea ( ) const

Number of pixels in the background of this character.

◆ GetTemplateBackgroundSum()

float eVision::EOCVChar::GetTemplateBackgroundSum ( ) const

Sum of the normalized gray-level values of the background pixels of this character.

◆ GetTemplateForegroundArea()

uint32_t eVision::EOCVChar::GetTemplateForegroundArea ( ) const

Number of pixels in the template foreground of this character.

◆ GetTemplateForegroundSum()

float eVision::EOCVChar::GetTemplateForegroundSum ( ) const

Sum of the normalized gray-level values of the foreground pixels of this character.

◆ GetTemplateLocationScore()

float eVision::EOCVChar::GetTemplateLocationScore ( ) const

Value of the location score measured on the template during learning.

If necessary, this value may be set explicitly. During the location phase, a score is computed on the sample image. During learning, the same score is measured on the template image to serve as a reference. The closer the template and sample scores, the more successful the location. The location score is a first indication on the conformance of the inspected sample. In particular, a very small sample score may indicate that the character is absent.

◆ GetWhiteOnBlack()

bool eVision::EOCVChar::GetWhiteOnBlack ( ) const

Character contrast: true for light characters on a dark background.

◆ operator=()

eVision::EOCVChar & eVision::EOCVChar::operator= ( const eVision::EOCVChar & other)

Copies all the data from another EOCVChar object into the current EOCVChar object.

Parameters
otherEOCVChar object to be copied

◆ ResetParameters()

void eVision::EOCVChar::ResetParameters ( )

Sets all character parameters to the undefined value for use before a EOCV::SetTextCharParameters or EOCV::ScatterTextsCharsParameters operation.

◆ SetBackgroundAreaAverage()

void eVision::EOCVChar::SetBackgroundAreaAverage ( float val)

Background area average.

◆ SetBackgroundAreaDeviation()

void eVision::EOCVChar::SetBackgroundAreaDeviation ( float val)

Background area standard deviation.

◆ SetBackgroundAreaTolerance()

void eVision::EOCVChar::SetBackgroundAreaTolerance ( uint32_t val)

Maximum allowed difference between the sample and template background areas.

◆ SetBackgroundSumAverage()

void eVision::EOCVChar::SetBackgroundSumAverage ( float val)

Background sum average.

◆ SetBackgroundSumDeviation()

void eVision::EOCVChar::SetBackgroundSumDeviation ( float val)

Background sum standard deviation.

◆ SetBackgroundSumTolerance()

void eVision::EOCVChar::SetBackgroundSumTolerance ( float val)

Maximum allowed difference between the sample and template background sums.

◆ SetCorrelation()

void eVision::EOCVChar::SetCorrelation ( float val)

Normalized correlation involving the template and sample character images.

◆ SetCorrelationAverage()

void eVision::EOCVChar::SetCorrelationAverage ( float val)

Correlation average.

◆ SetCorrelationDeviation()

void eVision::EOCVChar::SetCorrelationDeviation ( float val)

Correlation standard deviation.

◆ SetCorrelationTolerance()

void eVision::EOCVChar::SetCorrelationTolerance ( float val)

Maximum allowed difference between the normalized correlation and unity.

◆ SetDiagnostics()

void eVision::EOCVChar::SetDiagnostics ( uint32_t val)

Logical combination (bitwise OR) of defects.

After inspection, each character is tagged with a logical combination of diagnostics, each corresponding to a kind of defect.

◆ SetForegroundAreaAverage()

void eVision::EOCVChar::SetForegroundAreaAverage ( float val)

Foreground area average.

◆ SetForegroundAreaDeviation()

void eVision::EOCVChar::SetForegroundAreaDeviation ( float val)

Foreground area standard deviation.

◆ SetForegroundAreaTolerance()

void eVision::EOCVChar::SetForegroundAreaTolerance ( uint32_t val)

Maximum allowed difference between the sample and template foreground areas.

◆ SetForegroundSumAverage()

void eVision::EOCVChar::SetForegroundSumAverage ( float val)

Foreground sum average.

◆ SetForegroundSumDeviation()

void eVision::EOCVChar::SetForegroundSumDeviation ( float val)

Foreground sum standard deviation.

◆ SetForegroundSumTolerance()

void eVision::EOCVChar::SetForegroundSumTolerance ( float val)

Maximum allowed difference between the sample and template foreground sums.

◆ SetLocationScoreAverage()

void eVision::EOCVChar::SetLocationScoreAverage ( float val)

Location score average.

◆ SetLocationScoreDeviation()

void eVision::EOCVChar::SetLocationScoreDeviation ( float val)

Location score standard deviation.

◆ SetLocationScoreTolerance()

void eVision::EOCVChar::SetLocationScoreTolerance ( float val)

Allowed absolute difference between the template and sample scores.

When the sample value lies outside the acceptance interval, a character not found diagnostic is issued. During the location phase, a score is computed on the sample image. During learning, the same score is measured on the template image to serve as a reference. The closer the template and sample scores, the more successful the location. The location score is a first indication on the conformance of the inspected sample. In particular, a very small sample score may indicate that the character is absent.

◆ SetMarginWidth()

void eVision::EOCVChar::SetMarginWidth ( uint32_t val)

Width of the extra space to be used around the characters bounding box (on all four sides) when computing a quality indicator.

◆ SetNumContourPoints()

void eVision::EOCVChar::SetNumContourPoints ( uint32_t val)

Number of contour points of this character used for location.

The location process relies on points from the external contours of the character constituent blobs. The number of points to be used can be adjusted. The smaller this value, the faster the location, but a too small value can cause mismatches.

◆ SetSampleBackgroundArea()

void eVision::EOCVChar::SetSampleBackgroundArea ( uint32_t val)

Number of background pixels of this character corresponding to a background pixel of the template character.

◆ SetSampleBackgroundSum()

void eVision::EOCVChar::SetSampleBackgroundSum ( float val)

Sum of the normalized gray-level values of the pixels of this character corresponding to a background pixel of the template character.

◆ SetSampleForegroundArea()

void eVision::EOCVChar::SetSampleForegroundArea ( uint32_t val)

Number of foreground pixels of this character corresponding to a foreground pixel of the template character.

◆ SetSampleForegroundSum()

void eVision::EOCVChar::SetSampleForegroundSum ( float val)

Sum of the normalized gray-level values of the pixels of this character corresponding to a foreground pixel of the template character.

◆ SetSampleLocationScore()

void eVision::EOCVChar::SetSampleLocationScore ( float val)

Value of the location score measured on the sample during inspection.

During the location phase, a score is computed on the sample image. During learning, the same score is measured on the template image to serve as a reference. The closer the template and sample scores, the more successful the location. The location score is a first indication on the conformance of the inspected sample. In particular, a very small sample score may indicate that the character is absent.

◆ SetSelected()

void eVision::EOCVChar::SetSelected ( int val)

Selection state: TRUE when selected.

◆ SetShiftX()

void eVision::EOCVChar::SetShiftX ( float val)

Measured horizontal translation.

◆ SetShiftXAverage()

void eVision::EOCVChar::SetShiftXAverage ( float val)

Shift X average.

◆ SetShiftXBias()

void eVision::EOCVChar::SetShiftXBias ( float val)

Horizontal translation bias.

0 corresponds to the nominal position.

◆ SetShiftXDeviation()

void eVision::EOCVChar::SetShiftXDeviation ( float val)

Shift X standard deviation.

◆ SetShiftXMax()

void eVision::EOCVChar::SetShiftXMax ( float val)

Maximum Shift X.

◆ SetShiftXMin()

void eVision::EOCVChar::SetShiftXMin ( float val)

Minimum Shift X.

◆ SetShiftXStride()

void eVision::EOCVChar::SetShiftXStride ( uint32_t val)

First pass stride for the horizontal translation.

◆ SetShiftXTolerance()

void eVision::EOCVChar::SetShiftXTolerance ( float val)

Horizontal translation tolerance.

◆ SetShiftY()

void eVision::EOCVChar::SetShiftY ( float val)

Measured vertical translation.

◆ SetShiftYAverage()

void eVision::EOCVChar::SetShiftYAverage ( float val)

Shift Y average.

◆ SetShiftYBias()

void eVision::EOCVChar::SetShiftYBias ( float val)

Vertical translation bias. 0 corresponds to the nominal position.

◆ SetShiftYDeviation()

void eVision::EOCVChar::SetShiftYDeviation ( float val)

Shift Y standard deviation.

◆ SetShiftYMax()

void eVision::EOCVChar::SetShiftYMax ( float val)

Maximum Shift Y.

◆ SetShiftYMin()

void eVision::EOCVChar::SetShiftYMin ( float val)

Minimum Shift Y.

◆ SetShiftYStride()

void eVision::EOCVChar::SetShiftYStride ( uint32_t val)

First pass stride for the vertical translation.

◆ SetShiftYTolerance()

void eVision::EOCVChar::SetShiftYTolerance ( float val)

Vertical translation tolerance.

◆ SetTemplateBackgroundArea()

void eVision::EOCVChar::SetTemplateBackgroundArea ( uint32_t val)

Number of pixels in the background of this character.

◆ SetTemplateBackgroundSum()

void eVision::EOCVChar::SetTemplateBackgroundSum ( float val)

Sum of the normalized gray-level values of the background pixels of this character.

◆ SetTemplateForegroundArea()

void eVision::EOCVChar::SetTemplateForegroundArea ( uint32_t val)

Number of pixels in the template foreground of this character.

◆ SetTemplateForegroundSum()

void eVision::EOCVChar::SetTemplateForegroundSum ( float val)

Sum of the normalized gray-level values of the foreground pixels of this character.

◆ SetTemplateLocationScore()

void eVision::EOCVChar::SetTemplateLocationScore ( float val)

Value of the location score measured on the template during learning.

If necessary, this value may be set explicitly. During the location phase, a score is computed on the sample image. During learning, the same score is measured on the template image to serve as a reference. The closer the template and sample scores, the more successful the location. The location score is a first indication on the conformance of the inspected sample. In particular, a very small sample score may indicate that the character is absent.

◆ SetWhiteOnBlack()

void eVision::EOCVChar::SetWhiteOnBlack ( bool val)

Character contrast: true for light characters on a dark background.

Member Data Documentation

◆ wrappedClass_

CppWrapperInternal::WrappedClass eVision::EOCVChar::wrappedClass_