image - Extraction of the least significant bit of a pixel -


i want extract least significant bit (lsb) of each pixel in image. want know value of lsb in each pixel, whether 1 or 0. how do in matlab?

you can use bitget function , specify bit position of 1, denoting lsb of each pixel. assuming image stored in a, do:

b = bitget(a, 1); 

b same size a tells lsb of each pixel in image.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -