how to convert images to byte arrays & byte arrays back in images ?
조회 수: 7 (최근 30일)
이전 댓글 표시
image encryption and decryption using Modified AES
댓글 수: 1
Walter Roberson
2013년 2월 19일
please read the guide to tags and retag this question. see http://www.mathworks.co.uk/matlabcentral/answers/43073-a-guide-to-tags
답변 (1개)
Walter Roberson
2013년 2월 19일
YourByteArray = typecast(YourImageArray, 'uint8') %convert to byte array
typecast(YourByteArray, class(YourImageArray)) %convert to original class
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!