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