function [im] = normalize_im(x)
im = (x-min(min(x)))*255/(max(max(x))-min(min(x))+0.000001);
return;
