RangeFilter finds the range in blocks centered on each pixel.
At the edges of an image, RangeFilter uses smaller neighborhoods.
RangeFilter uses neighborhoods with vertical range and horizontal range .
For multichannel images, RangeFilter replaces each pixel by the difference of the pixels in its neighborhood that have maximum and minimum total intensity, averaged over all channels.