In Matlab environment, do you export the output of the Inverse DCT from double to uint8 (to write an image file jpg, png, bmp etc) then reading the resulted image and converted it into double again to extract the hidden message?

The issue is that, the output of the last stage of DCT Steganography isFloating-point numbers and not Integer numbers (0-255). The message can not be recovered when the Stego-Image exported outside Matlab then reused inside Matlab to extract the message.

My process for hiding is:

DCT --> Quantization --> Embedding the message -->> Dequantization -->Inverse DCT --> Stego-Image (my question)

For extracting the message:

Stego-Image --> DCT --> Quantization --> Extracting the message

Similar questions and discussions