C# Класс ImageMagick.ChannelPerceptualHash

Encapsulation of the ImageMagick ChannelPerceptualHash object.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

ChannelPerceptualHash() публичный метод

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.
Результат System

HclpHuPhash() публичный метод

Hclp hu perceptual hash.
public HclpHuPhash ( int index ) : double
index int The index to use.
Результат double

SrgbHuPhash() публичный метод

SRGB hu perceptual hash.
public SrgbHuPhash ( int index ) : double
index int The index to use.
Результат double

SumSquaredDistance() публичный метод

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.
Результат double

ToString() публичный метод

Returns a string representation of this hash.
public ToString ( ) : string
Результат string