% ============================================================================= % Math 336 - Image Processing - Laboratory 2 % % A Matlab function for the intesity transformation s = T(r) = (L-1)*(r/(L-1))^(5/2) % % Marty Kandes % Department of Physics % San Diego State University % Fall 2008 % ----------------------------------------------------------------------------- function [F] = invgam(IMAGE) F = imread(IMAGE); F = mat2gray(F); F = F.^(5/2); imshow(F); end