Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

What's the fastest way to rotate an image?

I need to perform a rotation on an array representing an image. The angles are random between 0 and 90 degrees. The fastest way I found is with IMAQ. But that means converting the arrays to an IMAQ image first, then rotating and then again converting back to array. There must be a faster way, because probably IMAQ itself converts the image back to an array to perform the rotation. I implemented the classical algorithm of shear-transpose-shear-transpose, but that's 10 times slower than the IMAQ routine.
A special case for rotating under 45 degrees might also be interesting for me.
Thanks.
Certified LabVIEW Developer (CLD)
0 Kudos
Message 1 of 3
(4,192 Views)
Hi Manu,
You have submitted your question to the Industrial Networks>Ethernet forum. Your question really doesn't have anything to do with Ethernet communication. I think you will be better served if you resubmit your inquery to either the Vision Exchange or a forum more closely related to the programming environment which you are using.

-Chad
0 Kudos
Message 2 of 3
(4,192 Views)
Yeah I know, I pressed the wrong button and didn't find a way to delete the post. But thanks anyway 😉
Manu.
Certified LabVIEW Developer (CLD)
0 Kudos
Message 3 of 3
(4,192 Views)