Represents a single instance of the pattern in the search field, as returned by the EasyMatch matching process. More...
Public Member Functions | |
| None | __init__ (self) |
| None | __init__ (self, float CenterX) |
| None | __init__ (self, float CenterX, float CenterY) |
| None | __init__ (self, float CenterX, float CenterY, float Angle) |
| None | __init__ (self, float CenterX, float CenterY, float Angle, float Scale) |
| None | __init__ (self, float CenterX, float CenterY, float Angle, float Scale, float ScaleX) |
| None | __init__ (self, float CenterX, float CenterY, float Angle, float Scale, float ScaleX, float ScaleY) |
| None | __init__ (self, float CenterX, float CenterY, float Angle, float Scale, float ScaleX, float ScaleY, float Score) |
| None | __init__ (self, float CenterX, float CenterY, float Angle, float Scale, float ScaleX, float ScaleY, float Score, bool Interpolated) |
| None | __init__ (self, float CenterX, float CenterY, float Angle, float Scale, float ScaleX, float ScaleY, float Score, bool Interpolated, float AreaRatio) |
| None | __init__ (self, float CenterX, float CenterY, float Angle, float Scale, float ScaleX, float ScaleY, float Score, bool Interpolated, float AreaRatio, float Reserved) |
| None | __init__ (self, float CenterX, float CenterY, float Angle, float Scale, float ScaleX, float ScaleY, float Score, bool Interpolated, float AreaRatio, float Reserved, float CachedRectangleSizeForOverlap) |
| None | __init__ (self, eVision.EMatchPosition other) |
| eVision.ERegion | ToRegion (self, int modelWidth, int modelHeight) |
| Creates an ERegion from the eVision.EMatchPosition. | |
| float | CenterX (self) |
| Abscissa of the center of the pattern found in the image. | |
| CenterX (self, float value) | |
| Abscissa of the center of the pattern found in the image. | |
| float | CenterY (self) |
| Ordinate of the center of the pattern found in the image. | |
| CenterY (self, float value) | |
| Ordinate of the center of the pattern found in the image. | |
| float | Angle (self) |
| Clockwise rotation angle, expressed using the current angle unit, of the pattern found in the image. | |
| Angle (self, float value) | |
| Clockwise rotation angle, expressed using the current angle unit, of the pattern found in the image. | |
| float | Scale (self) |
| Scale factor of the pattern found in the image. | |
| Scale (self, float value) | |
| Scale factor of the pattern found in the image. | |
| float | ScaleX (self) |
| Measured horizontal scaling of the pattern found in the image, expressed as a dimensionless ratio. | |
| ScaleX (self, float value) | |
| Measured horizontal scaling of the pattern found in the image, expressed as a dimensionless ratio. | |
| float | ScaleY (self) |
| Measured vertical scaling of the pattern found in the image, expressed as a dimensionless ratio. | |
| ScaleY (self, float value) | |
| Measured vertical scaling of the pattern found in the image, expressed as a dimensionless ratio. | |
| float | Score (self) |
| Indicates how good a matching was. | |
| Score (self, float value) | |
| Indicates how good a matching was. | |
| bool | Interpolated (self) |
| Indicates whether sub-pixel interpolation was actually performed on the position. | |
| Interpolated (self, bool value) | |
| Indicates whether sub-pixel interpolation was actually performed on the position. | |
| float | AreaRatio (self) |
| Ratio between the found pattern area inside the search ROI and its complete area. | |
| AreaRatio (self, float value) | |
| Ratio between the found pattern area inside the search ROI and its complete area. | |
| float | Reserved (self) |
| Reserved (self, float value) | |
| float | CachedRectangleSizeForOverlap (self) |
| CachedRectangleSizeForOverlap (self, float value) | |
Represents a single instance of the pattern in the search field, as returned by the EasyMatch matching process.
Remarks:
eVision.EMatcher.GetPosition returns instances of this class. A eVision.EMatchPosition object represents one matched instance, with all the needed information about it.
License(s): None
Use eVision.EFoundPattern instead.
Deprecated in version 25.2. Scheduled to be removed in version 27.6.
| None eVision.EMatchPosition.__init__ | ( | self | ) |
| None eVision.EMatchPosition.__init__ | ( | self, | |
| float | CenterX ) |
| CenterX | Abscissa of the center of the pattern found in the image. |
| None eVision.EMatchPosition.__init__ | ( | self, | |
| float | CenterX, | ||
| float | CenterY ) |
| CenterX | Abscissa of the center of the pattern found in the image. |
| CenterY | Ordinate of the center of the pattern found in the image. |
| None eVision.EMatchPosition.__init__ | ( | self, | |
| float | CenterX, | ||
| float | CenterY, | ||
| float | Angle ) |
| CenterX | Abscissa of the center of the pattern found in the image. |
| CenterY | Ordinate of the center of the pattern found in the image. |
| Angle | Clockwise rotation angle, expressed using the current angle unit, of the pattern found in the image. |
| None eVision.EMatchPosition.__init__ | ( | self, | |
| float | CenterX, | ||
| float | CenterY, | ||
| float | Angle, | ||
| float | Scale ) |
| CenterX | Abscissa of the center of the pattern found in the image. |
| CenterY | Ordinate of the center of the pattern found in the image. |
| Angle | Clockwise rotation angle, expressed using the current angle unit, of the pattern found in the image. |
| Scale | Scale factor of the pattern found in the image. |
| None eVision.EMatchPosition.__init__ | ( | self, | |
| float | CenterX, | ||
| float | CenterY, | ||
| float | Angle, | ||
| float | Scale, | ||
| float | ScaleX ) |
| CenterX | Abscissa of the center of the pattern found in the image. |
| CenterY | Ordinate of the center of the pattern found in the image. |
| Angle | Clockwise rotation angle, expressed using the current angle unit, of the pattern found in the image. |
| Scale | Scale factor of the pattern found in the image. |
| ScaleX | Measured horizontal scaling of the pattern found in the image, expressed as a dimensionless ratio. |
| None eVision.EMatchPosition.__init__ | ( | self, | |
| float | CenterX, | ||
| float | CenterY, | ||
| float | Angle, | ||
| float | Scale, | ||
| float | ScaleX, | ||
| float | ScaleY ) |
| CenterX | Abscissa of the center of the pattern found in the image. |
| CenterY | Ordinate of the center of the pattern found in the image. |
| Angle | Clockwise rotation angle, expressed using the current angle unit, of the pattern found in the image. |
| Scale | Scale factor of the pattern found in the image. |
| ScaleX | Measured horizontal scaling of the pattern found in the image, expressed as a dimensionless ratio. |
| ScaleY | Measured vertical scaling of the pattern found in the image, expressed as a dimensionless ratio. |
| None eVision.EMatchPosition.__init__ | ( | self, | |
| float | CenterX, | ||
| float | CenterY, | ||
| float | Angle, | ||
| float | Scale, | ||
| float | ScaleX, | ||
| float | ScaleY, | ||
| float | Score ) |
| CenterX | Abscissa of the center of the pattern found in the image. |
| CenterY | Ordinate of the center of the pattern found in the image. |
| Angle | Clockwise rotation angle, expressed using the current angle unit, of the pattern found in the image. |
| Scale | Scale factor of the pattern found in the image. |
| ScaleX | Measured horizontal scaling of the pattern found in the image, expressed as a dimensionless ratio. |
| ScaleY | Measured vertical scaling of the pattern found in the image, expressed as a dimensionless ratio. |
| Score | Indicates how good a matching was. |
| None eVision.EMatchPosition.__init__ | ( | self, | |
| float | CenterX, | ||
| float | CenterY, | ||
| float | Angle, | ||
| float | Scale, | ||
| float | ScaleX, | ||
| float | ScaleY, | ||
| float | Score, | ||
| bool | Interpolated ) |
| CenterX | Abscissa of the center of the pattern found in the image. |
| CenterY | Ordinate of the center of the pattern found in the image. |
| Angle | Clockwise rotation angle, expressed using the current angle unit, of the pattern found in the image. |
| Scale | Scale factor of the pattern found in the image. |
| ScaleX | Measured horizontal scaling of the pattern found in the image, expressed as a dimensionless ratio. |
| ScaleY | Measured vertical scaling of the pattern found in the image, expressed as a dimensionless ratio. |
| Score | Indicates how good a matching was. |
| Interpolated | Indicates whether sub-pixel interpolation was actually performed on the position. |
| None eVision.EMatchPosition.__init__ | ( | self, | |
| float | CenterX, | ||
| float | CenterY, | ||
| float | Angle, | ||
| float | Scale, | ||
| float | ScaleX, | ||
| float | ScaleY, | ||
| float | Score, | ||
| bool | Interpolated, | ||
| float | AreaRatio ) |
| CenterX | Abscissa of the center of the pattern found in the image. |
| CenterY | Ordinate of the center of the pattern found in the image. |
| Angle | Clockwise rotation angle, expressed using the current angle unit, of the pattern found in the image. |
| Scale | Scale factor of the pattern found in the image. |
| ScaleX | Measured horizontal scaling of the pattern found in the image, expressed as a dimensionless ratio. |
| ScaleY | Measured vertical scaling of the pattern found in the image, expressed as a dimensionless ratio. |
| Score | Indicates how good a matching was. |
| Interpolated | Indicates whether sub-pixel interpolation was actually performed on the position. |
| AreaRatio | Ratio between the found pattern area inside the search ROI and its complete area. |
| None eVision.EMatchPosition.__init__ | ( | self, | |
| float | CenterX, | ||
| float | CenterY, | ||
| float | Angle, | ||
| float | Scale, | ||
| float | ScaleX, | ||
| float | ScaleY, | ||
| float | Score, | ||
| bool | Interpolated, | ||
| float | AreaRatio, | ||
| float | Reserved ) |
| CenterX | Abscissa of the center of the pattern found in the image. |
| CenterY | Ordinate of the center of the pattern found in the image. |
| Angle | Clockwise rotation angle, expressed using the current angle unit, of the pattern found in the image. |
| Scale | Scale factor of the pattern found in the image. |
| ScaleX | Measured horizontal scaling of the pattern found in the image, expressed as a dimensionless ratio. |
| ScaleY | Measured vertical scaling of the pattern found in the image, expressed as a dimensionless ratio. |
| Score | Indicates how good a matching was. |
| Interpolated | Indicates whether sub-pixel interpolation was actually performed on the position. |
| AreaRatio | Ratio between the found pattern area inside the search ROI and its complete area. |
| None eVision.EMatchPosition.__init__ | ( | self, | |
| float | CenterX, | ||
| float | CenterY, | ||
| float | Angle, | ||
| float | Scale, | ||
| float | ScaleX, | ||
| float | ScaleY, | ||
| float | Score, | ||
| bool | Interpolated, | ||
| float | AreaRatio, | ||
| float | Reserved, | ||
| float | CachedRectangleSizeForOverlap ) |
| CenterX | Abscissa of the center of the pattern found in the image. |
| CenterY | Ordinate of the center of the pattern found in the image. |
| Angle | Clockwise rotation angle, expressed using the current angle unit, of the pattern found in the image. |
| Scale | Scale factor of the pattern found in the image. |
| ScaleX | Measured horizontal scaling of the pattern found in the image, expressed as a dimensionless ratio. |
| ScaleY | Measured vertical scaling of the pattern found in the image, expressed as a dimensionless ratio. |
| Score | Indicates how good a matching was. |
| Interpolated | Indicates whether sub-pixel interpolation was actually performed on the position. |
| AreaRatio | Ratio between the found pattern area inside the search ROI and its complete area. |
| None eVision.EMatchPosition.__init__ | ( | self, | |
| eVision.EMatchPosition | other ) |
| other | Other instance |
| float eVision.EMatchPosition.Angle | ( | self | ) |
Clockwise rotation angle, expressed using the current angle unit, of the pattern found in the image.
Remarks:
0 if no rotation is allowed.
| eVision.EMatchPosition.Angle | ( | self, | |
| float | value ) |
Clockwise rotation angle, expressed using the current angle unit, of the pattern found in the image.
Remarks:
0 if no rotation is allowed.
| float eVision.EMatchPosition.AreaRatio | ( | self | ) |
Ratio between the found pattern area inside the search ROI and its complete area.
| eVision.EMatchPosition.AreaRatio | ( | self, | |
| float | value ) |
Ratio between the found pattern area inside the search ROI and its complete area.
| float eVision.EMatchPosition.CachedRectangleSizeForOverlap | ( | self | ) |
| eVision.EMatchPosition.CachedRectangleSizeForOverlap | ( | self, | |
| float | value ) |
| float eVision.EMatchPosition.CenterX | ( | self | ) |
Abscissa of the center of the pattern found in the image.
| eVision.EMatchPosition.CenterX | ( | self, | |
| float | value ) |
Abscissa of the center of the pattern found in the image.
| float eVision.EMatchPosition.CenterY | ( | self | ) |
Ordinate of the center of the pattern found in the image.
| eVision.EMatchPosition.CenterY | ( | self, | |
| float | value ) |
Ordinate of the center of the pattern found in the image.
| bool eVision.EMatchPosition.Interpolated | ( | self | ) |
Indicates whether sub-pixel interpolation was actually performed on the position.
Remarks:
In some cases, when the pattern is found close to the ROI edge, sub-pixel interpolation cannot be used.
| eVision.EMatchPosition.Interpolated | ( | self, | |
| bool | value ) |
Indicates whether sub-pixel interpolation was actually performed on the position.
Remarks:
In some cases, when the pattern is found close to the ROI edge, sub-pixel interpolation cannot be used.
| float eVision.EMatchPosition.Reserved | ( | self | ) |
| eVision.EMatchPosition.Reserved | ( | self, | |
| float | value ) |
| float eVision.EMatchPosition.Scale | ( | self | ) |
Scale factor of the pattern found in the image.
Remarks:
1 if no scaling is allowed.
| eVision.EMatchPosition.Scale | ( | self, | |
| float | value ) |
Scale factor of the pattern found in the image.
Remarks:
1 if no scaling is allowed.
| float eVision.EMatchPosition.ScaleX | ( | self | ) |
Measured horizontal scaling of the pattern found in the image, expressed as a dimensionless ratio.
| eVision.EMatchPosition.ScaleX | ( | self, | |
| float | value ) |
Measured horizontal scaling of the pattern found in the image, expressed as a dimensionless ratio.
| float eVision.EMatchPosition.ScaleY | ( | self | ) |
Measured vertical scaling of the pattern found in the image, expressed as a dimensionless ratio.
| eVision.EMatchPosition.ScaleY | ( | self, | |
| float | value ) |
Measured vertical scaling of the pattern found in the image, expressed as a dimensionless ratio.
| float eVision.EMatchPosition.Score | ( | self | ) |
Indicates how good a matching was.
Remarks:
1 means that the matching was perfect. Lower values correspond to approximate matching; -1 corresponds to a perfect mismatch (pattern superimposed on its negative image).
| eVision.EMatchPosition.Score | ( | self, | |
| float | value ) |
Indicates how good a matching was.
Remarks:
1 means that the matching was perfect. Lower values correspond to approximate matching; -1 corresponds to a perfect mismatch (pattern superimposed on its negative image).
| eVision.ERegion eVision.EMatchPosition.ToRegion | ( | self, | |
| int | modelWidth, | ||
| int | modelHeight ) |
Creates an ERegion from the eVision.EMatchPosition.
The ERegion represents all the pixels which are within the bounding box of the eVision.EMatchPosition.
| modelWidth | Width of the corresponding EasyMatch model. |
| modelHeight | Height of the corresponding EasyMatch model. |