PRODUCTS
Products Overview
Mathematica
Mathematica Student Edition
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Wolfram
SystemModeler
Wolfram
Finance Platform
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
Merchandise
SUPPORT
Support Overview
Mathematica
Documentation
Knowledge Base
Learning Center
Technical Services
Community & Forums
Training
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News
Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
DOCUMENTATION CENTER SEARCH
Function Index
HistogramEqualize
HistogramEqualize[
img
]
gives
img
with enhanced (normalized) contrast in the range {0,255}.
HistogramEqualize[
img
,
{
min
,
max
}
]
gives
img
with enhanced (normalized) contrast in the
range {
min, max
}
.
HistogramEqualize[
img
,
{
min
,
max
,
dx
}
]
gives
img
with enhanced (normalized) contrast in the
range {
min, max
} with stepsize
dx
.
Histogram equalization is a pointwise nonlinear transformation that replaces each pixel by the cumulative histogram value for that pixel.
The option
HistogramClippingFactor
→c, with the clipping factor
c
in the range 0≤c≤1, may be used to alter the result returned by
HistogramEqualize
. The histogram of the original image
h
is clipped at value c
Max
[
h
]
and the residue is uniformly redistributed over all the bins of the histogram
h
. This alters the shape of the cumulative histogram and therefore the transfer function of the equalization transformation.
The default setting
HistogramClippingFactor
→
None
computes histogram equalization using unaltered histogram values.
The argument
img
may be a list or
ImageData
expression.
See also User's Guide
3.4
.
Modified in Version 2.
Example
This loads the package.
In[1]:=
This loads an example image.
In[2]:=
This performs linearization on the example image.
In[3]:=
In[4]:=
Out[4]=
This shows linearization with clipping.
In[5]:=
Out[5]=
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.