How to make Histogram specification for gray scale and color video streams

In this project, I need to develop an image processing algorithm that take gray scale as well as color video as its input and enhance the visual quality of the video by applying histogram specification technique of image enhancement as per histogram specification function defined by the user.Kindly send me this code its urgent.

Answers (1)

Well, what's the function? For grayscale, make up a look up table and apply intlut(). For color, just do that on each color channel one at a time.

5 Comments

I do not understand. kindly describe in detail or send me code for this project.
Let's say the function is "multiply by 2". So make up a lut
lut = 2 * [0..255]; % Make look up table to multiply by 2.
lut(lut>255) = 255; % Clip to 255.
outputImage = intlut(inputImage, lut); % Apply lut.
But sir how i read video in MATLAB? And then how apply the histogram visual enhancement technique on this video?
But I don't have it. It needs to be written.

Sign in to comment.

Asked:

on 25 May 2014

Commented:

on 25 May 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!