Manages a complete context for the inspection tool based on image comparison in EasyOCV. More...
#include <eVision/EasyOcv/Legacy/EChecker.h>
Public Member Functions | |
| EChecker () | |
| Constructs an uninitialized checker context. | |
| virtual | ~EChecker () throw () |
| eVision::EImageBW8 * | GetLow () |
| Low threshold image for the adaptive segmentation. | |
| eVision::EImageBW8 * | GetHigh () |
| High threshold image for the adaptive segmentation. | |
| eVision::EImageBW8 * | GetRegistered () |
| Represents the source image, after it has been aligned with the reference image. | |
| void | Attach (eVision::EROIBW8 *source) |
| Associates a source image to a checker context. | |
| uint32_t | GetToleranceX () const |
| Current horizontal search tolerance, in pixels. | |
| uint32_t | GetToleranceY () const |
| Current vertical search tolerance, in pixels. | |
| void | SetTolerance (uint32_t toleranceX, uint32_t toleranceY) |
| Sets the search margin, i.e. the width and height of the search area surrounding the alignment pattern(s). | |
| uint32_t | GetNumAverageSamples () const |
| Number of samples that were accumulated in the "average" phase of the training. | |
| uint32_t | GetNumDeviationSamples () const |
| Number of samples that were accumulated in the "deviation" phase of the training. | |
| eVision::ENormalizationMode | GetNormalize () const |
| Current normalization mode. | |
| void | SetNormalize (eVision::ENormalizationMode eNormalize) |
| Current normalization mode. | |
| float | GetAverage () const |
| Global intensity of the mother image. | |
| float | GetDeviation () const |
| Global contrast of the mother image. | |
| uint32_t | GetDegreesOfFreedom () const |
| Boolean combination of EDegreesOfFreedom members that indicates which degrees of freedom are to be considered. | |
| void | SetDegreesOfFreedom (uint32_t un32DegreesOfFreedom) |
| Boolean combination of EDegreesOfFreedom members that indicates which degrees of freedom are to be considered. | |
| void | Register () |
| Realigns and normalizes the source image. | |
| void | Learn (eVision::ELearningMode mode) |
| Accumulates a reference image, following a sequence of operations. | |
| float | GetRelativeTolerance () const |
| Current tolerance factor to be used for threshold image setup. | |
| void | SetRelativeTolerance (float f32RelativeTolerance) |
| Current tolerance factor to be used for threshold image setup. | |
| void | EmptyPathNames () |
| Clears the list of file pathnames. | |
| void | AddPathName (const std::string &pathName) |
| Adds a single file pathname. | |
| void | BatchLearn (eVision::ELearningMode mode) |
| Performs the learning sequence using the specified list of image files. | |
| float | GetDarkGray () const |
| Gray level in the dark areas of the mother image. | |
| void | SetDarkGray (float f32DarkGray) |
| Gray level in the dark areas of the mother image. | |
| float | GetLightGray () const |
| Gray level in the light areas of the mother image. | |
| void | SetLightGray (float f32LightGray) |
| Gray level in the light areas of the mother image. | |
| 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. | |
| float | GetZoomX () const |
| Current horizontal zooming factor for use in display operations. | |
| float | GetZoomY () const |
| Current vertical zooming factor for use in display operations. | |
| float | GetPanX () const |
| Current horizontal panning value, expressed in pixels, for use in display operations. | |
| float | GetPanY () const |
| Current vertical 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 (HDC 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 (HDC 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 (HDC graphicContext, eVision::EDrawingMode drawingMode, bool handles, float zoomX, float zoomY) |
| Draws one of the geometric items that define the EChecker::EChecker tool. | |
| void | Draw (HDC graphicContext, eVision::EDrawingMode drawingMode, bool handles, float zoomX) |
| Draws one of the geometric items that define the EChecker::EChecker tool. | |
| void | Draw (HDC graphicContext, eVision::EDrawingMode drawingMode, bool handles) |
| Draws one of the geometric items that define the EChecker::EChecker tool. | |
| void | Draw (HDC graphicContext, eVision::EDrawingMode drawingMode) |
| Draws one of the geometric items that define the EChecker::EChecker tool. | |
| void | Draw (HDC graphicContext, const 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 (HDC graphicContext, const 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 (HDC graphicContext, const 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 (HDC graphicContext, const eVision::ERGBColor &color, eVision::EDrawingMode drawingMode, bool handles, float zoomX) |
| Draws one of the geometric items that define the EChecker::EChecker tool. | |
| void | Draw (HDC graphicContext, const eVision::ERGBColor &color, eVision::EDrawingMode drawingMode, bool handles) |
| Draws one of the geometric items that define the EChecker::EChecker tool. | |
| void | Draw (HDC graphicContext, const eVision::ERGBColor &color, eVision::EDrawingMode drawingMode) |
| Draws one of the geometric items that define the EChecker::EChecker tool. | |
| void | DrawWithCurrentPen (HDC 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 (HDC 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 (HDC graphicContext, eVision::EDrawingMode drawingMode, bool handles, float zoomX, float zoomY) |
| Draws one of the geometric items that define the EChecker::EChecker tool. | |
| void | DrawWithCurrentPen (HDC graphicContext, eVision::EDrawingMode drawingMode, bool handles, float zoomX) |
| Draws one of the geometric items that define the EChecker::EChecker tool. | |
| void | DrawWithCurrentPen (HDC graphicContext, eVision::EDrawingMode drawingMode, bool handles) |
| Draws one of the geometric items that define the EChecker::EChecker tool. | |
| void | DrawWithCurrentPen (HDC graphicContext, eVision::EDrawingMode drawingMode) |
| Draws one of the geometric items that define the EChecker::EChecker tool. | |
| bool | HitTest (int32_t x, int32_t y) |
| Returns true if the cursor is over one of the dragging handles. | |
| eVision::EDragHandle | GetHitHandle () const |
| Handle currently hit. | |
| eVision::ERoiHit | GetHitRoi () const |
| ROI currently hit. | |
| void | Drag (int32_t x, int32_t 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 (const std::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 (const std::string &path) |
| Saves the EChecker. The given ESerializer must have been created for writing. | |
| EChecker (CppWrapperInternal::InternalConstructor) | |
Public Attributes | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
Manages a complete context for the inspection tool based on image comparison in EasyOCV.
License(s): EasyMatch and EasyObject and EasyImage
Use EChecker::EChecker instead.
Deprecated in version 2.15. Scheduled to be removed in version 27.6.
| eVision::Legacy::EChecker::EChecker | ( | ) |
Constructs an uninitialized checker context.
|
virtual | ||||||||||||
| eVision::Legacy::EChecker::EChecker | ( | CppWrapperInternal::InternalConstructor | ) |
| void eVision::Legacy::EChecker::AddPathName | ( | const std::string & | pathName | ) |
Adds a single file pathname.
| pathName | NULL terminated text string containing the file pathname. |
| void eVision::Legacy::EChecker::Attach | ( | eVision::EROIBW8 * | source | ) |
Associates a source image to a checker context.
| source | Pointer to the source image. |
The source image is used in all consecutive learning/inspection operations.
| void eVision::Legacy::EChecker::BatchLearn | ( | eVision::ELearningMode | mode | ) |
Performs the learning sequence using the specified list of image files.
| mode | ELearningMode::ELearningMode_RmsDeviation or ELearningMode::ELearningMode_AbsDeviation, depending on the preferred method of computing the deviations. |
| void eVision::Legacy::EChecker::Drag | ( | int32_t | x, |
| int32_t | y ) |
Moves the relevant ROI by means of its handle.
| x | New horizontal cursor position. |
| y | New vertical cursor position. |
| void eVision::Legacy::EChecker::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| eVision::EDrawingMode | drawingMode ) |
Draws one of the geometric items that define the EChecker::EChecker tool.
| graphicContext | Device context of the drawing window. |
| drawingMode | ROI to be drawn, as defined by EDrawingMode. |
| 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.
| graphicContext | Device context of the drawing window. |
| drawingMode | ROI to be drawn, as defined by EDrawingMode. |
| handles | true if the dragging handles must be displayed. |
| 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.
| graphicContext | Device context of the drawing window. |
| drawingMode | ROI to be drawn, as defined by EDrawingMode. |
| handles | true if the dragging handles must be displayed. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| 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.
| graphicContext | Device context of the drawing window. |
| drawingMode | ROI to be drawn, as defined by EDrawingMode. |
| handles | true if the dragging handles must be displayed. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification 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). |
| 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.
| graphicContext | Device context of the drawing window. |
| drawingMode | ROI to be drawn, as defined by EDrawingMode. |
| handles | true if the dragging handles must be displayed. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification 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). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| 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.
| graphicContext | Device context of the drawing window. |
| drawingMode | ROI to be drawn, as defined by EDrawingMode. |
| handles | true if the dragging handles must be displayed. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification 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). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| void eVision::Legacy::EChecker::Draw | ( | HDC | graphicContext, |
| const eVision::ERGBColor & | color, | ||
| eVision::EDrawingMode | drawingMode ) |
Draws one of the geometric items that define the EChecker::EChecker tool.
| graphicContext | Device context of the drawing window. |
| color | The color in which to draw the overlay. |
| drawingMode | ROI to be drawn, as defined by EDrawingMode. |
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.
| void eVision::Legacy::EChecker::Draw | ( | HDC | graphicContext, |
| const eVision::ERGBColor & | color, | ||
| eVision::EDrawingMode | drawingMode, | ||
| bool | handles ) |
Draws one of the geometric items that define the EChecker::EChecker tool.
| graphicContext | Device context of the drawing window. |
| color | The color in which to draw the overlay. |
| drawingMode | ROI to be drawn, as defined by EDrawingMode. |
| handles | true if the dragging handles must be displayed. |
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.
| void eVision::Legacy::EChecker::Draw | ( | HDC | graphicContext, |
| const eVision::ERGBColor & | color, | ||
| eVision::EDrawingMode | drawingMode, | ||
| bool | handles, | ||
| float | zoomX ) |
Draws one of the geometric items that define the EChecker::EChecker tool.
| graphicContext | Device context of the drawing window. |
| color | The color in which to draw the overlay. |
| drawingMode | ROI to be drawn, as defined by EDrawingMode. |
| handles | true if the dragging handles must be displayed. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
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.
| void eVision::Legacy::EChecker::Draw | ( | HDC | graphicContext, |
| const eVision::ERGBColor & | color, | ||
| eVision::EDrawingMode | drawingMode, | ||
| bool | handles, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws one of the geometric items that define the EChecker::EChecker tool.
| graphicContext | Device context of the drawing window. |
| color | The color in which to draw the overlay. |
| drawingMode | ROI to be drawn, as defined by EDrawingMode. |
| handles | true if the dragging handles must be displayed. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification 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). |
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.
| void eVision::Legacy::EChecker::Draw | ( | HDC | graphicContext, |
| const 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.
| graphicContext | Device context of the drawing window. |
| color | The color in which to draw the overlay. |
| drawingMode | ROI to be drawn, as defined by EDrawingMode. |
| handles | true if the dragging handles must be displayed. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification 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). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
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.
| void eVision::Legacy::EChecker::Draw | ( | HDC | graphicContext, |
| const 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.
| graphicContext | Device context of the drawing window. |
| color | The color in which to draw the overlay. |
| drawingMode | ROI to be drawn, as defined by EDrawingMode. |
| handles | true if the dragging handles must be displayed. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification 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). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
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.
| void eVision::Legacy::EChecker::Draw | ( | HDC | graphicContext, |
| eVision::EDrawingMode | drawingMode ) |
Draws one of the geometric items that define the EChecker::EChecker tool.
| graphicContext | Device context of the drawing window. |
| drawingMode | ROI to be drawn, as defined by EDrawingMode. |
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.
| void eVision::Legacy::EChecker::Draw | ( | HDC | graphicContext, |
| eVision::EDrawingMode | drawingMode, | ||
| bool | handles ) |
Draws one of the geometric items that define the EChecker::EChecker tool.
| graphicContext | Device context of the drawing window. |
| drawingMode | ROI to be drawn, as defined by EDrawingMode. |
| handles | true if the dragging handles must be displayed. |
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.
| void eVision::Legacy::EChecker::Draw | ( | HDC | graphicContext, |
| eVision::EDrawingMode | drawingMode, | ||
| bool | handles, | ||
| float | zoomX ) |
Draws one of the geometric items that define the EChecker::EChecker tool.
| graphicContext | Device context of the drawing window. |
| drawingMode | ROI to be drawn, as defined by EDrawingMode. |
| handles | true if the dragging handles must be displayed. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
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.
| void eVision::Legacy::EChecker::Draw | ( | HDC | graphicContext, |
| eVision::EDrawingMode | drawingMode, | ||
| bool | handles, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws one of the geometric items that define the EChecker::EChecker tool.
| graphicContext | Device context of the drawing window. |
| drawingMode | ROI to be drawn, as defined by EDrawingMode. |
| handles | true if the dragging handles must be displayed. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification 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). |
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.
| void eVision::Legacy::EChecker::Draw | ( | HDC | graphicContext, |
| eVision::EDrawingMode | drawingMode, | ||
| bool | handles, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws one of the geometric items that define the EChecker::EChecker tool.
| graphicContext | Device context of the drawing window. |
| drawingMode | ROI to be drawn, as defined by EDrawingMode. |
| handles | true if the dragging handles must be displayed. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification 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). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
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.
| void eVision::Legacy::EChecker::Draw | ( | HDC | 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.
| graphicContext | Device context of the drawing window. |
| drawingMode | ROI to be drawn, as defined by EDrawingMode. |
| handles | true if the dragging handles must be displayed. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification 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). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
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.
| void eVision::Legacy::EChecker::DrawWithCurrentPen | ( | HDC | graphicContext, |
| eVision::EDrawingMode | drawingMode ) |
Draws one of the geometric items that define the EChecker::EChecker tool.
| graphicContext | Device context of the drawing window. |
| drawingMode | ROI to be drawn, as defined by EDrawingMode. |
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.
| void eVision::Legacy::EChecker::DrawWithCurrentPen | ( | HDC | graphicContext, |
| eVision::EDrawingMode | drawingMode, | ||
| bool | handles ) |
Draws one of the geometric items that define the EChecker::EChecker tool.
| graphicContext | Device context of the drawing window. |
| drawingMode | ROI to be drawn, as defined by EDrawingMode. |
| handles | true if the dragging handles must be displayed. |
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.
| void eVision::Legacy::EChecker::DrawWithCurrentPen | ( | HDC | graphicContext, |
| eVision::EDrawingMode | drawingMode, | ||
| bool | handles, | ||
| float | zoomX ) |
Draws one of the geometric items that define the EChecker::EChecker tool.
| graphicContext | Device context of the drawing window. |
| drawingMode | ROI to be drawn, as defined by EDrawingMode. |
| handles | true if the dragging handles must be displayed. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
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.
| void eVision::Legacy::EChecker::DrawWithCurrentPen | ( | HDC | graphicContext, |
| eVision::EDrawingMode | drawingMode, | ||
| bool | handles, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws one of the geometric items that define the EChecker::EChecker tool.
| graphicContext | Device context of the drawing window. |
| drawingMode | ROI to be drawn, as defined by EDrawingMode. |
| handles | true if the dragging handles must be displayed. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification 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). |
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.
| void eVision::Legacy::EChecker::DrawWithCurrentPen | ( | HDC | graphicContext, |
| eVision::EDrawingMode | drawingMode, | ||
| bool | handles, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws one of the geometric items that define the EChecker::EChecker tool.
| graphicContext | Device context of the drawing window. |
| drawingMode | ROI to be drawn, as defined by EDrawingMode. |
| handles | true if the dragging handles must be displayed. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification 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). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
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.
| void eVision::Legacy::EChecker::DrawWithCurrentPen | ( | HDC | 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.
| graphicContext | Device context of the drawing window. |
| drawingMode | ROI to be drawn, as defined by EDrawingMode. |
| handles | true if the dragging handles must be displayed. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification 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). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
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.
| void eVision::Legacy::EChecker::EmptyPathNames | ( | ) |
Clears the list of file pathnames.
| float eVision::Legacy::EChecker::GetAverage | ( | ) | const |
Global intensity of the mother image.
Valid in mode ENormalizationMode::ENormalizationMode_Moments only.
| float eVision::Legacy::EChecker::GetDarkGray | ( | ) | const |
Gray level in the dark areas of the mother image.
Valid in mode ENormalizationMode::ENormalizationMode_Threshold only.
| uint32_t eVision::Legacy::EChecker::GetDegreesOfFreedom | ( | ) | const |
Boolean combination of EDegreesOfFreedom members that indicates which degrees of freedom are to be considered.
| float eVision::Legacy::EChecker::GetDeviation | ( | ) | const |
Global contrast of the mother image.
Valid in mode ENormalizationMode::ENormalizationMode_Moments only.
| eVision::EImageBW8 * eVision::Legacy::EChecker::GetHigh | ( | ) |
High threshold image for the adaptive segmentation.
| eVision::EDragHandle eVision::Legacy::EChecker::GetHitHandle | ( | ) | const |
Handle currently hit.
| eVision::ERoiHit eVision::Legacy::EChecker::GetHitRoi | ( | ) | const |
ROI currently hit.
| float eVision::Legacy::EChecker::GetLightGray | ( | ) | const |
Gray level in the light areas of the mother image.
Valid in mode ENormalizationMode::ENormalizationMode_Threshold only.
| eVision::EImageBW8 * eVision::Legacy::EChecker::GetLow | ( | ) |
Low threshold image for the adaptive segmentation.
| eVision::ENormalizationMode eVision::Legacy::EChecker::GetNormalize | ( | ) | const |
Current normalization mode.
| uint32_t eVision::Legacy::EChecker::GetNumAverageSamples | ( | ) | const |
Number of samples that were accumulated in the "average" phase of the training.
| uint32_t eVision::Legacy::EChecker::GetNumDeviationSamples | ( | ) | const |
Number of samples that were accumulated in the "deviation" phase of the training.
| float eVision::Legacy::EChecker::GetPanX | ( | ) | const |
Current horizontal panning value, expressed in pixels, for use in display operations.
| float eVision::Legacy::EChecker::GetPanY | ( | ) | const |
Current vertical panning value, expressed in pixels, for use in display operations.
| eVision::EImageBW8 * eVision::Legacy::EChecker::GetRegistered | ( | ) |
Represents the source image, after it has been aligned with the reference image.
| float eVision::Legacy::EChecker::GetRelativeTolerance | ( | ) | const |
Current tolerance factor to be used for threshold image setup.
| uint32_t eVision::Legacy::EChecker::GetToleranceX | ( | ) | const |
Current horizontal search tolerance, in pixels.
| uint32_t eVision::Legacy::EChecker::GetToleranceY | ( | ) | const |
Current vertical search tolerance, in pixels.
| float eVision::Legacy::EChecker::GetZoomX | ( | ) | const |
Current horizontal zooming factor for use in display operations.
| float eVision::Legacy::EChecker::GetZoomY | ( | ) | const |
Current vertical zooming factor for use in display operations.
| bool eVision::Legacy::EChecker::HitTest | ( | int32_t | x, |
| int32_t | y ) |
Returns true if the cursor is over one of the dragging handles.
| x | Current horizontal cursor position. |
| y | Current vertical cursor position. |
In this case, EChecker::GetHitRoi returns the name of the ROI that has been hit, and EChecker::GetHitHandle returns the name of the corresponding handle.
| void eVision::Legacy::EChecker::Learn | ( | eVision::ELearningMode | mode | ) |
Accumulates a reference image, following a sequence of operations.
| mode | Current 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:
| void eVision::Legacy::EChecker::Load | ( | const std::string & | path | ) |
Loads the EChecker. The given ESerializer must have been created for reading.
| path | The file path. |
| void eVision::Legacy::EChecker::Load | ( | eVision::ESerializer * | serializer | ) |
Loads the EChecker. The given ESerializer must have been created for reading.
| serializer | The serializer. |
| 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::GetRegistered contains the realigned, normalized contents of the inspected ROI.
| void eVision::Legacy::EChecker::Save | ( | const std::string & | path | ) |
Saves the EChecker. The given ESerializer must have been created for writing.
| path | The file path. |
| void eVision::Legacy::EChecker::Save | ( | eVision::ESerializer * | serializer | ) |
Saves the EChecker. The given ESerializer must have been created for writing.
| serializer | The serializer. |
| void eVision::Legacy::EChecker::SetDarkGray | ( | float | f32DarkGray | ) |
Gray level in the dark areas of the mother image.
Valid in mode ENormalizationMode::ENormalizationMode_Threshold only.
| void eVision::Legacy::EChecker::SetDegreesOfFreedom | ( | uint32_t | un32DegreesOfFreedom | ) |
Boolean combination of EDegreesOfFreedom members that indicates which degrees of freedom are to be considered.
| void eVision::Legacy::EChecker::SetLightGray | ( | float | f32LightGray | ) |
Gray level in the light areas of the mother image.
Valid in mode ENormalizationMode::ENormalizationMode_Threshold only.
| void eVision::Legacy::EChecker::SetNormalize | ( | eVision::ENormalizationMode | eNormalize | ) |
Current normalization mode.
| void eVision::Legacy::EChecker::SetPan | ( | float | panX, |
| float | panY ) |
Sets the panning value, expressed in pixels, for use in display operations.
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| void eVision::Legacy::EChecker::SetRelativeTolerance | ( | float | f32RelativeTolerance | ) |
Current tolerance factor to be used for threshold image setup.
| void eVision::Legacy::EChecker::SetTolerance | ( | uint32_t | toleranceX, |
| uint32_t | toleranceY ) |
Sets the search margin, i.e. the width and height of the search area surrounding the alignment pattern(s).
| toleranceX | Horizontal search tolerance, in pixels. |
| toleranceY | Vertical search tolerance, in pixels. |
| void eVision::Legacy::EChecker::SetZoom | ( | float | zoom | ) |
Sets the zooming factor for use in display operations.
| zoom | Magnification factor for zooming in or out in the horizontal and vertical directions (isotropic scaling). |
| void eVision::Legacy::EChecker::SetZoom | ( | float | zoomX, |
| float | zoomY ) |
Sets the zooming factor for use in display operations.
| zoomX | Magnification factor for zooming in or out in the horizontal direction. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. |
| CppWrapperInternal::WrappedClass eVision::Legacy::EChecker::wrappedClass_ |