problem: source image has RGB values, filter is assuming it is black and white image