logo
ZODOC
Published on

Histogram "deequalization" - contrast decrease

Authors
  • tesar-tech
Ag = rgb2gray(imread('kytka256.jpg'));

subplot(2,2,1);imshow(Ag)
subplot(2,2,2);imhist(Ag)

Dq=(Ag*0.2)+100; % histogram deequalization
subplot(2,2,3);imshow(Dq)
subplot(2,2,4);imhist(Dq)