8-bit plane slicing for an image

4 次查看(过去 30 天)
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 个评论
Sean de Wolski
Sean de Wolski 2012-1-5
Can you provide a small example set of data, the operation you wish to perform, and the result?

请先登录,再进行评论。

采纳的回答

David Young
David Young 2012-1-5
You should be able to simply use bitget, as in
im = imread('pout.tif');
bit1 = bitget(im, 1); % lsb for example
imshow(bit1, [])
  1 个评论
Husain Kapadia
Husain Kapadia 2016-2-19
Can we perform bit-plane slicing without using the function bitget ?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 FPGA, ASIC, and SoC Development 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by