|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
RangeFilter[image, r]
filters image by replacing every pixel by the difference of the maximum and minimum in its range-r neighborhood.
RangeFilter[data, r]
applies a range filter to an array of data.
DetailsDetails
- RangeFilter[image, r] finds the range in
blocks centered on each pixel. - At the edges of an image, RangeFilter uses smaller neighborhoods.
- RangeFilter works with 3D as well as 2D images, and also with data arrays of any rank.
- RangeFilter[image, {rrow, rcol}] uses range
in height, and
in width. - RangeFilter[image, {rslice, rrow, rcol}] uses range
in height,
in depth, and
in width. - For multichannel images, RangeFilter[image, ...] 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.
ExamplesExamplesopen allclose all
Basic Examples (1)Basic Examples (1)
Range filtering used for edge detection:
| In[1]:= |
| Out[1]= | ![]() |
New in 8 | Last modified in 9
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »


