Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Data Manipulation > Image Processing & Analysis > Image Filtering & Neighborhood Processing > RangeFilter >

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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF