WMW
  NEWS     ABOUT     PARTNERS     CONTACT  
  HELP
WATERMARKING
  • Biography
  • FAQ
MAILINGLIST
  • Management
  • Archive
CONFERENCES
  • Calls
BENCHMARKING
  • Stirmark
  • CheckMark
  • Optimark
BOOKS
LINKS
  • Companies
  • Research
  • Others
WEBRING
DISCLAIMER

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[WM]: On DFT/FFT-based Watermarking



Hello everyone.

I am confuse with one very simple question.

On the DFT based watermark embedding, for instance, the watermark is
embedded into the 1000 largest DFT Magnitude coefficient [Cox. et al]. 

So, for the color image, the process is:
(1) Transform RGB into YCrCb components
(2) FFT the Y component
(3) Compute the magnitude & phase which is
   mag = sqrt (Re*Re + Im*Im): MAGNITUDE
   theta = atan2(Im,Re)  :PHASE
(4) Embed the watermark into the magnitude
(5) Compute for the new Re, Im components  after modifying the mag into
mag'
(6) IFFT 
(7) YCrCb --> RGB

My question is in no. (5). I don't know how to compute the Re and Im
components of the modified magnitudes, I assumed that it can be computed
by:

 Re'= sqrt((mag'*mag')/ 1+ tan(theta)*tan(theta))
    since phase: tan(theta) = Im/Re didn't change.

 Im' = tan(theta)* Re'

But I am getting all (+) values for the Re, which is because I think my
program takes only the positive results calculated from the square root.
Thus, the resulted image is quite different from the original image.

Is my calculation wrong? Please advise me on this matter!

Thank you in advance.

Editha
--------------o0o-------------------
Editha A. DeLuna 
Graduate School of Electronics Engg.
Nagaoka University of Technology
Niigata, JAPAN
email: edith@circuit.nagaokaut.ac.jp


______________________________________________________________________________

Watermarking Mailing List - http://www.watermarkingworld.org/ml.html
To unsubscribe send email to "majordomo@watermarkingworld.org" with
"unsubscribe watermarking YOURMAIL" in the body.
______________________________________________________________________________




© 2000-2002 by WatermarkingWorld
Design and Concept by Martin Kutter