C# Class LibSimilarImageDotNet.SimilarImage

Afficher le fichier Open project: soywiz/SimilarImageDotNet

Méthodes publiques

Méthode Description
CompareHashes ( string Hash1, string Hash2 ) : float

CompareHashesBool ( string Hash1, string Hash2, double Threeshold = 0.9 ) : bool
GetCompressedImageHashAsString ( Bitmap FullImage, int Levels = DefaultMaxLevels ) : String

GetImageHash ( Bitmap FullImage, int Levels = DefaultMaxLevels ) : byte[]

Private Methods

Méthode Description
CountBits ( uint Bits ) : int
CountEqualBits ( uint Bits1, uint Bits2, int Total ) : int
GetLevelSide ( int Level ) : int

Method Details

CompareHashes() public static méthode

public static CompareHashes ( string Hash1, string Hash2 ) : float
Hash1 string
Hash2 string
Résultat float

CompareHashesBool() public static méthode

public static CompareHashesBool ( string Hash1, string Hash2, double Threeshold = 0.9 ) : bool
Hash1 string
Hash2 string
Threeshold double
Résultat bool

GetCompressedImageHashAsString() public static méthode

public static GetCompressedImageHashAsString ( Bitmap FullImage, int Levels = DefaultMaxLevels ) : String
FullImage System.Drawing.Bitmap
Levels int
Résultat String

GetImageHash() public static méthode

public static GetImageHash ( Bitmap FullImage, int Levels = DefaultMaxLevels ) : byte[]
FullImage System.Drawing.Bitmap
Levels int
Résultat byte[]