Encoding text into image gray levels
This demo lets the user type in a text message, choose an image to hide the message in (from the list of demo images shipped with MATLAB), and choose the bit plane to encode the message in. It converts the message string into ASCII code and then into a binary string. It assigns the bits to the selected bit plane of the image pixels starting at the upper left pixel and going down the column(s). Because the text is encoded in ASCII and mixed with the gray levels bits, it's not noticeable.
Cite As
Image Analyst (2024). Encoding text into image gray levels (https://www.mathworks.com/matlabcentral/fileexchange/54155-encoding-text-into-image-gray-levels), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Texture Analysis >
- MATLAB > Graphics > Images > Convert Image Type >
- MATLAB > Graphics > Images > Modify Image Colors >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |
Changed description
|