/ Published in: MatLab
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
% Ritorna i Bit Plabes dell'immagine a toni di grigio function showBitPlanes(img) titleString = 'bit planes '; % MSB ... LSB k = 128; for b=1:8 k = k/2; % Shifta di 2 i bit end; return;