Lines Matching defs:mask
869 * Generates a 1d Gaussian mask of the input array size, and store the mask
872 * @param mask empty array of size n, where n will be used as the size of
873 * the Gaussian mask, and the array will be populated with the
874 * values of the mask.
876 private static void getGaussianMask(float[] mask) {
877 int len = mask.length;
885 mask[i] = ex;
886 mask[symmetricIndex] = ex;
887 sum += mask[i];
889 sum += mask[symmetricIndex];
893 for (int i = 0; i < mask.length; i++) {
894 mask[i] /= sum;
927 * @param size size of the Gaussian blur mask
937 // Apply the 1d Gaussian mask horizontally to the image and put the
953 // Apply the 1d Gaussian mask vertically to the intermediate array, and