I need MATLAB code for embedding a bit stream into an image, for the purpose of difference expansion watermarking.

I am unable to generate a code to watermark a bit stream into a medical image.

8 Comments

What studies have you done to ensure that the watermark will not affect the diagnostic information in the image ?
I have gone through J. Tian's research for the algorithm. I applied the algorithm to some DICOM MRI images by selecting RONI (Region of non interest). As this algorithm doesn't require compression for embedding of watermark there is slightest possible interference with the diagnostic features.
So what is it? Just simple annotation or burning text onto the outer edge of the image? I never heard of "difference expansion watermarking."
I converted the medical image to jpg file, then converted the image into binary. After that I applied this algorithm to the base image and watermarked the binary data file to the base image.
Image Analyst- I didn't get you?
Mr. Walter Roberson- I went through this paper, and few others. I'm a little confused. I want to embed metadata(which could be something as simple as a string or something like an image) onto a medical image. After this I want to extract that data and check the image for any changes that might have occurred because of the following. I think watermarking solves the purpose of embedding data onto images, and I tried out spatial domain technique like difference expansion( because they are loss-less). Now the problem is, should I extract the data as it's reversible watermarking? or should I just check if the data have been embedded?
@akash aggarwal. how did u convert the image into the binary bit stream?
akash, I was just asking if you needed the information to be hidden/encoded/encrypted or if it's just like white annotation (like right/left, or patient name/di, etc.) either digitally added or put into a radiograph via lead letters or something like that.
Watermarking is usually thought of as something that is somewhat visible, whereas steganography is the term given to encoding information that is not intended to be readily noticeable or detectable.

Sign in to comment.

 Accepted Answer

See my LSB watermarking demo, attached below in blue text. Feel free to adapt as needed.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!