From: Ajusha on
i am doing project in image enhancement...i need complete matlab code for histogram shifting,histogram mapping,histogram shaping...please help
From: Thomas Britton on
"Ajusha " <ajushadasan(a)gmail.com> wrote in message <hr6heo$o9i$1(a)fred.mathworks.com>...
> i am doing project in image enhancement...i need complete matlab code for histogram shifting,histogram mapping,histogram shaping...please help

Either search the file exchange or post some example code.

Have a look at the following commands in the help index:

mean
std
hist
histc
imread
imwrite
From: ImageAnalyst on
On Apr 27, 7:23 am, "Ajusha " <ajushada...(a)gmail.com> wrote:
> i am doing project in image enhancement...i need  complete matlab code for histogram shifting,histogram mapping,histogram shaping...please help

------------------------------------------------------------------------------------
If you want to do histogram equalization (or just about anything other
enhancement based solely on the original histogram), just use a lookup
table (the function is intlut()) where the lut is the CDF of the
histogram. MATLAB has the adapthisteq() function in the Image
Processing Toolbox. You can get more precise than that if you want,
by sorting, adding sub-graylevel noise, etc.. Search
sci.image.processing for discussions on it.

If you want to do color histogram matching (make a color image match
colors in a second color image), then the best I've seen is detailed
here:
http://www.cl.cam.ac.uk/~mg290/Portfolio/ColorHistogramWarp.html