Smooth lines after rotating?

  • Follow


I am using imrotate to rotate an image. However, due to this I am getting jagged lines in the rotated image which is emphasized on the edges. In my case its a must for the images to be perfectly aligned, unless of course the content of the image is different in its true nature. I thought about blurring the image to some extent but with the precision I am aiming for this might also blur differences between the images. Hence, I was wondering whether there is something different in matlab designed specifically for such an issue.

Thanks
0
Reply Armand 11/10/2010 9:44:06 AM

"Armand Sciberras" <sigarru87@gmail.com> wrote in message <ibdph6$rb0$1@fred.mathworks.com>...
> I am using imrotate to rotate an image. However, due to this I am getting jagged lines in the rotated image which is emphasized on the edges. In my case its a must for the images to be perfectly aligned, unless of course the content of the image is different in its true nature. I thought about blurring the image to some extent but with the precision I am aiming for this might also blur differences between the images. Hence, I was wondering whether there is something different in matlab designed specifically for such an issue.
> 
> Thanks

solved this after giving a search... just wasn't aware of 'bilinear'..  thanks
0
Reply Armand 11/10/2010 9:57:05 AM


1 Replies
248 Views

(page loaded in 0.02 seconds)


Reply: