C# Class ImageMagick.ChannelPerceptualHash

Encapsulation of the ImageMagick ChannelPerceptualHash object.
Show file Open project: dlemstra/Magick.NET Class Usage Examples

Public Methods

Method 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

Method 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 method

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.
return System

HclpHuPhash() public method

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

SrgbHuPhash() public method

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

SumSquaredDistance() public method

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.
return double

ToString() public method

Returns a string representation of this hash.
public ToString ( ) : string
return string