You are here: Start » AVL.NET » AVL.SegmentImage_Color(AvlNet.Image, AvlNet.Pixel[], float, float, bool, AvlNet.Region[])
AVL.SegmentImage_Color(AvlNet.Image, AvlNet.Pixel[], float, float, bool, AvlNet.Region[])
Segments an image basing on distance to model colors.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void SegmentImage_Color( AvlNet.Image inImage, AvlNet.Pixel[] inReferenceColors, float inMaxDifference, float inChromaAmount, bool inForceDisjointRegions, out AvlNet.Region[] outRegions )
Parameters
- inImage
- Type: AvlNet.Image
Input image - inReferenceColors
- Type: AvlNet.Pixel
Colors to compare pixels to - inMaxDifference
- Type: System.Single
Maximal difference between pixel and reference color to be accepted - inChromaAmount
- Type: System.Single
Proportion of chromatic information in distance computation - inForceDisjointRegions
- Type: System.Boolean
Force output regions to be disjoint - outRegions
- Type: AvlNet.Region
Regions of pixels closest to colors
