Histogram Equalization For Specific row and column

조회 수: 4 (최근 30일)
Programming  student
Programming student 2013년 10월 21일
답변: Image Analyst 2013년 10월 21일
if I have to apply histogram equalization for second row and third column , Following is the code i found from official site so Please can You guide me how to Apply Histogram Equalization For second row and 3rd column
J = histeq(I,hgram) J = histeq(I,n) [J, T] = histeq(I) [gpuarrayJ, gpuarrayT] = histeq(gpuarrayI,___) newmap = histeq(X, map, hgram) newmap = histeq(X, map) [newmap, T] = histeq(X,___)

답변 (1개)

Image Analyst
Image Analyst 2013년 10월 21일
You can extract those rows and columns like this:
row2 = I(2,;);
column3 = I(:, 3);
Then pass those into histeq(), though I don't know what the purpose of doing histogram equalization is for just one row and one column, or actually, at all - it's almost never needed at all and gives harsh looking images.

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by