View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
bit plane slicing

1.0 | 1 rating Rate this file 3 Downloads (last 30 days) File Size: 1.1 KB File ID: #25637 Version: 1.0

bit plane slicing



contribution of each bit of a pixel in image.

| Watch this File

File Information

this code will show image for each value of bit.

MATLAB release MATLAB 7.0.4 (R14SP2)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
25 Jul 2012 nishant satyam

The submission is fine, it is working and we are getting expected result.

Comment only
23 Oct 2009 Jan Simon

Jan Simon (view profile)

Lean description on the FEX, no comments in the file, file is a script and not a function, parameter defined by input, a not existing test picture is used and the size must be 500 x 1192.
A RAND matrix is created, its values are overwritten immediately by the number 252, but finally even this value is overwritten by the results. The computation uses 2 loops, although BITAND accepts arrays directly. Without the confusing unneeded lines this is:
imshow(bitand(imread(FileName), 2^(n-1)));

Contact us