1. A method of noise detection for a first filter mask having a plurality of pixels, the method comprising: separating the pixels of the first filter mask into a plurality of groups based on luminance; determining a largest group in the plurality of groups; tagging a first group of pixels as noisy when the first group is small and far from the largest group.