how to convert a grayscale image to a sequence of bytes

1 次查看(过去 30 天)
how do i convert the image into a sequence of bytes and then get the hash value using SHA3 256 bits.

回答(1 个)

Image Analyst
Image Analyst 2016-12-28
For the first question:
sequenceOfBytes = grayImage(:);

类别

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