function imbitplane(x,tipomap)
% imbitplane(x,tipomap)
% Visualizza i bit plane dell'immagine x
% 
k=1;
titlestring='Bit plane ';
for i=1:8
a=(bitand(double(x),k)/k)*255;
immostra(a,tipomap);
title([titlestring int2str(i-1)]);
k=k*2;
end