Hello Bhavika,
There is a good article[
^] on codeproject itself, written by Evgeny Vinnik. Please go through it. As far as water waves are concerned, it like applying sine wave function to the image data. A good example can be found here [
^].
Regards,