for (int xp = x; xp < (x + w); xp++) for (int yp = y; yp < (y + h); yp++)
for (int yp = 0; yp < h; yp++)
    public void filterRGBPixels(int x, int y, int w, int h, int[] pixels,				int offset, int scansize)    {      for (int xp = x; xp < (x + w); xp++)	for (int yp = y; yp < (y + h); yp++)	    {	    pixels[offset] = filterRGB(xp, yp, pixels[offset]);	    offset++;		}	}