Click or drag to resize

McLineProfiles Interface

Holds sampled line profiles for its ancestor McLines or McRegions

Namespace:  MediaCy.IQL.Features
Assembly:  MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
Syntax
VB
Public Interface McLineProfiles
	Inherits IMcLineProfiles
Remarks
The McLineProfiles operator is exposed as McLines.Profiles and as McRegions.Profiles. It can also be created independently using McLineProfiles.Duplicate or McEngine.CreateOperator. The McLineProfiles.Duplicate method automatically creates a new object with the same parent, while you must supply the parent operator when using McEngine.CreateOperator. In any case, the instance must have a McLines or McRegions object as an ancestor, which must in turn have a McImage as an ancestor. The operator is capable of sampling lumunance values under McLines features lines or McRegions features boundary polygons at either equal intervals or broken into equal numbers of samples (see McLineProfiles.SampleMode). Additionally it can expose these sampled lines along the ancestor McLines or McRegions features as another McLines (see McLineProfiles.SamplesAsMcLines). Sampling involves getting four-nearest-neighbor interpolated luminance values, and depending on the sample length and the McLineProfiles.VirtualWidth property, averaging a set of those sub-samples to come up with a luminance value for each sample along the line profile. These profile values may be intensity calibrated or not (see McLineProfiles.CalibratedIntensity). Luminance may be taken from each color channel or an overall luminance intensity may be sampled. McLineProfiles also expose a ProfileEdges property that is a McProfileEdges instance which can be used to find and mark points-of-interest along the profiles.
See Also