Function Index
ConcurrenceMatrix
ConcurrenceMatrix[
img
,
v
]
returns an estimate of the joint probability distribution of pixels in the range given by {
Min[
img
]
,
Max[
img
]
}, with a step size of 1, and separated by vector
v
.
ConcurrenceMatrix[
img
,
v
,
{
min
,
max
,
d
}
]
returns an estimate of the joint probability distribution of pixels with values in the range given by {
min
,
max
,
d
}, and separated by vector
v
.
ConcurrenceMatrix
returns a matrix of dimensions n
× n, where
.
The step size
d
in the range specification may be omitted. Range specification {
min
,
max
} is equivalent to {
min
,
max
, 1}.
The argument
img
may be a list or
ImageData
expression.
See also User's Guide
3.3
.
Modified in Version 2.
Example
This loads the package.
In[1]:=
This reads an example image.
In[2]:=
In order to reduce the dimensions of the concurrence matrix, we will reduce the luminance resolution to 16 levels. Here is a view of the quantized data.
In[3]:=
This calculates the concurrence matrices for two different image subregions.
In[4]:=
In[5]:=
© 2008 Wolfram Research, Inc.
•
Terms of Use
•
Privacy Policy
Sign up for our newsletter: