C# Класс ImageMagick.PerceptualHash

Contains the he perceptual hash of one or more image channels.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AddChannel void
CreateChannelPerceptualHash ChannelPerceptualHash
DisposeList void
PerceptualHash System
PerceptualHash System

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

Метод Описание
GetChannel ( PixelChannel channel ) : ChannelPerceptualHash

Returns the perceptual hash for the specified channel.

PerceptualHash ( string perceptualHash ) : System

Initializes a new instance of the PerceptualHash class.

SumSquaredDistance ( PerceptualHash other ) : double

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

ToString ( ) : string

Returns a string representation of this hash.

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

Метод Описание
AddChannel ( MagickImage image, IntPtr list, PixelChannel channel ) : void
CreateChannelPerceptualHash ( MagickImage image, IntPtr list, PixelChannel channel ) : ChannelPerceptualHash
DisposeList ( IntPtr list ) : void
PerceptualHash ( ) : System
PerceptualHash ( MagickImage image, IntPtr list ) : System

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

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

Returns the perceptual hash for the specified channel.
public GetChannel ( PixelChannel channel ) : ChannelPerceptualHash
channel PixelChannel The channel to get the has for.
Результат ChannelPerceptualHash

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

Initializes a new instance of the PerceptualHash class.
public PerceptualHash ( string perceptualHash ) : System
perceptualHash string The
Результат System

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

Returns the sum squared difference between this hash and the other hash.
public SumSquaredDistance ( PerceptualHash other ) : double
other PerceptualHash The to get the distance of.
Результат double

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

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