eVision .NET API
Loading...
Searching...
No Matches
eVision.Legacy.EChecker Class Reference

Manages a complete context for the inspection tool based on image comparison in EasyOCV. More...

Inheritance diagram for eVision.Legacy.EChecker:
Collaboration diagram for eVision.Legacy.EChecker:

Public Member Functions

 EChecker ()
 Constructs an uninitialized checker context.
void Attach (eVision.EROIBW8 source)
 Associates a source image to a checker context.
void SetTolerance (uint toleranceX, uint toleranceY)
 Sets the search margin, i.e. the width and height of the search area surrounding the alignment pattern(s).
void Register ()
 Realigns and normalizes the source image.
void Learn (eVision.ELearningMode mode)
 Accumulates a reference image, following a sequence of operations.
void EmptyPathNames ()
 Clears the list of file pathnames.
void AddPathName (string pathName)
 Adds a single file pathname.
void BatchLearn (eVision.ELearningMode mode)
 Performs the learning sequence using the specified list of image files.
void SetZoom (float zoom)
 Sets the zooming factor for use in display operations.
void SetZoom (float zoomX, float zoomY)
 Sets the zooming factor for use in display operations.
void SetPan (float panX, float panY)
 Sets the panning value, expressed in pixels, for use in display operations.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EDrawingMode drawingMode, bool handles, float zoomX, float zoomY, float panX, float panY)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EDrawingMode drawingMode, bool handles, float zoomX, float zoomY, float panX)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EDrawingMode drawingMode, bool handles, float zoomX, float zoomY)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EDrawingMode drawingMode, bool handles, float zoomX)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EDrawingMode drawingMode, bool handles)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EDrawingMode drawingMode)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (IntPtr graphicContext, eVision.EDrawingMode drawingMode, bool handles, float zoomX, float zoomY, float panX, float panY)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (IntPtr graphicContext, eVision.EDrawingMode drawingMode, bool handles, float zoomX, float zoomY, float panX)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (IntPtr graphicContext, eVision.EDrawingMode drawingMode, bool handles, float zoomX, float zoomY)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (IntPtr graphicContext, eVision.EDrawingMode drawingMode, bool handles, float zoomX)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (IntPtr graphicContext, eVision.EDrawingMode drawingMode, bool handles)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (IntPtr graphicContext, eVision.EDrawingMode drawingMode)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode, bool handles, float zoomX, float zoomY, float panX, float panY)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode, bool handles, float zoomX, float zoomY, float panX)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode, bool handles, float zoomX, float zoomY)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode, bool handles, float zoomX)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode, bool handles)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void DrawWithCurrentPen (IntPtr graphicContext, eVision.EDrawingMode drawingMode, bool handles, float zoomX, float zoomY, float panX, float panY)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void DrawWithCurrentPen (IntPtr graphicContext, eVision.EDrawingMode drawingMode, bool handles, float zoomX, float zoomY, float panX)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void DrawWithCurrentPen (IntPtr graphicContext, eVision.EDrawingMode drawingMode, bool handles, float zoomX, float zoomY)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void DrawWithCurrentPen (IntPtr graphicContext, eVision.EDrawingMode drawingMode, bool handles, float zoomX)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void DrawWithCurrentPen (IntPtr graphicContext, eVision.EDrawingMode drawingMode, bool handles)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void DrawWithCurrentPen (IntPtr graphicContext, eVision.EDrawingMode drawingMode)
 Draws one of the geometric items that define the EChecker.EChecker tool.
bool HitTest (int x, int y)
 Returns true if the cursor is over one of the dragging handles.
void Drag (int x, int y)
 Moves the relevant ROI by means of its handle.
void Load (eVision.ESerializer serializer)
 Loads the EChecker. The given ESerializer must have been created for reading.
void Load (string path)
 Loads the EChecker. The given ESerializer must have been created for reading.
void Save (eVision.ESerializer serializer)
 Saves the EChecker. The given ESerializer must have been created for writing.
void Save (string path)
 Saves the EChecker. The given ESerializer must have been created for writing.
