LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   To rotate an image with minimum changes in Its pixels (https://www.linuxquestions.org/questions/linux-newbie-8/to-rotate-an-image-with-minimum-changes-in-its-pixels-4175541241/)

Sanpreet Singh 04-30-2015 01:04 PM

To rotate an image with minimum changes in Its pixels
 
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???????????????

smallpond 04-30-2015 03:18 PM

If you rotate an image the only pixel that stays in the same place is the one at the center of rotation. Why would you get any correlation at all anywhere else in the image?


All times are GMT -5. The time now is 12:13 AM.