Function Index
BlockOutlier
BlockOutlier[
img
,
{
n
1
,
n
2
}
]
is a nonlinear noise reduction operator.
BlockOutlier[
img
,
{
n
1
,
n
2
},
t
]
uses a custom threshold value
t
.
BlockOutlier
conditionally replaces each image pixel with a center-deleted average of its neighborhood of dimensions {n
1
, n
2
}:
where
is the center-deleted mean of the neighborhood of f(r,c) and t is a threshold.
The default threshold value is t
0.1
, where
is the standard deviation of the center-deleted neighborhood.
This shows the geometry of a 3 × 3 neighborhood centered on f(r,c):
The argument
img
may be a vector, matrix, or
ImageData
expression.
See also User's Guide
5.5
.
Modified in Version 2.
Example
This loads the package.
In[1]:=
This generates a data array with uniformly distributed additive noise.
In[2]:=
Here is the noisy data.
In[3]:=
This demonstrates noise suppression using
BlockOutlier
with 3 × 3 neighborhoods.
In[4]:=
In[5]:=
© 2008 Wolfram Research, Inc.
•
Terms of Use
•
Privacy Policy
Sign up for our newsletter: