Histogram Equalization For Specific row and column

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 个)

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.

类别

标签

Community Treasure Hunt

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

Start Hunting!

Translated by