void Draw (System.Drawing.Graphics graphicContext, eVision.EDrawingMode drawingMode, bool handles, float zoomX, float zoomY, float panX, float panY)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (System.Drawing.Graphics graphicContext, eVision.EDrawingMode drawingMode, bool handles, float zoomX, float zoomY, float panX)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (System.Drawing.Graphics graphicContext, eVision.EDrawingMode drawingMode, bool handles, float zoomX, float zoomY)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (System.Drawing.Graphics graphicContext, eVision.EDrawingMode drawingMode, bool handles, float zoomX)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (System.Drawing.Graphics graphicContext, eVision.EDrawingMode drawingMode, bool handles)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (System.Drawing.Graphics graphicContext, eVision.EDrawingMode drawingMode)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode, bool handles, float zoomX, float zoomY, float panX, float panY)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode, bool handles, float zoomX, float zoomY, float panX)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode, bool handles, float zoomX, float zoomY)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode, bool handles, float zoomX)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode, bool handles)
 Draws one of the geometric items that define the EChecker.EChecker tool.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode)
 Draws one of the geometric items that define the EChecker.EChecker tool.

Properties

eVision.EImageBW8 Low [get]
 Low threshold image for the adaptive segmentation.
eVision.EImageBW8 High [get]
 High threshold image for the adaptive segmentation.
eVision.EImageBW8 Registered [get]
 Represents the source image, after it has been aligned with the reference image.
uint ToleranceX [get]
 Current horizontal search tolerance, in pixels.
uint ToleranceY [get]
 Current vertical search tolerance, in pixels.
uint NumAverageSamples [get]
 Number of samples that were accumulated in the "average" phase of the training.
uint NumDeviationSamples [get]
 Number of samples that were accumulated in the "deviation" phase of the training.
eVision.ENormalizationMode Normalize [get, set]
 Current normalization mode.
float Average [get]
 Global intensity of the mother image.
float Deviation [get]
 Global contrast of the mother image.
uint DegreesOfFreedom [get, set]
 Boolean combination of EDegreesOfFreedom members that indicates which degrees of freedom are to be considered.
float RelativeTolerance [get, set]
 Current tolerance factor to be used for threshold image setup.
float DarkGray [get, set]
 Gray level in the dark areas of the mother image.
float LightGray [get, set]
 Gray level in the light areas of the mother image.
float ZoomX [get]
 Current horizontal zooming factor for use in display operations.
float ZoomY [get]
 Current vertical zooming factor for use in display operations.
float PanX [get]
 Current horizontal panning value, expressed in pixels, for use in display operations.
float PanY [get]
 Current vertical panning value, expressed in pixels, for use in display operations.
eVision.EDragHandle HitHandle [get]
 Handle currently hit.
eVision.ERoiHit HitRoi [get]
 ROI currently hit.

Detailed Description

Manages a complete context for the inspection tool based on image comparison in EasyOCV.

License(s): EasyMatch and EasyObject and EasyImage

Deprecated

Use EChecker.EChecker instead.

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

Constructor & Destructor Documentation

◆ EChecker()

eVision.Legacy.EChecker.EChecker ( )

Constructs an uninitialized checker context.

Member Function Documentation

◆ AddPathName()

void eVision.Legacy.EChecker.AddPathName ( string pathName)

Adds a single file pathname.

Parameters
pathNameNULL terminated text string containing the file pathname.

◆ Attach()

void eVision.Legacy.EChecker.Attach ( eVision.EROIBW8 source)

Associates a source image to a checker context.

Parameters
sourcePointer to the source image.

The source image is used in all consecutive learning/inspection operations.

◆ BatchLearn()

void eVision.Legacy.EChecker.BatchLearn ( eVision.ELearningMode mode)

Performs the learning sequence using the specified list of image files.

Parameters
modeELearningMode.ELearningMode_RmsDeviation or ELearningMode.ELearningMode_AbsDeviation, depending on the preferred method of computing the deviations.

◆ Drag()

void eVision.Legacy.EChecker.Drag ( int x,
int y )

Moves the relevant ROI by means of its handle.

Parameters
xNew horizontal cursor position.
yNew vertical cursor position.

◆ Draw() [1/30]

void eVision.Legacy.EChecker.Draw ( eVision.EDrawAdapter graphicContext,
eVision.EDrawingMode drawingMode )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
drawingModeROI to be drawn, as defined by EDrawingMode.

◆ Draw() [2/30]

void eVision.Legacy.EChecker.Draw ( eVision.EDrawAdapter graphicContext,
eVision.EDrawingMode drawingMode,
bool handles )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.

◆ Draw() [3/30]

void eVision.Legacy.EChecker.Draw ( eVision.EDrawAdapter graphicContext,
eVision.EDrawingMode drawingMode,
bool handles,
float zoomX )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.

◆ Draw() [4/30]

void eVision.Legacy.EChecker.Draw ( eVision.EDrawAdapter graphicContext,
eVision.EDrawingMode drawingMode,
bool handles,
float zoomX,
float zoomY )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).

