How to convert the obtained pixel value of an image to a 8 bit binary value?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
dhaarani chandrasekaran
am 3 Jan. 2017
Kommentiert: dhaarani chandrasekaran
am 3 Jan. 2017
I have found the pixels of an image.But i don't know how to convert it to binary(8 bit).Can u please help me.
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 3 Jan. 2017
PixelsBinaryVector = reshape((dec2bin(PixelsArray, 8) - '0').', 1, [])
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Convert Image Type finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!