You are here: Start » FIL.NET » FIS.SegmentImage_Color Method
FIS.SegmentImage_Color Method
Segments an image basing on distance to model colors.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void SegmentImage_Color ( FilNet.Image inImage, NullableRef<FilNet.Region> inRoi, IList<FilNet.Pixel> inReferenceColors, float inMaxDifference, NullableRef<IList<float>> inDifferenceMultipliers, float inChromaAmount, bool inForceDisjointRegions, IList<FilNet.Region> outRegions )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inRoi | FilNet.NullableRef<FilNet.Region> | Range of pixels to be processed. Default value: ftl::NIL. | ||
![]() | inReferenceColors | System.Collections.Generic.IList<FilNet.Pixel> | Colors to compare pixels to. | ||
![]() | inMaxDifference | float | <0.0f, INF> | 5.0f | Maximal difference between pixel and reference color to be accepted. Default value: 5.0f. |
![]() | inDifferenceMultipliers | FilNet.NullableRef<System.Collections.Generic.IList<float>> | Scales for maximum differences for each color. Default value: ftl::NIL. | ||
![]() | inChromaAmount | float | <0.0f, 1.0f> | 0.7f | Proportion of chromatic information in distance computation. Default value: 0.7f. |
![]() | inForceDisjointRegions | bool | Force output regions to be disjoint. | ||
![]() | outRegions | System.Collections.Generic.IList<FilNet.Region> | Regions of pixels closest to colors. |