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]

Re: [WM]:Problem in implementing DWT for watermarking



Dear Rupal Agravat,
 
Try the following code:
 
%*************************************
x = imread('camera.bmp');
imshow(x)
[A,H,V,D] = dwt2(x,'haar');
img = idwt2(A,H,V,D,'haar');
 
img1=uint8(img);
 
figure, imshow(img); 
%*************************************


On 4/15/07, rupal agravat <rupalagravat@yahoo.com> wrote:
Respected All,
Myself, Rupal Agravat, student of Master's Computer Science, implementing watermarking using different methods like, LSB, other spatial domain methods, DCT and now i m implementing using DWT. But i m facing following problem.........
I am using image of camera man 256x256 8bit per pixel. For testing purpose only i wrote following code
x = imread('camera.bmp');
imshow(x)
[A,H,V,D] = dwt2(x,'haar');
img = idwt2(A,H,V,D,'haar');
figure, imshow(img);
And it is giving white image with out any grayscale ........................ i mean i m not able to see the camera man image................
Can anybody tell me why it is happening?
In advance, i am very much thankful to the persons giving me the positive answer...........
 
-Rupal Agravat
India




--
Best regards.

Shijun Xiang (Ph.D)
Email: xiangshijun@gmail.com
Tel: 82 2 3290 4764
Home Page: http://cist.korea.ac.kr/~xiangshijun/index.htm
Research lecturer, Center of Information Security Center (CIST), Graduate School of Information Security, Korea University, anam-Dong, Seongbuk-Gu, Seoul 136-713, Korea
© 2000-2002 by WatermarkingWorld
Design and Concept by Martin Kutter