convert an image into 8 bit plane images by taking corresponding bit values at each pixel....of the image..
i tried but i dint get the correct program
convert each value exp- 64...the bcd value 0110 0100..like this for every pixel has 8 bit bcd value..and we need to group each level bits as one new image for example all msbs or all lsb bits..

1 comentario

Sean de Wolski
Sean de Wolski el 5 de En. de 2012
Can you provide a small example set of data, the operation you wish to perform, and the result?

Iniciar sesión para comentar.

 Respuesta aceptada

David Young
David Young el 5 de En. de 2012
You should be able to simply use bitget, as in
im = imread('pout.tif');
bit1 = bitget(im, 1); % lsb for example
imshow(bit1, [])

1 comentario

Husain Kapadia
Husain Kapadia el 19 de Feb. de 2016
Can we perform bit-plane slicing without using the function bitget ?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Images en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 5 de En. de 2012

Comentada:

el 19 de Feb. de 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by