When we add some watermark content in an image, the original data is lost. If that same image can be recovered, then it will be called reversible watermarking. Here is a paper with complete review of reversible watermarking techniques. Hope it will help you.
This Matlab code might help you to understand about reversible data hiding or reversible watermarking based on prediction error expansion and histogram shifting.
I have been studying reversible data hiding or reversible watermarking for many years. I think reversible data hiding based on prediction error expansion and histogram shifting is the best technique so far.
If the Matlab code has some mistakes, please let me know.