示例#1
0
    private void SetHuInvariants(NativeChannelMoments nativeInstance)
    {
      _HuInvariants = new double[8];

      for (int i = 0; i < 8; i++)
        _HuInvariants[i] = nativeInstance.GetHuInvariants(i);
    }
        private void SetHuInvariants(NativeChannelMoments nativeInstance)
        {
            _huInvariants = new double[8];

            for (int i = 0; i < 8; i++)
            {
                _huInvariants[i] = nativeInstance.GetHuInvariants(i);
            }
        }
示例#3
0
        private static double[] GetHuInvariants(NativeChannelMoments nativeInstance)
        {
            var huInvariants = new double[8];

            for (int i = 0; i < 8; i++)
            {
                huInvariants[i] = nativeInstance.GetHuInvariants(i);
            }

            return(huInvariants);
        }