How to convert compressed bit stream into image

Hi, I have compressed the image and got the output in the bitstream, I am not getting how to convert it into an image. please, anyone, give me a solution.

Answers (1)

Decompress it.
You might have to reshape() the result, which will require that you know what size to reshape it to. If your image size is not fixed, then you will probably need to include the image size as part of the bitstream.

Categories

Find more on Convert Image Type in Help Center and File Exchange

Asked:

on 29 May 2017

Answered:

on 29 May 2017

Community Treasure Hunt

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

Start Hunting!