Skip to main content

Class PixelExtractor

Namespace: Aurigma.DesignAtoms.ImageProcessing.Services​
Assembly: Aurigma.DesignAtoms.ImageProcessing.dll​
Syntax
public class PixelExtractor

Inheritance: System.Object -> PixelExtractor

Inherited Members​

  • System.Object.ToString
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object,System.Object)
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.GetHashCode
  • System.Object.GetType
  • System.Object.MemberwiseClone

Constructors​

PixelExtractor​

public PixelExtractor()

Methods​

ExtractPixels​

public Dictionary<Color, int> ExtractPixels(Bitmap bitmap)
Parameters​
TypeNameDescription
Aurigma.GraphicsMill.Bitmapbitmap
Returns​

System.Collections.Generic.Dictionary<Aurigma.GraphicsMill.Color,System.Int32>

MapPixelsInPlace​

public void MapPixelsInPlace(Bitmap bitmap, Func<Color, Color> colorMapper)
Parameters​
TypeNameDescription
Aurigma.GraphicsMill.Bitmapbitmap
System.Func<Aurigma.GraphicsMill.Color,Aurigma.GraphicsMill.Color>colorMapper

ForEachPixel​

public void ForEachPixel(Bitmap bitmap, Action<int, int, Color> pixelAction)
Parameters​
TypeNameDescription
Aurigma.GraphicsMill.Bitmapbitmap
System.Action<System.Int32,System.Int32,Aurigma.GraphicsMill.Color>pixelAction

EnsureStandardFormat​

public Bitmap EnsureStandardFormat(Bitmap bitmap)
Parameters​
TypeNameDescription
Aurigma.GraphicsMill.Bitmapbitmap
Returns​

Aurigma.GraphicsMill.Bitmap

Was this page helpful?