WOLFRAM
Products
Wolfram|One
Mathematica
Wolfram Notebook Assistant + LLM Kit
Wolfram|Alpha Notebook Edition
System Modeler
All Products
Consulting & Solutions
Wolfram Consulting
Industry Solutions
Solutions for Education
Learning & Support
Wolfram U Courses
Wolfram Language Resources
Wolfram Community
Support FAQs
Contact Support
Company
About Wolfram
Careers
Events
Educational Programs
All Sites and Resources
Wolfram|Alpha
Wolfram Cloud
Your Account
Your Account
User Portal
Search
Close
Enable JavaScript to interact with content and submit forms on Wolfram websites.
Learn how
Legacy Documentation
Digital Image Processing
(2000)
This is documentation for an obsolete product.
Current products and services
Function Index
LookupTable
LookupTable[
{y
1
, y
2
, ...}
]
returns a dispatch table of point mappings defined by the list of rules {0→y
1
, 1→y
2
, ...}.
LookupTable[
{x
1
, x
2
, ...}, {y
1
, y
2
, ...}
]
returns a dispatch table of point mappings defined by the list of rules {x
1
→y
1
, x
2
→y
2
,...}.
LookupTable
may be used to apply an arbitrary point transformation to an image.
Option
DispatchTableForm
→
False
omits the formation of a dispatch table returning a result in the form of a simple list of rules. This may be useful when joining multiple lookup tables.
See also User's Guide
3.4
.
New in Version 2.
Example
This loads the package.
In[1]:=
This produces a color map consisting of a range of hues.
In[2]:=
Out[2]=
This reads a monochrome example image and quantizes it to 8 gray levels.
In[3]:=
This applies the color map to the example image.
In[4]:=
Out[4]=