Rotation of a 2D image without changing the size - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Rotation of a 2D image without changing the size

krajikraji Posts: 1Member
When we use rotation matrix transformation
to rotate a 2D image about a point, the size
of the image changes except for a rotation of
90,180, 270 and 360 degrees. Although
inbuilt function is written in matlab and
photoshop, the size of the image changes
after rotation in boththe softwares.
This is because, the pixel
positions are integer values, and when the
transformation is applied to each and every
piel value of the image, more than one
pixel is transformed to the same position (
because of rounding off)in the rotated image
and hence some of the pixel intensities are
overwitten .
How to overcome this problem?

Sign In or Register to comment.