MATLAB Answers

implement hide using DCT

24 views (last 30 days)
amal
amal on 25 Feb 2015
Commented: Walter Roberson on 9 Apr 2018
hi, i prepare a project about hide text into image using DCT, these is the algorithm
Input: Message, cover image
Output: steganographic image containing message
While data left to embed do
Get next DCT coefficient from cover image
If DCT not equal to 0 and DCT not equal to 1 then
Get next LSB from message
Replace DCT LSB with message bit
End if
Insert DCT into steganographic image
End while
thanks

  1 Comment

SWAGATIKA DEVI
SWAGATIKA DEVI on 9 Apr 2018
can i get the code?

Sign in to comment.

Answers (1)

Abhishek Ballaney
Abhishek Ballaney on 9 Apr 2018
https://www.mathworks.com/help/images/ref/dct2.html

  1 Comment

Walter Roberson
Walter Roberson on 9 Apr 2018
That only talks about the DCT itself, not about the information hiding. Most of the people who struggle with the task have difficulty in converting information into binary or back from binary, or get messed up by the fact that the output is likely to be floating point instead of uint8.

Sign in to comment.

Sign in to answer this question.