PDA

View Full Version : rotating pictures


alexnoe
11th October 2002, 10:55
I wonder how a rotation, which is not a multiple of 90°C, is performed. :confused:
The problem is that you can't simply rotate the single pixels around the center of the picture...this would not be accurate :angry: because you can't rotate the pixels itself around their own center, which would also be necessary

sh0dan
11th October 2002, 12:37
You could look at Avery Lee's Rotate2 (around arbitrary angle) in the virtual dub source. It's not the easiest thing in the world, if you wan't subpixel accuracy, but "nearest neighbour" can be made very fast (search for roto-zoomers).

vlad59
11th October 2002, 12:42
roto-zoomers

Yep, it was the good old "demo" time...... I'm getting old ;)