Click or drag to resize

mcProfileEdgesWeightingFlags Enumeration

Allowed values for the McProfilesEdges.WeightingFlags property.

Namespace:  MediaCy.IQL.Features
Assembly:  MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
Syntax
VB
Public Enumeration mcProfileEdgesWeightingFlags
Members
  Member nameValueDescription
mcpewfNoWeightingFlags0No flags
mcpewfReflectAtEnds0Edges are found assuming that theprofile continues beyond its start or end as it did before (i.e., is reflected). Edges found at the extreme start or end of the profile might occasionally represent artifacts (a reflected falling luminance looks like a valley, while a reflected rising luminance looks like a peak). This is the behavior for profiles based on ancestor McLines (e.g., open lines or polylines). This flag cannot be changed by assignment.
mcpewfWrapAtEnds1Edges are found assuming that theprofile wraps from its end back to its start. Edges found at the extreme start or end of the profile will be based on luminance patterns that wrap. This is the behavior for profiles based on ancestor McRegions (e.g. closed polygons). This flag cannot be changed by direct assignment. It is set automatically based on the ancestor McFeatures type (set for McRegions), and for global McProfileEdges by the bClosedProfiles argument to the McProfileEdges.RawProfiles assignment.
mcpewfPointsForSameSize16When theMcProfilesEdges.EdgeFindingMethod property is mcpefmMatchPattern (so that edges are found based on matches to the Pattern property), then setting this WeightingFlags bit will cause profile patterns that are the same amplitude as the Pattern property to be favored over either smaller or larger amplitudes. The strength of the effect depends on the SizeWeighting property (stronger with greater SizeWeighting). You might use this option if you were looking for medium sized luminance peaks, but you wanted to exclude very bright spots. This flag may be combined with the mcpewfPointsForSameOffset flag to try to exactly match the Pattern in both size and offset. The flag is off by default.
mcpewfPointsForSameOffset32When theMcProfilesEdges.EdgeFindingMethod property is mcpefmMatchPattern (so that edges are found based on matches to the Pattern property), then setting this WeightingFlags bit will cause profile patterns that are the same mean luminanance as the Pattern property's mean luminance to be favored over either dimmer or brighter sections of the pattern. You might use this option if you were looking for a "W" shaped pattern on top of bright sections of the profile, but you wanted to exclude such profile patterns where the image was dark. This flag may be combined with the mcpewfPointsForSameSize flag to try to exactly match the Pattern in both size and offset. The flag is off by default.
Remarks
These flags control certain aspects of how automatic edge detection is performed when the McProfilesEdges.FindEdges method is called. Flags for weighting options may be OR'ed together with one of the end matching options.
See Also