How can I perform histogram equalization on separated H, S, V components?

I have an hsv image. And I splitted the hsv image into separate h, s, v components.. I want to perform a histogram equalization on these h,s, v components.. What should I do?

댓글 수: 5

How can I equalize the V component of a HSV image?
I separated the HSV image into H, S, V components... But, I have no V component in my image.. then how i equalize the HSV image??
Yes sir.. But i'm not satisfied with my output... because my hsv image has no V component.. Then how will i equalize it sir?
I think you have misunderstood the concept of HSV images. You can only convert an RGB image to HSV using rgb2hsv(). These matrices are MxNx3 matrices (ie 3 layers) each layer representing Hue, Saturation and Value.
Sir, no V component means...when my image is converted into hsv image. Iget only a purely white image...that does not implies it has no V component

댓글을 달려면 로그인하십시오.

답변 (1개)

Varun Pai
Varun Pai 2015년 10월 14일

0 개 추천

Dear Vishnu,
histogram equalization of the 'Hue' and 'Saturation' component is not recommended, because these two factors holds the color information of the image. You can do the Histogram equalization on the 'Value' component. Later combine them together.
Once you get H,S,V separately, V is just a MxN grayscale image. You can use histeq() function. Please see link for more information. http://in.mathworks.com/help/images/ref/histeq.html
V_hist = histeq(V);

댓글 수: 1

Dear Varun/Vishnu,
can you guide me after histogram equalization of V as mentioned in answer how do I combine that equalization value to my RGB image so that i can imshow my RGB image with improved contrast?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Image Filtering and Enhancement에 대해 자세히 알아보기

질문:

2015년 10월 14일

댓글:

2019년 2월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by