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

Hclp hu perceptual hash.
public HclpHuPhash ( int index ) : double
index int The index to use.
Результат double
Пример #1
0
 private void TestChannel(ChannelPerceptualHash channel, int index, double srgbHuPhash, double hclpHuPhash)
 {
   Assert.AreEqual(srgbHuPhash, channel.SrgbHuPhash(index), 0.0001);
   Assert.AreEqual(hclpHuPhash, channel.HclpHuPhash(index), 0.0001);
 }
Пример #2
0
 private void TestChannel(ChannelPerceptualHash channel, int index, double srgbHuPhashWithOpenCL, double srgbHuPhashWithoutOpenCL, double hclpHuPhashWithOpenCL, double hclpHuPhashWithoutOpenCL)
 {
   OpenCLValue.Assert(srgbHuPhashWithOpenCL, srgbHuPhashWithoutOpenCL, channel.SrgbHuPhash(index), 0.0001);
   OpenCLValue.Assert(hclpHuPhashWithOpenCL, hclpHuPhashWithoutOpenCL, channel.HclpHuPhash(index), 0.0001);
 }