Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations SSS148 on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

image rotation

Status
Not open for further replies.

jurij

Computer
Apr 14, 2005
1
I'm triing to rotate an image around a certain point in image, that is not necessarily a center point. What would be the best (simplest/fastest solution).

I wanted to use imrotate, but it seems it rotates only around a center point. I tried to modify it, but I had no luck :]

I also tried to write my own image rotation function. It worked but it was slooooooow :].

Thank you!

 
Replies continue below

Recommended for you

cant you just translate the equations to make the rotation point the origin in the new frame? :)
 
Can't you copy the image into a larger array with the offset desired, rotate and crop to size?

TTFN
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor