Represents a single instance of the pattern in the search field, as returned by the EasyFind or EasyMatch finding process. More...


Public Member Functions | |
| EFoundPattern () | |
| Constructs a EFoundPattern object. | |
| EFoundPattern (eVision.EFoundPattern other) | |
| Constructs a EFoundPattern object. | |
| eVision.ERegion | ToRegion () |
| Creates an ERegion from the EFoundPattern. If an ERegion was used to learn the pattern (see EFoundPattern.HasRegion), returns the learned region transformed to the position of the found pattern. Otherwise, return an ERegion representing all the pixels which are within the bounding box of the found pattern. | |
| eVision.EFrame | ToFrame (bool useAngle, eVision.EFrameScaling frameScaling) |
| Creates an EFrame from the EFoundPattern. | |
| eVision.EFrame | ToFrame (bool useAngle, eVision.EFrameScaling frameScaling, eVision.EFrame frame) |
| Creates an EFrame from the EFoundPattern. | |
| void | Draw (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY, float panX, float panY) |
| Draws the found pattern. | |
| void | Draw (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY, float panX) |
| Draws the found pattern. | |
| void | Draw (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY) |
| Draws the found pattern. | |
| void | Draw (eVision.EDrawAdapter graphicContext, float zoomX) |
| Draws the found pattern. | |
| void | Draw (eVision.EDrawAdapter graphicContext) |
| Draws the found pattern. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY) |
| Draws the found pattern. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, float zoomX, float zoomY, float panX) |
| Draws the found pattern. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, float zoomX, float zoomY) |
| Draws the found pattern. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, float zoomX) |
| Draws the found pattern. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame) |
| Draws the found pattern. | |
| void | Draw (IntPtr graphicContext, float zoomX, float zoomY, float panX, float panY) |
| Draws the found pattern. | |
| void | Draw (IntPtr graphicContext, float zoomX, float zoomY, float panX) |
| Draws the found pattern. | |
| void | Draw (IntPtr graphicContext, float zoomX, float zoomY) |
| Draws the found pattern. | |
| void | Draw (IntPtr graphicContext, float zoomX) |
| Draws the found pattern. | |
| void | Draw (IntPtr graphicContext) |
| Draws the found pattern. | |
| void | Draw (IntPtr graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY) |
| Draws the found pattern. | |
| void | Draw (IntPtr graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX) |
| Draws the found pattern. | |
| void | Draw (IntPtr graphicContext, eVision.ERGBColor color, float zoomX, float zoomY) |
| Draws the found pattern. | |
| void | Draw (IntPtr graphicContext, eVision.ERGBColor color, float zoomX) |
| Draws the found pattern. | |
| void | Draw (IntPtr graphicContext, eVision.ERGBColor color) |
| Draws the found pattern. | |
| void | DrawWithCurrentPen (IntPtr graphicContext, float zoomX, float zoomY, float panX, float panY) |
| Draws the found pattern. | |
| void | DrawWithCurrentPen (IntPtr graphicContext, float zoomX, float zoomY, float panX) |
| Draws the found pattern. | |
| void | DrawWithCurrentPen (IntPtr graphicContext, float zoomX, float zoomY) |
| Draws the found pattern. | |
| void | DrawWithCurrentPen (IntPtr graphicContext, float zoomX) |
| Draws the found pattern. | |
| void | DrawWithCurrentPen (IntPtr graphicContext) |
| Draws the found pattern. | |
| void | Draw (System.Drawing.Graphics graphicContext, float zoomX, float zoomY, float panX, float panY) |
| Draws the found pattern. | |
| void | Draw (System.Drawing.Graphics graphicContext, float zoomX, float zoomY, float panX) |
| Draws the found pattern. | |
| void | Draw (System.Drawing.Graphics graphicContext, float zoomX, float zoomY) |
| Draws the found pattern. | |
| void | Draw (System.Drawing.Graphics graphicContext, float zoomX) |
| Draws the found pattern. | |
| void | Draw (System.Drawing.Graphics graphicContext) |
| Draws the found pattern. | |
| void | Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY) |
| Draws the found pattern. | |
| void | Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX) |
| Draws the found pattern. | |
| void | Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX, float zoomY) |
| Draws the found pattern. | |
| void | Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX) |
| Draws the found pattern. | |
| void | Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color) |
| Draws the found pattern. | |
Properties | |
| eVision.EPoint | Center [get] |
| Reference point of the instance. | |
| float | Angle [get] |
| Angle of the found instance, in clockwise direction and in the current angle unit. | |
| float | Scale [get] |
| Scaling factor of the found pattern, in units (not percent). | |
| float | ScaleX [get] |
| Horizontal Scaling factor of the found pattern, in units (not percent). | |
| float | ScaleY [get] |
| Vertical Scaling factor of the found pattern, in units (not percent). | |
| float | Score [get] |
| Matching score of the found pattern, in units (not percent). | |
| float | AreaRatio [get] |
| When the EFoundPattern was computed from an EMatcher: Ratio between the found pattern area inside the search ROI/Region and its complete area. When the EFoundPattern was computed from an EPatternFinder: returns 1.0. | |
| uint | LearntPatternIndex [get] |
| Returns the index of the pattern learnt by EPatternFinder.LearnPatterns or EMatcher.LearnPatterns corresponding to this EFoundPattern.EFoundPattern or 0 if a single pattern was learnt. | |
| bool | DrawBoundingBox [get, set] |
| Flag indicating if the EFoundPattern.Draw method must draw the bounding box of the FoundPattern. | |
| bool | DrawCenter [get, set] |
| Flag indicating if the EFoundPattern.Draw method must draw the center of the FoundPattern. | |
| bool | DrawFeaturePoints [get, set] |
| Flag indicating if the EFoundPattern.Draw method must draw the feature points of the EFoundPattern.EFoundPattern object. | |
| eVision.EDrawRegion | DrawRegion [get, set] |
| Flag indicating if the EFoundPattern.Draw method must draw the region of the EFoundPattern object (region that was used during Learn), its contour or neither. If no region was used during learning, setting this to EDrawRegion.EDrawRegion_DrawContour or EDrawRegion.EDrawRegion_Draw will throw an exception. See EFoundPattern.HasRegion to check if a region was used during learning. | |
| bool | HasRegion [get] |
| Indicates whether there is an ERegion associated with this EFoundPattern, i.e. whether an ERegion was used during the learning of the pattern. See EFoundPattern.DrawRegion to draw the region. | |
| bool | HasFeaturePoints [get] |
| Indicates whether there are feature points within this EFoundPattern. See EFoundPattern.DrawFeaturePoints to draw the feature points. | |
| eVision.EQuadrangle | Quadrangle [get] |
| Returns the corners of the bounding box of the found pattern. | |
Represents a single instance of the pattern in the search field, as returned by the EasyFind or EasyMatch finding process.
EPatternFinder.Find and EMatcher.Match return a collection of instances of this class. An EFoundPattern object represents one found instance, with all the needed information about it.
License(s): EasyFind or EasyMatch
| eVision.EFoundPattern.EFoundPattern | ( | ) |
Constructs a EFoundPattern object.
| eVision.EFoundPattern.EFoundPattern | ( | eVision.EFoundPattern | other | ) |
Constructs a EFoundPattern object.
| other | EFoundPattern object to be copied |
| void eVision.EFoundPattern.Draw | ( | eVision.EDrawAdapter | graphicContext | ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| void eVision.EFoundPattern.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| frame | Frame associated with the pattern. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| void eVision.EFoundPattern.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame, | ||
| float | zoomX ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| frame | Frame associated with the pattern. |
| zoomX | Horizontal zooming factor. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| void eVision.EFoundPattern.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| frame | Frame associated with the pattern. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| void eVision.EFoundPattern.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| frame | Frame associated with the pattern. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| void eVision.EFoundPattern.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| frame | Frame associated with the pattern. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| void eVision.EFoundPattern.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| float | zoomX ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Horizontal zooming factor. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| void eVision.EFoundPattern.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| float | zoomX, | ||
| float | zoomY ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| void eVision.EFoundPattern.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| void eVision.EFoundPattern.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| void eVision.EFoundPattern.Draw | ( | IntPtr | graphicContext | ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
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.EFoundPattern.Draw | ( | IntPtr | graphicContext, |
| eVision.ERGBColor | color ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| color | The color in which to draw the overlay. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
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.EFoundPattern.Draw | ( | IntPtr | graphicContext, |
| eVision.ERGBColor | color, | ||
| float | zoomX ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| color | The color in which to draw the overlay. |
| zoomX | Horizontal zooming factor. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
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.EFoundPattern.Draw | ( | IntPtr | graphicContext, |
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| color | The color in which to draw the overlay. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
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.EFoundPattern.Draw | ( | IntPtr | graphicContext, |
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| color | The color in which to draw the overlay. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
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.EFoundPattern.Draw | ( | IntPtr | graphicContext, |
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| color | The color in which to draw the overlay. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
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.EFoundPattern.Draw | ( | IntPtr | graphicContext, |
| float | zoomX ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Horizontal zooming factor. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
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.EFoundPattern.Draw | ( | IntPtr | graphicContext, |
| float | zoomX, | ||
| float | zoomY ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
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.EFoundPattern.Draw | ( | IntPtr | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
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.EFoundPattern.Draw | ( | IntPtr | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
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.EFoundPattern.Draw | ( | System.Drawing.Graphics | graphicContext | ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
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.EFoundPattern.Draw | ( | System.Drawing.Graphics | graphicContext, |
| eVision.ERGBColor | color ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| color | The color in which to draw the overlay. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
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.EFoundPattern.Draw | ( | System.Drawing.Graphics | graphicContext, |
| eVision.ERGBColor | color, | ||
| float | zoomX ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| color | The color in which to draw the overlay. |
| zoomX | Horizontal zooming factor. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
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.EFoundPattern.Draw | ( | System.Drawing.Graphics | graphicContext, |
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| color | The color in which to draw the overlay. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
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.EFoundPattern.Draw | ( | System.Drawing.Graphics | graphicContext, |
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| color | The color in which to draw the overlay. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
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.EFoundPattern.Draw | ( | System.Drawing.Graphics | graphicContext, |
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| color | The color in which to draw the overlay. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
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.EFoundPattern.Draw | ( | System.Drawing.Graphics | graphicContext, |
| float | zoomX ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Horizontal zooming factor. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
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.EFoundPattern.Draw | ( | System.Drawing.Graphics | graphicContext, |
| float | zoomX, | ||
| float | zoomY ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
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.EFoundPattern.Draw | ( | System.Drawing.Graphics | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
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.EFoundPattern.Draw | ( | System.Drawing.Graphics | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
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.EFoundPattern.DrawWithCurrentPen | ( | IntPtr | graphicContext | ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| void eVision.EFoundPattern.DrawWithCurrentPen | ( | IntPtr | graphicContext, |
| float | zoomX ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Horizontal zooming factor. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| void eVision.EFoundPattern.DrawWithCurrentPen | ( | IntPtr | graphicContext, |
| float | zoomX, | ||
| float | zoomY ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| void eVision.EFoundPattern.DrawWithCurrentPen | ( | IntPtr | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| void eVision.EFoundPattern.DrawWithCurrentPen | ( | IntPtr | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the found pattern.
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
This method draws different features of the EFoundPattern, according to the value of properties EFoundPattern.DrawFeaturePoints, EFoundPattern.DrawCenter, EFoundPattern.DrawBoundingBox and EFoundPattern.DrawRegion. The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| eVision.EFrame eVision.EFoundPattern.ToFrame | ( | bool | useAngle, |
| eVision.EFrameScaling | frameScaling ) |
Creates an EFrame from the EFoundPattern.
| useAngle | Whether to use the angle of the EFoundPattern in the frame. |
| frameScaling | How to handle the scale of the frame. |
| eVision.EFrame eVision.EFoundPattern.ToFrame | ( | bool | useAngle, |
| eVision.EFrameScaling | frameScaling, | ||
| eVision.EFrame | frame ) |
Creates an EFrame from the EFoundPattern.
| useAngle | Whether to use the angle of the EFoundPattern in the frame. |
| frameScaling | How to handle the scale of the frame. |
| frame | Parent frame. Used when the EFoundPattern was read using a frame. |
| eVision.ERegion eVision.EFoundPattern.ToRegion | ( | ) |
Creates an ERegion from the EFoundPattern. If an ERegion was used to learn the pattern (see EFoundPattern.HasRegion), returns the learned region transformed to the position of the found pattern. Otherwise, return an ERegion representing all the pixels which are within the bounding box of the found pattern.
|
get |
Angle of the found instance, in clockwise direction and in the current angle unit.
This returned value is always comprised in the range [- a half turn, + a half turn].
|
get |
When the EFoundPattern was computed from an EMatcher: Ratio between the found pattern area inside the search ROI/Region and its complete area. When the EFoundPattern was computed from an EPatternFinder: returns 1.0.
|
get |
Reference point of the instance.
By default, this is its center. If the property EPatternFinder.Pivot has been changed in the EPatternFinder, the point returns the pivot_ in the instance.
|
getset |
Flag indicating if the EFoundPattern.Draw method must draw the bounding box of the FoundPattern.
The default value is true.
|
getset |
Flag indicating if the EFoundPattern.Draw method must draw the center of the FoundPattern.
The default value is true.
|
getset |
Flag indicating if the EFoundPattern.Draw method must draw the feature points of the EFoundPattern.EFoundPattern object.
When the EFoundPattern was computed from an EMatcher, there are no feature points to draw and setting this to true will throw an Exception.
When the EFoundPattern was computed from an EPatternFinder in which:
The default value is false.
|
getset |
Flag indicating if the EFoundPattern.Draw method must draw the region of the EFoundPattern object (region that was used during Learn), its contour or neither. If no region was used during learning, setting this to EDrawRegion.EDrawRegion_DrawContour or EDrawRegion.EDrawRegion_Draw will throw an exception. See EFoundPattern.HasRegion to check if a region was used during learning.
The default value is EDrawRegion.EDrawRegion_NoDraw.
|
get |
Indicates whether there are feature points within this EFoundPattern. See EFoundPattern.DrawFeaturePoints to draw the feature points.
|
get |
Indicates whether there is an ERegion associated with this EFoundPattern, i.e. whether an ERegion was used during the learning of the pattern. See EFoundPattern.DrawRegion to draw the region.
|
get |
Returns the index of the pattern learnt by EPatternFinder.LearnPatterns or EMatcher.LearnPatterns corresponding to this EFoundPattern.EFoundPattern or 0 if a single pattern was learnt.
|
get |
Returns the corners of the bounding box of the found pattern.
|
get |
Scaling factor of the found pattern, in units (not percent).
Querying this will throw an Exception if EFoundPattern.ScaleX != EFoundPattern.ScaleY.
|
get |
Horizontal Scaling factor of the found pattern, in units (not percent).
EPatternFinder does not support anisotropic scaling. In that case, this will return the same result as EFoundPattern.Scale.
|
get |
Vertical Scaling factor of the found pattern, in units (not percent).
EPatternFinder does not support anisotropic scaling. In that case, this will return the same result as EFoundPattern.Scale.
|
get |
Matching score of the found pattern, in units (not percent).
The matching score range is [-1.0..1.0].