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 件のコメント
Vishnu R
2015 年 10 月 14 日
Varun Pai
2015 年 10 月 14 日
Hope you have got the answer.
Vishnu R
2015 年 10 月 14 日
Varun Pai
2015 年 10 月 15 日
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.
Vishnu R
2015 年 10 月 16 日
回答 (1 件)
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 件のコメント
MemonMohsi
2019 年 2 月 19 日
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 についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!