◆ Draw() [5/30]

void eVision.Legacy.EChecker.Draw ( eVision.EDrawAdapter graphicContext,
eVision.EDrawingMode drawingMode,
bool handles,
float zoomX,
float zoomY,
float panX )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [6/30]

void eVision.Legacy.EChecker.Draw ( eVision.EDrawAdapter graphicContext,
eVision.EDrawingMode drawingMode,
bool handles,
float zoomX,
float zoomY,
float panX,
float panY )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [7/30]

void eVision.Legacy.EChecker.Draw ( IntPtr graphicContext,
eVision.EDrawingMode drawingMode )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
drawingModeROI to be drawn, as defined by EDrawingMode.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [8/30]

void eVision.Legacy.EChecker.Draw ( IntPtr graphicContext,
eVision.EDrawingMode drawingMode,
bool handles )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [9/30]

void eVision.Legacy.EChecker.Draw ( IntPtr graphicContext,
eVision.EDrawingMode drawingMode,
bool handles,
float zoomX )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [10/30]

void eVision.Legacy.EChecker.Draw ( IntPtr graphicContext,
eVision.EDrawingMode drawingMode,
bool handles,
float zoomX,
float zoomY )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [11/30]

void eVision.Legacy.EChecker.Draw ( IntPtr graphicContext,
eVision.EDrawingMode drawingMode,
bool handles,
float zoomX,
float zoomY,
float panX )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [12/30]

void eVision.Legacy.EChecker.Draw ( IntPtr graphicContext,
eVision.EDrawingMode drawingMode,
bool handles,
float zoomX,
float zoomY,
float panX,
float panY )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [13/30]

void eVision.Legacy.EChecker.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
eVision.EDrawingMode drawingMode )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
colorThe color in which to draw the overlay.
drawingModeROI to be drawn, as defined by EDrawingMode.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [14/30]

void eVision.Legacy.EChecker.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
eVision.EDrawingMode drawingMode,
bool handles )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
colorThe color in which to draw the overlay.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [15/30]

void eVision.Legacy.EChecker.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
eVision.EDrawingMode drawingMode,
bool handles,
float zoomX )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
colorThe color in which to draw the overlay.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [16/30]

void eVision.Legacy.EChecker.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
eVision.EDrawingMode drawingMode,
bool handles,
float zoomX,
float zoomY )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
colorThe color in which to draw the overlay.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [17/30]

void eVision.Legacy.EChecker.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
eVision.EDrawingMode drawingMode,
bool handles,
float zoomX,
float zoomY,
float panX )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
colorThe color in which to draw the overlay.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [18/30]

void eVision.Legacy.EChecker.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
eVision.EDrawingMode drawingMode,
bool handles,
float zoomX,
float zoomY,
float panX,
float panY )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
colorThe color in which to draw the overlay.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [19/30]

void eVision.Legacy.EChecker.Draw ( System.Drawing.Graphics graphicContext,
eVision.EDrawingMode drawingMode )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
drawingModeROI to be drawn, as defined by EDrawingMode.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [20/30]

void eVision.Legacy.EChecker.Draw ( System.Drawing.Graphics graphicContext,
eVision.EDrawingMode drawingMode,
bool handles )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [21/30]

void eVision.Legacy.EChecker.Draw ( System.Drawing.Graphics graphicContext,
eVision.EDrawingMode drawingMode,
bool handles,
float zoomX )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [22/30]

void eVision.Legacy.EChecker.Draw ( System.Drawing.Graphics graphicContext,
eVision.EDrawingMode drawingMode,
bool handles,
float zoomX,
float zoomY )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [23/30]

void eVision.Legacy.EChecker.Draw ( System.Drawing.Graphics graphicContext,
eVision.EDrawingMode drawingMode,
bool handles,
float zoomX,
float zoomY,
float panX )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [24/30]

void eVision.Legacy.EChecker.Draw ( System.Drawing.Graphics graphicContext,
eVision.EDrawingMode drawingMode,
bool handles,
float zoomX,
float zoomY,
float panX,
float panY )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [25/30]

void eVision.Legacy.EChecker.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
eVision.EDrawingMode drawingMode )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
colorThe color in which to draw the overlay.
drawingModeROI to be drawn, as defined by EDrawingMode.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [26/30]

void eVision.Legacy.EChecker.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
eVision.EDrawingMode drawingMode,
bool handles )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
colorThe color in which to draw the overlay.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [27/30]

