EMatcher Class
Manages a complete matching context in EasyMatch.
Remarks
A matching context consists of a learned pattern and of the parameters required to locate one or more instances of the pattern in a search field.
Namespace: Euresys::Open_eVision
License(s): EasyMatch
Constructors
Constructs a matching context.
Properties
Flag indicating whether isotropic (as opposed to anisotropic) scaling is used.
Indicates whether a ERegion
was used alongside the last learned pattern. Returns false
if no learning was performed.
This property is deprecated: Use the number of EFoundPattern
objects returned by EMatcher::Match
instead.
Number of reduction steps used in the matching process.
Learned pattern height.
Returns true
after a learning operation has been successfully performed, indicating that the EMatcher
object In a general content, the term object should be understood with the meaning of a class instance. In EasyObject, an object is a maximally-sized area of adjacent connected pixels belonging to the layer foreground. is ready for matching, and false
otherwise.
Pixel type of the learned pattern.
Learned pattern width.
This property is deprecated: Use the EFoundPattern
objects returned by EMatcher::Match
instead.
Version number of the EMatcher
object.
Toggle advanced learning.
Contrast mode.
Correlation mode.
This property is deprecated: Use the EMatcher::LearnPattern
overloads taking an ERegion
instead.
Whether to remove bad candidates in the early phases of the processing or not. Enabled by default.
Sets/Gets the extension of the matching ROI, i.e. puts the horizontal and vertical distances, in pixels, that the found pattern occurrences may fall outside the matching ROI. Such occurrences partially outside the ROI have their score corrected by the ratio between the pattern area outside the ROI and the pattern area inside.
Filtering mode.
Index of the last reduction.
Minimum score applied as a selection criterion in the early stages of the matching process.
Interpolation mode.
Maximum angle, in the current angle unit.
Maximum number of positions at the first stage of the matching process.
Overlapping tolerance
Maximum number of positions.
Maximum scale factor for isotropic scaling.
Maximum horizontal scale factor for anisotropic scaling.
Maximum vertical scale factor for anisotropic scaling.
Minimum angle, in the current angle unit.
Minimum reduced area parameter.
Minimum scale factor for isotropic scaling.
Minimum horizontal scale factor for anisotropic scaling.
Minimum vertical scale factor for anisotropic scaling.
Minimum score.
This property is deprecated.
Methods
Releases the pointer to the image object that has been passed to the EMatcher
object.
Copies the learned pattern in the supplied image. If no pattern has been learned, an exception with code EError.NoPatternLearnt
will be thrown.
This method is deprecated: Use the EFoundPattern::Draw
method of the EFoundPattern
objects returned by EMatcher::Match
instead.
This method is deprecated: Use the EFoundPattern::Draw
method of the EFoundPattern
objects returned by EMatcher::Match
instead.
This method is deprecated: Use the EFoundPattern::Draw
method of the EFoundPattern
objects returned by EMatcher::Match
instead.
This method is deprecated: Use the EFoundPattern::Draw
method of the EFoundPattern
objects returned by EMatcher::Match
instead.
Gets the angle step used at the given reduction.
This method is deprecated: Use EMatcher::Extension
instead.
This method is deprecated: Use EMatcher::PixelDimensions
instead.
This method is deprecated: Use the EFoundPattern
objects returned by EMatcher::Match
instead.
Gets the scale step used at the given reduction.
Gets the scale step used on the X axis at the given reduction.
Gets the scale step used on the Y axis at the given reduction.
Learns a pattern to subsequently match in an image.
Loads the EMatcher
. The given ESerializer
must have been created for reading.
Matches the pattern against an image.
Saves the EMatcher
. The given ESerializer
must have been created for writing.
This method is deprecated: Use EMatcher::Extension
instead.
This method is deprecated.
EMatcher Class
Manages a complete matching context in EasyMatch.
Remarks
A matching context consists of a learned pattern and of the parameters required to locate one or more instances of the pattern in a search field.
Namespace: Euresys.Open_eVision
License(s): EasyMatch
Constructors
Constructs a matching context.
Properties
Toggle advanced learning.
Contrast mode.
Correlation mode.
"Don't care" threshold.
Whether to remove bad candidates in the early phases of the processing or not. Enabled by default.
Sets/Gets the extension of the matching ROI, i.e. puts the horizontal and vertical distances, in pixels, that the found pattern occurrences may fall outside the matching ROI. Such occurrences partially outside the ROI have their score corrected by the ratio between the pattern area outside the ROI and the pattern area inside.
Filtering mode.
Index of the last reduction.
Minimum score applied as a selection criterion in the early stages of the matching process.
Interpolation mode.
Flag indicating whether isotropic (as opposed to anisotropic) scaling is used.
Indicates whether a ERegion
was used alongside the last learned pattern. Returns false
if no learning was performed.
Maximum angle, in the current angle unit.
Maximum number of positions at the first stage of the matching process.
Overlapping tolerance
Maximum number of positions.
Maximum scale factor for isotropic scaling.
Maximum horizontal scale factor for anisotropic scaling.
Maximum vertical scale factor for anisotropic scaling.
Minimum angle, in the current angle unit.
Minimum reduced area parameter.
Minimum scale factor for isotropic scaling.
Minimum horizontal scale factor for anisotropic scaling.
Minimum vertical scale factor for anisotropic scaling.
Minimum score.
This property is deprecated: Use the number of EFoundPattern
objects returned by EMatcher.Match
instead.
Number of reduction steps used in the matching process.
Learned pattern height.
Returns true
after a learning operation has been successfully performed, indicating that the EMatcher
object is ready for matching, and false
otherwise.
Pixel type of the learned pattern.
Learned pattern width.
Gets/Sets the physical pixel dimensions.
This property is deprecated: Use the EFoundPattern
objects returned by EMatcher.Match
instead.
Methods
Releases the pointer to the image object that has been passed to the EMatcher
object.
Copies the learned pattern in the supplied image. If no pattern has been learned, an exception with code EError.NoPatternLearnt
will be thrown.
This method is deprecated: Use the EFoundPattern.Draw
method of the EFoundPattern
objects returned by EMatcher.Match
instead.
This method is deprecated: Use the EFoundPattern.Draw
method of the EFoundPattern
objects returned by EMatcher.Match
instead.
This method is deprecated: Use the EFoundPattern.Draw
method of the EFoundPattern
objects returned by EMatcher.Match
instead.
This method is deprecated: Use the EFoundPattern.Draw
method of the EFoundPattern
objects returned by EMatcher.Match
instead.
Gets the angle step used at the given reduction.
This method is deprecated: Use EMatcher.Extension
instead.
This method is deprecated: Use EMatcher.PixelDimensions
instead.
This method is deprecated: Use the EFoundPattern
objects returned by EMatcher.Match
instead.
Gets the scale step used at the given reduction.
Gets the scale step used on the X axis at the given reduction.
Gets the scale step used on the Y axis at the given reduction.
Learns a pattern to subsequently match in an image.
Loads the EMatcher
. The given ESerializer
must have been created for reading.
Matches the pattern against an image.
Saves the EMatcher
. The given ESerializer
must have been created for writing.
This method is deprecated: Use EMatcher.Extension
instead.
This method is deprecated.
EMatcher Class
Manages a complete matching context in EasyMatch.
Remarks
A matching context consists of a learned pattern and of the parameters required to locate one or more instances of the pattern in a search field.
Module: open_evision
License(s): EasyMatch
Constructors
Constructs a matching context.
Properties
Toggle advanced learning.
Contrast mode.
Correlation mode.
"Don't care" threshold.
Whether to remove bad candidates in the early phases of the processing or not. Enabled by default.
Sets/Gets the extension of the matching ROI, i.e. puts the horizontal and vertical distances, in pixels, that the found pattern occurrences may fall outside the matching ROI. Such occurrences partially outside the ROI have their score corrected by the ratio between the pattern area outside the ROI and the pattern area inside.
Filtering mode.
Index of the last reduction.
Minimum score applied as a selection criterion in the early stages of the matching process.
Interpolation mode.
Flag indicating whether isotropic (as opposed to anisotropic) scaling is used.
Indicates whether a ERegion
was used alongside the last learned pattern. Returns false
if no learning was performed.
Maximum angle, in the current angle unit.
Maximum number of positions at the first stage of the matching process.
Overlapping tolerance
Maximum number of positions.
Maximum scale factor for isotropic scaling.
Maximum horizontal scale factor for anisotropic scaling.
Maximum vertical scale factor for anisotropic scaling.
Minimum angle, in the current angle unit.
Minimum reduced area parameter.
Minimum scale factor for isotropic scaling.
Minimum horizontal scale factor for anisotropic scaling.
Minimum vertical scale factor for anisotropic scaling.
Minimum score.
This property is deprecated: Use the number of EFoundPattern
objects returned by EMatcher.Match
instead.
Number of reduction steps used in the matching process.
Learned pattern height.
Returns true
after a learning operation has been successfully performed, indicating that the EMatcher
object is ready for matching, and false
otherwise.
Pixel type of the learned pattern.
Learned pattern width.
Gets/Sets the physical pixel dimensions.
This property is deprecated: Use the EFoundPattern
objects returned by EMatcher.Match
instead.
Version number of the EMatcher
object.
Methods
Constructs a matching context.
Releases the pointer to the image object that has been passed to the EMatcher
object.
Copies the learned pattern in the supplied image. If no pattern has been learned, an exception with code EError.NoPatternLearnt
will be thrown.
This method is deprecated: Use the EFoundPattern.Draw
method of the EFoundPattern
objects returned by EMatcher.Match
instead.
This method is deprecated: Use the EFoundPattern.Draw
method of the EFoundPattern
objects returned by EMatcher.Match
instead.
Gets the angle step used at the given reduction.
This method is deprecated: Use the EFoundPattern
objects returned by EMatcher.Match
instead.
Gets the scale step used at the given reduction.
Gets the scale step used on the X axis at the given reduction.
Gets the scale step used on the Y axis at the given reduction.
Learns a pattern to subsequently match in an image.
Loads the EMatcher
. The given ESerializer
must have been created for reading.
Matches the pattern against an image.
Saves the EMatcher
. The given ESerializer
must have been created for writing.