You are here : matlabImage Processingrangefilt

rangefilt() - Image Processing

J = rangefilt(I) returns
the array J, where each output pixel contains the
range value (maximum value − minimum value) of the 3-by-3 neighborhood
around the corresponding pixel in the input image I.
The image I can have any dimension. The output
image J is the same size as the input image I.J = rangefilt(I, NHOOD) performs
range filtering of the input image I where you
specify the neighborhood in NHOOD. NHOOD is
a multidimensional array of zeros and ones where the nonzero elements
specify the neighborhood for the range filtering operation. NHOOD's size
must be odd in each dimension. By default, rangefilt uses the neighborhood true(3). rangefilt determines
the center element of the neighborhood by floor((size(NHOOD)
+ 1)/2). For information about specifying neighborhoods,
see Notes.


Syntax

J = rangefilt(I)J = rangefilt(I, NHOOD)


Example

Read an image and convert color space from RGB to LAB.


Output / Return Value


Limitations


Alternatives / See Also


Reference