Click or drag to resize

mcProfileEdgesOptionFlags Enumeration

Allowed values for the McProfilesEdges.OptionFlags property.

Namespace:  MediaCy.IQL.Features
Assembly:  MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
Syntax
VB
Public Enumeration mcProfileEdgesOptionFlags
Members
  Member nameValueDescription
mcpeofNoOptionFlags0No flags
mcpeofAutoClearOnProfileMove1Edges are automaticallyremoved from any profile where the underlying McLines or McRegions feature moves. The effect is that edges and tic marks will disappear after a line feature is edited or moved, but will not disappear on other line features that have not changed. Edges are always removed when the ancestor feature is removed irrespective of the state of this flag. Note that this flag does not cause edges to be removed when the underlying McImage luminance data changes; the mcpeofAutoClearOnLuminanceChange does that. This flag is set by default.
mcpeofAutoClearOnLuminanceChange2Edges are automaticallyremoved from all profiles where the ancestor luminance profile data changes. The effect is that edges and tic marks will disappear after an ancestor McImage luminance change or after one of the ancestor McLineProfiles properties or ProfileValues changes. Note that this flag will always cause edges to disappear when the underlying McLines or McRegions feature is moved (that is, it acts as if the mcpeofAutoClearOnProfileMove bit is also set). This flag is clear by default.
mcpeofAbsoluteThresholding16During edge detection on theWeightedProfile, if the mcpeofAbsoluteThresholding OptionFlags bit is set, then the McProfilesEdges.ThresholdForEdge value is an absolute percentage of the best possible profile pattern for the ancestor image's maximum luminance range and the current set of weighting parameters. This "best weighted value" is the McProfilesEdges.AbsoluteMaxWeightValue property. If the flag is clear (the default case), then the ThresholdForEdge is a percentage of the peak weighted values for each profile, with some minimum constraints applied if the MinEdgesPerProfile property is zero (so that no edges will be found for very weak weighted profiles). When this flag is set, appropriate values for the McProfilesEdges.ThresholdForEdge property can be very low (that is interesting "edges" often result in a weighted profile peak that is a small percentage of the best possible peak). Note that this flag is almost never appropriate when the McProfilesEdges.EdgeFindingMethod is mcpefmPeaks or mcpefmValleys, because in those cases a weighted average is being done of raw luminance. In these cases, a low threshold value may miss all luminance transitions because it is underneath them all. Thus, this flag is forced off whenever the McProfilesEdges.EdgeFindingMethod is assigned mcpefmPeaks or mcpefmValleys. You may turn it on again after the assignment to McProfilesEdges.EdgeFindingMethod. If you are presenting this bit as an option in a user interface, it should generally be disabled when the McProfilesEdges.EdgeFindingMethod is mcpefmPeaks or mcpefmValleys.
mcpeofDefault1By default edges areautomatically removed when the ancestor McLines or McRegions feature is moved or edited, but they are not removed when the ancestor McLineProfiles.ProfileValues changes for the feature. ThresholdForEdge is a percentage of the peak weighted profile.
Remarks
These flags control certain aspects of how automatic edge handling. Flags may be OR'ed together.
See Also