Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6704 Discussions

ippiRotate and non-square image (width != height)

john_gehringstabiles
254 Views
Can I use ippiRotate to rotate a 640x480 image without loosing any part of the image? Right now I keep loosing the right side of the image (160 columns of the original orientation). The documentation is leading me to believe that you only get the intersection of the source and destination ROI's, but isn't there a way to rotate a rectangle without loosing part of the image?

Thanks.
0 Kudos
1 Reply
petemoss
Beginner
254 Views
You can rotate cleanly if you rotate into a larger canvas. Make a larger image buffer, with a larger ROI, and use that as the Dest. If you rotate into an image of the same size, then you will lose part of the image, because there is no where to put it.
0 Kudos
Reply