/** * Applies this filter. * Input and output arrays may be the same array. * @param x input array. * @param y output filtered array. */ public void apply(float[][][] x, float[][][] y) { updateFilter3(); _ff3.apply(x,y); }
/** * Gets the 3D array of coefficients for this filter. * The origin of the filter is at the center of the array. * @return the array of filter coefficients. */ public float[][][] getCoefficients3() { updateFilter3(); return copy(_h3); }