Hiding data in an image

Embeds the input data (text, or string) in the specified bit-plane of the input image and returns th
11K Downloads
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.

See also RECOVERBP

Cite As

Nithya V S (2026). 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
Version Published Release Notes
1.0.0.0

Including a warning condition