McMeasures Interface
|
|
A McMeasures collection exposed as McRegions.Measures,
McLines.Measures and McPoints.Measures.
Namespace:
MediaCy.IQL.Features
Assembly:
MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
SyntaxPublic Interface McMeasures
Inherits IMcMeasures
RemarksThe Measures operator is a property of a McFeatures object. It can
be used to select a group of measurements to be enabled and then compute
them (or filter features based on all of them) all at once. For some
measurements, this can be more efficient than accessing the selected
measurement values one at a time.
Furthermore the Measures operator fires events that signal when enabled
measurements go stale (i.e., need to be recomputed) and when the Compute
or Filter methods are called.
Note |
---|
By default the Measures collection for any given McFeatures object
only holds those measurements that have been accessed in some way. Calling
Select or Item will automatically add the referenced item(s) to the
collection, as will directly accessing the measurement property by name
(e.g., ThisApplication.ActiveImage.RegionFeatures.mRgnArea). In rare cases, you may need the
collection to hold all available measurements. This can be accomplished with
the AddAll method. Once this is done the Measures object be used to iterate
through available measurements (see that method for an example of where this
might be useful). |
See AlsoReference
_IMcMeasuresEvents