IMcProfileEdgesChannelOfInterest Property
|
|
The channel on which to find edges.
Namespace:
MediaCy.IQL.Features
Assembly:
MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
SyntaxProperty ChannelOfInterest As Integer
Get
Set
Property Value
Type:
Int32
RemarksFindEdges always works from the luminance profile of a single color
channel. For cases where the ancestor McLineProfiles.Interpretation property is
such that McLineProfiles.NumberOfChannels is more than one, this property
specifies which profile channel to analyze.
Note that setting the McLineProfiles.Interpretation property to mciMonochrome
will ensure that McLineProfiles.NumberOfChannels is one, and that the
ProfileValues will expose intensity profiles, no matter what the underlying
color interpretation of the ancestor McImage might be.
In rare cases, one may wish to find edges based on profile information from
more than one color channel. In these cases, you can instantiate multiple
instances of McProfileEdges, assign ChannelOfInterest for each and set up
different weighting parameters for each
channel of interest. A call to FindEdges on each instance will compute
WeightedProfiles for each channel. You could then combine the WeightedProfiles
from each channel and assign that as the WeightedProfiles for another McProfileEdges
instance. This "combined" McProfileEdges instance will then detect and
display any edges where the assigned WeightedProfiles are above ThresholdForEdge.
Examples
See Also