|
SOLUTIONS
|
Mathematica
>
Data Manipulation
>
Image Processing & Analysis
>
Image Filtering & Neighborhood Processing
>
Structure Matrices & Convolution Kernels
>
BoxMatrix
BUILT-IN MATHEMATICA SYMBOL
BoxMatrix
BoxMatrix[r]
gives a
×
matrix of
s.
BoxMatrix[r, w]
gives a
×
block of
s centered in a
matrix of
s.
BoxMatrix[{r1, r2, ...}, ...]
gives a
array of
s.
DetailsDetails
- BoxMatrix[r] gives a square pattern of
s extending r positions from the center. - The parameter r need not be an integer; elements are
if their chessboard distance from the center is not more than
. - BoxMatrix[All, w] gives a
matrix containing a box shape that is as large as possible. - BoxMatrix[..., {w1, w2, ...}] gives a
array. - BoxMatrix[{r1, ..., rn}, w] gives a
array. - BoxMatrix[All, {w1, ..., wn}] gives a
array containing a box-shaped region that is as large as possible.
ExamplesExamplesopen allclose all
Basic Examples (1)Basic Examples (1)
This computes and plots a box:
| In[1]:= |
| Out[1]= | ![]() |
New in 7
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »

