public HclpHuPhash ( int index ) : double | ||
index | int | The index to use. |
리턴 | double |
public double HclpHuPhash(int index)
{
Throw.IfOutOfRange(nameof(index), index, 7);
return _HclpHuPhash[index];
}
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); }