Java Array Average averageChroma(float[] chromaSums, int countChromas)

Here you can find the source of averageChroma(float[] chromaSums, int countChromas)

Description

average Chroma

License

Open Source License

Declaration

public static float[] averageChroma(float[] chromaSums, int countChromas) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static float[] averageChroma(float[] chromaSums, int countChromas) {
        float[] resultChroma = new float[12];
        for (int i = 0; i < chromaSums.length; i++) {
            resultChroma[i] = chromaSums[i] / countChromas;
        }//from www .  j  a  v a  2  s.com
        return resultChroma;
    }
}

Related

  1. average(long[] vals)
  2. average(Number[] numbers)
  3. average1(double[] d)
  4. average2(double[] d)
  5. average4RGBA(int var0, int var1, int var2, int var3)
  6. averageLuminance(double[] luminance)
  7. averageNonZeros(int[] array)
  8. averagePt(double[][] ndPoints)
  9. averageX(long[][] intImg, int width, int height, int i, int j, int dl, int dr)