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



Dear AMR, chris and samuel
 
    It is possible to embed as follows using MATLAB:
 
  1)calculate DFT = fft2(x); % where x is an image matrix
 
 2)now separate real and imaginary parts:
 REL=real(DFT);
IMG = imag(DFT);
 
 3) calculate Phase and Magnitude:
FAZE=atan2(IMG,REL);                             % Theta
MAG = sqrt((REL.*REL)+(IMG.*IMG));        % R
 
 4)Embed in "MAG" (magnitude)
=>        MAG_embed
 
 5)Now go back as follows

CMPLX_A = MAG_embed.*(cos(FAZE)); %% R cos(Theta)

CMPLX_B = MAG_embed.*(sin(FAZE)); %% R sin(Theta)

CMPLX = complex(CMPLX_A,CMPLX_B); %% Reconstruction from Magnitude and Phase = R cos(Theta)+ i (R sin(Theta))

IDFT = real(ifft2(CMPLX));

_________________________________________________________________________________________________
Now what do you think, is this correct and what about its robustness.
 
AMGee
 

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