C# Class ImageSimilarity.ImageUtils

Mostrar archivo Open project: opentibia/item-editor

Public Methods

Method Description
CalculateEuclideanDistance ( Bitmap input, int blockSize ) : ].double[
CombineColorChannels ( RGB rgb ) : byte[]
CompareSignature ( double signature1, double signature2 ) : double
SplitColorChannels ( Bitmap input ) : RGB[]
getBitmap ( byte rgbData, PixelFormat pixelFormat, int Width, int Height ) : Bitmap
greyScale ( Bitmap input ) : byte[]

Method Details

CalculateEuclideanDistance() public static method

public static CalculateEuclideanDistance ( Bitmap input, int blockSize ) : ].double[
input System.Drawing.Bitmap
blockSize int
return ].double[

CombineColorChannels() public static method

public static CombineColorChannels ( RGB rgb ) : byte[]
rgb RGB
return byte[]

CompareSignature() public static method

public static CompareSignature ( double signature1, double signature2 ) : double
signature1 double
signature2 double
return double

SplitColorChannels() public static method

public static SplitColorChannels ( Bitmap input ) : RGB[]
input System.Drawing.Bitmap
return RGB[]

getBitmap() public static method

public static getBitmap ( byte rgbData, PixelFormat pixelFormat, int Width, int Height ) : Bitmap
rgbData byte
pixelFormat PixelFormat
Width int
Height int
return System.Drawing.Bitmap

greyScale() public static method

public static greyScale ( Bitmap input ) : byte[]
input System.Drawing.Bitmap
return byte[]