Class ColorAverager
Namespace: Aurigma.DesignAtoms.ImageProcessing.Services
Assembly: Aurigma.DesignAtoms.ImageProcessing.dll
Syntax
public class ColorAverager
Inheritance: System.Object -> ColorAverager
Inherited Members
System.Object.ToStringSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.ReferenceEquals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseClone
Constructors
ColorAverager
public ColorAverager()
Methods
GetAverageColor
public Color GetAverageColor(List<Color> colors, Dictionary<Color, int> colorCounts, ColorSpace colorSpace)
Parameters
| Type | Name | Description |
|---|---|---|
System.Collections.Generic.List<Aurigma.GraphicsMill.Color> | colors | |
System.Collections.Generic.Dictionary<Aurigma.GraphicsMill.Color,System.Int32> | colorCounts | |
Aurigma.GraphicsMill.ColorSpace | colorSpace |
Returns
Aurigma.GraphicsMill.Color