Rotating without changing Image Pixel Value
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (3)
Image Analyst
el 1 de Mayo de 2015
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 comentarios
Matt J
el 30 de Abr. de 2015
Editada: Matt J
el 30 de Abr. de 2015
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.
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!