Click or drag to resize

IMcLines Methods

The IMcLines type exposes the following members.

Methods
  NameDescription
Public methodAccessMaskedImageData
Create a McRegionAccess that bounds this McFeatures and is masked by it if this is a McRegions.
Public methodCode exampleCleanUpBordersAndNoise
Removes small features and/or those that touch selected borders of the Image or the borders of a specified McRegions instance.
Public methodClip
Clips a set of features to a given rectangle.
Public methodClipToImage
Clips a set of features to the bounds of an image.
Public methodCopyFrom
CopyFrom a source McFeatures into this one, replacing all existing features with those from the source McFeatures.
Public methodCode exampleCreateFeatureMask
Creates either a McImage or a McBitMask mask of foreground pixels for selected features.
Public methodDistanceToFeaturePoint
Finds the distance to a point along a feature line or boundary.
Public methodDuplicate
Returns a duplicate of the McFeatures instance.
Public methodFeatureFromPoint
Finds the index of the feature under a given point
Public methodFeaturePointAtDistanceFromStart
Finds the point on a feature line or boundary that is a given distance from the starting point on that feature.
Public methodCode exampleGetBounds
Returns the entire features' pixel bounds
Public methodGetFeatureBoundingBox
Returns the bounds of all or selected features
Public methodCode exampleGetFeaturePoints
Get a list of coordinate points that describe a feature.
Public methodCode exampleGetFeaturePointsEx
Get a list of coordinate points that describe some aspect of a feature.
Public methodCode exampleGetFeatures
Copies selected features into a new McFeatures interface.
Public methodGetLineSegments
For a given y-position, get the list of horizontal line segments that lie within the features bounds.
Public methodCode exampleGetOrderedPosition
Identifies the relative postion of features.
Public methodIntersect
Intersect a second McFeatures with this one.
Public methodMaskOff
Mask off features with those from a second, masking, McFeatures.
Public methodMerge
Merge a second McFeatures with this one or merge region features together.
Public methodMove
Move all features a given pixel displacement in the x and y directions
Public methodCode examplePointClosestToPoint
Finds the feature point that is closest to a given point
Public methodRemoveFeature
One or more features are removed.
Public methodReset
Clears a McFeatures interface to its initialized "reset" state (as it was after it was first created).
Public methodSelectorFromID
Get a selector for one or more Identifier values
Public methodCode exampleSetFeaturePoints
Set the coordinate points that describe a feature.
Public methodCode exampleSetFromMask
Sets all features from a source McBitMask.
Top
See Also