% bzz=50000;
xg=max(max(G)); G=log(G+xg/bzz); xg=log(xg+xg/bzz);
ng=min(min(G)); cg=255/(xg-ng); image(256-cg*(G-ng));
