필터 지우기
필터 지우기

How to convert the obtained pixel value of an image to a 8 bit binary value?

조회 수: 1 (최근 30일)
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.

채택된 답변

Walter Roberson
Walter Roberson 2017년 1월 3일
PixelsBinaryVector = reshape((dec2bin(PixelsArray, 8) - '0').', 1, [])

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by