Rotating without changing Image Pixel Value
조회 수: 2 (최근 30일)
이전 댓글 표시
I am doing a project on Image Watermarking using Discrete Wavelet Transform. I have done with watermarked image,Now I am attacking image with attack like rotation. My question is that when I apply function imrotate to the watermarked image, all the pixels that are not included in the rotated image becomes zero as it is property of imrotate. Due to this I got very low PSNR between Original Image and rotated Watermarked image.
My question is-I want to rotate the image but also need to have high value of PSNR after rotation. Is there any method that after rotation all or most pixels of rotated image resembles with pixels of original image.
Shortcoming of imrotate ie zero value of pixels outside rotated area can be removed by which method???????????????
댓글 수: 0
답변 (3개)
Image Analyst
2015년 5월 1일
Since psnr and mse operate on a pixel by pixel basis, they're terrible for comparing any rotation beyond the slightest angle. You cannot rotate your watermarked image by any noticeable angle, and have it have anywhere close to the same PSNR as with an unrotated original or watermarked image.
It doesn't even matter what they do. The thief does whatever they do - rotate, crop, add noise, change intensities or colors - you have to deal with whatever the thief did to it . I'm not an expert in watermarking but I've heard that Fibonacci methods are pretty discreet (unnoticeable) and robust to attack by a variety of methods such as rotation. See http://www.comlab.uniroma3.it/Marco/Articoli%20Battisti/Watermarking%20and%20encryption%20of%20color%20images%20in%20the%20Fibonacci%20domain.pdf
댓글 수: 0
Matt J
2015년 4월 30일
편집: Matt J
2015년 4월 30일
You could use the 'crop' flag that imrotate offers. However, my impression is that you should not be computing PSNR based on all pixels anyway. You should be computing it based on an ROI that is present in both images.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!