Function Index
GlobalSet
GlobalSet[{
n
1
,
n
2
}]
returns all pixel coordinate pairs in an array of dimensions given by
{
n
1
,
n
2
}
.
GlobalSet[{
n
1
,
n
2
},
{
r
0
,
c
0
}]
returns all pixel coordinate pairs in an image with dimensions given by
{
n
1
,
n
2
}
with
each position offset by
{
r
0
,
c
0
}
.
See also User's Guide
6.2
.
Examples
This loads the package.
In[1]:=
Here is the global set of a binary array of dimensions 3 × 3.
In[2]:=
Out[2]=
Here is the global set with the coordinate origin at position {2, 2} in the array.
In[3]:=
Out[3]=
© 2008 Wolfram Research, Inc.
•
Terms of Use
•
Privacy Policy
Sign up for our newsletter: