mcTraversalMode Enumeration
|
|
Allowed values for the McRegionAccess.TraversalMode property.
Namespace:
MediaCy.IQL.Engine
Assembly:
MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
SyntaxPublic Enumeration mcTraversalMode
Members
| Member name | Value | Description |
---|
| mctmUnspecified | 0 | Caller has not specified the traversal mode.Top to bottom traversal is mildly favored, though not assumed to be
the only type of traversal. This is the default state of the
McRegionAccess.TraversalMode property. |
| mctmTopToBottom | 1 | The region access will be traversed fromtop to bottom (smaller Y to larger Y values) exclusively. Setting
McRegionAccess.TraversalMode to this value will strongly favor keeping
image lines below the currently accessed line in memory. |
| mctmBottomToTop | 2 | The region access will be traversed frombottom to top (larger Y to smaller Y values) exclusively. Setting
McRegionAccess.TraversalMode to this value will strongly favor keeping
image lines above the currently accessed line in memory. |
| mctmBiDirectional | 3 | Traversal will not consistently be in one direction,or is expected to repeatedly traverse a section of lines. For example,
this would normally be the appropriate McRegionAccess.TraversalMode for
accessing the source image during an image-rotate operation. Setting
McRegionAccess.TraversalMode to this value will favor equally keeping
image lines above and below the currently accessed line in memory. |
| mctmRandom | 4 | No consitent traversal is expected. Forexample, this would normally be the appropriate McRegionAccess.TraversalMode
for accessing the source image to find the intensity at a point marked by
the user. Setting McRegionAccess.TraversalMode to this value will avoid
trying to load more that the minimum necessary section of a frame in memory. |
| mctmMultipassFlag | 32768 | If this flag is OR'ed into theTraversalMode value, the McRegionAccess ROI is expected to be traversed
multiple times. In this case, an extra effort is made to keep the entire
McRegionAccess ROI in memory, if possible. This flag is not set in the
McRegionAccess.TraversalMode property by default, since the vast majority of
uses of an McRegionAccess instance involve a single traversal of the
McRegionAccess ROI. |
RemarksThe McRegionAccess.TraversalMode property will affect performance only
for very large image frames.
See Also