function y = scale(x)
%This function scales the image according to the function y.
y = 40*sign(x).*log( abs(x)/250 +1 );