public double SrgbHuPhash(int index) { Throw.IfOutOfRange(nameof(index), index, 7); return _SrgbHuPhash[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); }