void eVision.Legacy.EChecker.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
eVision.EDrawingMode drawingMode,
bool handles,
float zoomX )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
colorThe color in which to draw the overlay.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [28/30]

void eVision.Legacy.EChecker.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
eVision.EDrawingMode drawingMode,
bool handles,
float zoomX,
float zoomY )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
colorThe color in which to draw the overlay.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [29/30]

void eVision.Legacy.EChecker.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
eVision.EDrawingMode drawingMode,
bool handles,
float zoomX,
float zoomY,
float panX )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
colorThe color in which to draw the overlay.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [30/30]

void eVision.Legacy.EChecker.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
eVision.EDrawingMode drawingMode,
bool handles,
float zoomX,
float zoomY,
float panX,
float panY )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
colorThe color in which to draw the overlay.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ DrawWithCurrentPen() [1/6]

void eVision.Legacy.EChecker.DrawWithCurrentPen ( IntPtr graphicContext,
eVision.EDrawingMode drawingMode )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
drawingModeROI to be drawn, as defined by EDrawingMode.
Deprecated

Use the overload of EChecker.Draw taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ DrawWithCurrentPen() [2/6]

void eVision.Legacy.EChecker.DrawWithCurrentPen ( IntPtr graphicContext,
eVision.EDrawingMode drawingMode,
bool handles )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
Deprecated

Use the overload of EChecker.Draw taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ DrawWithCurrentPen() [3/6]

void eVision.Legacy.EChecker.DrawWithCurrentPen ( IntPtr graphicContext,
eVision.EDrawingMode drawingMode,
bool handles,
float zoomX )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
Deprecated

Use the overload of EChecker.Draw taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ DrawWithCurrentPen() [4/6]

void eVision.Legacy.EChecker.DrawWithCurrentPen ( IntPtr graphicContext,
eVision.EDrawingMode drawingMode,
bool handles,
float zoomX,
float zoomY )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
Deprecated

Use the overload of EChecker.Draw taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ DrawWithCurrentPen() [5/6]

void eVision.Legacy.EChecker.DrawWithCurrentPen ( IntPtr graphicContext,
eVision.EDrawingMode drawingMode,
bool handles,
float zoomX,
float zoomY,
float panX )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload of EChecker.Draw taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ DrawWithCurrentPen() [6/6]

void eVision.Legacy.EChecker.DrawWithCurrentPen ( IntPtr graphicContext,
eVision.EDrawingMode drawingMode,
bool handles,
float zoomX,
float zoomY,
float panX,
float panY )

Draws one of the geometric items that define the EChecker.EChecker tool.

Parameters
graphicContextDevice context of the drawing window.
drawingModeROI to be drawn, as defined by EDrawingMode.
handlestrue if the dragging handles must be displayed.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload of EChecker.Draw taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ EmptyPathNames()

void eVision.Legacy.EChecker.EmptyPathNames ( )

Clears the list of file pathnames.

◆ HitTest()

bool eVision.Legacy.EChecker.HitTest ( int x,
int y )

Returns true if the cursor is over one of the dragging handles.

Parameters
xCurrent horizontal cursor position.
yCurrent vertical cursor position.

In this case, EChecker.HitRoi returns the name of the ROI that has been hit, and EChecker.HitHandle returns the name of the corresponding handle.

◆ Learn()

void eVision.Legacy.EChecker.Learn ( eVision.ELearningMode mode)

Accumulates a reference image, following a sequence of operations.

Parameters
modeCurrent mode of operation in the learning sequence, as defined by ELearningMode.

First the model is reset; then the matching patterns are shown; next a series of images is presented to estimate the average gray levels; then a second series of images is presented to estimate the gray-level variations; finally, the threshold images are generated. A typical sequence with three reference images goes as follows:

For standard deviation estimation:

For robust deviation estimation:

◆ Load() [1/2]

void eVision.Legacy.EChecker.Load ( eVision.ESerializer serializer)

Loads the EChecker. The given ESerializer must have been created for reading.

Parameters
serializerThe serializer.

◆ Load() [2/2]

void eVision.Legacy.EChecker.Load ( string path)

Loads the EChecker. The given ESerializer must have been created for reading.

Parameters
pathThe file path.

◆ Register()

void eVision.Legacy.EChecker.Register ( )

Realigns and normalizes the source image.

Only the inspected ROI is processed. The first time this function is called, the current pattern ROI are used to define the search patterns. After registration, public member EChecker.Registered contains the realigned, normalized contents of the inspected ROI.

