필터 지우기
필터 지우기

How can I equalize the V component of a HSV image?

조회 수: 1 (최근 30일)
Vishnu R
Vishnu R 2015년 10월 14일
댓글: Vishnu R 2015년 10월 14일
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??
  댓글 수: 2
Varun Pai
Varun Pai 2015년 10월 14일
Dear Vishnu ,
If you have multiple questions on the same topic, please do comment at the answer section. I hope this is the continuation of the question http://www.mathworks.com/matlabcentral/answers/248534-how-can-i-perform-histogram-equalization-on-separated-h-s-v-components.
Vishnu R
Vishnu R 2015년 10월 14일
ok sorry sir

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

답변 (1개)

Varun Pai
Varun Pai 2015년 10월 14일
Please find below code
I = imread('pears.png');
I_hsv = rgb2hsv(I);
V_comp = I_hsv(:,:,3);
eq_V_comp = histeq(V_comp);
I_hsv(:,:,3) = eq_V_comp;
I_eq = hsv2rgb(I_hsv);
figure,imshow(I_eq);

카테고리

Help CenterFile Exchange에서 Purple에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by