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); } }
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); }