C# Class ImageMagick.ChannelPerceptualHash

Encapsulation of the ImageMagick ChannelPerceptualHash object.
Afficher le fichier Open project: dlemstra/Magick.NET Class Usage Examples

Méthodes publiques

Méthode Description
ChannelPerceptualHash ( PixelChannel channel, double srgbHuPhash, double hclpHuPhash, string hash ) : System

Initializes a new instance of the ChannelPerceptualHash class.

HclpHuPhash ( int index ) : double

Hclp hu perceptual hash.

SrgbHuPhash ( int index ) : double

SRGB hu perceptual hash.

SumSquaredDistance ( ChannelPerceptualHash other ) : double

Returns the sum squared difference between this hash and the other hash.

ToString ( ) : string

Returns a string representation of this hash.

Private Methods

Méthode Description
ChannelPerceptualHash ( PixelChannel channel ) : System
ChannelPerceptualHash ( PixelChannel channel, IntPtr instance ) : System
ChannelPerceptualHash ( PixelChannel channel, string hash ) : System
ParseHash ( string hash ) : void
SetHash ( ) : void
SetHclpHuPhash ( NativeChannelPerceptualHash instance ) : void
SetSrgbHuPhash ( NativeChannelPerceptualHash instance ) : void

Method Details

ChannelPerceptualHash() public méthode

Initializes a new instance of the ChannelPerceptualHash class.
public ChannelPerceptualHash ( PixelChannel channel, double srgbHuPhash, double hclpHuPhash, string hash ) : System
channel PixelChannel The channel.>
srgbHuPhash double SRGB hu perceptual hash.
hclpHuPhash double Hclp hu perceptual hash.
hash string A string representation of this hash.
Résultat System

HclpHuPhash() public méthode

Hclp hu perceptual hash.
public HclpHuPhash ( int index ) : double
index int The index to use.
Résultat double

SrgbHuPhash() public méthode

SRGB hu perceptual hash.
public SrgbHuPhash ( int index ) : double
index int The index to use.
Résultat double

SumSquaredDistance() public méthode

Returns the sum squared difference between this hash and the other hash.
public SumSquaredDistance ( ChannelPerceptualHash other ) : double
other ChannelPerceptualHash The to get the distance of.
Résultat double

ToString() public méthode

Returns a string representation of this hash.
public ToString ( ) : string
Résultat string