Hiding data in an image

version (1.48 KB) by Nithya V S
Embeds the input data (text, or string) in the specified bit-plane of the input image and returns th


Updated 16 Apr 2007

View License

EMBEDBP Embeds the data in the bth bit plane of the image

[INTL] = EMBEDBP(I,TXT,B) embeds the string TXT in the Bth bit-plane of
the image I and returns the watermarked image INTL. If B is not specified,
it is taken as 1. TXT is converted to binary (8-bits for each value) and the first 8N bits of the Bth bit-plane of the image are replaced by the binary form of TXT, where N is the number of elements in TXT.


Cite As

Nithya V S (2022). Hiding data in an image (https://www.mathworks.com/matlabcentral/fileexchange/14311-hiding-data-in-an-image), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!