% Fig. 3.8
% Power-law (Gamma) Transformations
% Dr. W.D.Pan, UAH
warning('off','images:initSize:adjustingMag');

I = imread('Fig0308(a)(fractured_spine).tif');
imshow(I);


L = 256;
gamma = 0.4;

% Output image
J = double(I).^gamma * (L-1)/((L-1)^gamma);
figure;
imshow(J, []);





