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