Histogram Equalization For Specific row and column

4 views (last 30 days)
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,___)

Answers (1)

Image Analyst
Image Analyst on 21 Oct 2013
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.

Tags

Community Treasure Hunt

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

Start Hunting!