◆ Save() [1/2]

void eVision.Legacy.EChecker.Save ( eVision.ESerializer serializer)

Saves the EChecker. The given ESerializer must have been created for writing.

Parameters
serializerThe serializer.

◆ Save() [2/2]

void eVision.Legacy.EChecker.Save ( string path)

Saves the EChecker. The given ESerializer must have been created for writing.

Parameters
pathThe file path.

◆ SetPan()

void eVision.Legacy.EChecker.SetPan ( float panX,
float panY )

Sets the panning value, expressed in pixels, for use in display operations.

Parameters
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ SetTolerance()

void eVision.Legacy.EChecker.SetTolerance ( uint toleranceX,
uint toleranceY )

Sets the search margin, i.e. the width and height of the search area surrounding the alignment pattern(s).

Parameters
toleranceXHorizontal search tolerance, in pixels.
toleranceYVertical search tolerance, in pixels.

◆ SetZoom() [1/2]

void eVision.Legacy.EChecker.SetZoom ( float zoom)

Sets the zooming factor for use in display operations.

Parameters
zoomMagnification factor for zooming in or out in the horizontal and vertical directions (isotropic scaling).

◆ SetZoom() [2/2]

void eVision.Legacy.EChecker.SetZoom ( float zoomX,
float zoomY )

Sets the zooming factor for use in display operations.

Parameters
zoomXMagnification factor for zooming in or out in the horizontal direction.
zoomYMagnification factor for zooming in or out in the vertical direction.

Property Documentation

◆ Average

float eVision.Legacy.EChecker.Average
get

Global intensity of the mother image.

Valid in mode ENormalizationMode.ENormalizationMode_Moments only.

◆ DarkGray

float eVision.Legacy.EChecker.DarkGray
getset

Gray level in the dark areas of the mother image.

Valid in mode ENormalizationMode.ENormalizationMode_Threshold only.

◆ DegreesOfFreedom

uint eVision.Legacy.EChecker.DegreesOfFreedom
getset

Boolean combination of EDegreesOfFreedom members that indicates which degrees of freedom are to be considered.

◆ Deviation

float eVision.Legacy.EChecker.Deviation
get

Global contrast of the mother image.

Valid in mode ENormalizationMode.ENormalizationMode_Moments only.

◆ High

eVision.EImageBW8 eVision.Legacy.EChecker.High
get

High threshold image for the adaptive segmentation.

◆ HitHandle

eVision.EDragHandle eVision.Legacy.EChecker.HitHandle
get

Handle currently hit.

◆ HitRoi

eVision.ERoiHit eVision.Legacy.EChecker.HitRoi
get

ROI currently hit.

◆ LightGray

float eVision.Legacy.EChecker.LightGray
getset

Gray level in the light areas of the mother image.

Valid in mode ENormalizationMode.ENormalizationMode_Threshold only.

◆ Low

eVision.EImageBW8 eVision.Legacy.EChecker.Low
get

Low threshold image for the adaptive segmentation.

◆ Normalize

eVision.ENormalizationMode eVision.Legacy.EChecker.Normalize
getset

Current normalization mode.

◆ NumAverageSamples

uint eVision.Legacy.EChecker.NumAverageSamples
get

Number of samples that were accumulated in the "average" phase of the training.

◆ NumDeviationSamples

uint eVision.Legacy.EChecker.NumDeviationSamples
get

Number of samples that were accumulated in the "deviation" phase of the training.

◆ PanX

float eVision.Legacy.EChecker.PanX
get

Current horizontal panning value, expressed in pixels, for use in display operations.

◆ PanY

float eVision.Legacy.EChecker.PanY
get

Current vertical panning value, expressed in pixels, for use in display operations.

◆ Registered

eVision.EImageBW8 eVision.Legacy.EChecker.Registered
get

Represents the source image, after it has been aligned with the reference image.

◆ RelativeTolerance

float eVision.Legacy.EChecker.RelativeTolerance
getset

Current tolerance factor to be used for threshold image setup.

◆ ToleranceX

uint eVision.Legacy.EChecker.ToleranceX
get

Current horizontal search tolerance, in pixels.

◆ ToleranceY

uint eVision.Legacy.EChecker.ToleranceY
get

Current vertical search tolerance, in pixels.

◆ ZoomX

float eVision.Legacy.EChecker.ZoomX
get

Current horizontal zooming factor for use in display operations.

◆ ZoomY

float eVision.Legacy.EChecker.ZoomY
get

Current vertical zooming factor for use in display operations.