This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

RangeFilter

RangeFilter
filters image by replacing every pixel by the difference of the maximum and minimum in its range r neighborhood.
RangeFilter
applies a range filter to an array of data.
  • 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.
  • When applied to multichannel images, RangeFilter operates on each channel separately.
  • RangeFilter returns an image of the same type and the same dimensions as the original image.
Range filtering used for edge detection:
Range filtering used for edge detection:
In[1]:=
Click for copyable input
Out[1]=
Range filtering applied to a color image:
New in 8