03-02-2016 07:28 AM - edited 03-02-2016 07:29 AM
Hello
I have been traying to write a VI that finds an oriented bounding rectangle (marked at blue in the image) at a certain angle (marked "alpha" in the image) in each frame of a video.
At first I used "imaq rotate" to rotate the entire image and the i found an ordinary rectangle but "imaq rotate" taks to long for my application
Any ideas for a differnt algorithm or approach?
thenks
03-03-2016 09:59 AM
Hi orinoked,
IMAQ Rotate is your best and most accessible function choice for this operation. Digital image processing taks time. If this function does not meet your application requirements, your next choice would be to start implementing your own custom rotation function. Algorithms for this sort of function should be readily available online. Here’s one I found in a quick search: http://homepages.inf.ed.ac.uk/rbf/HIPR2/rotate.htm. However, implementing your own image rotation function would be time consuming and introduce the need for additional code debugging.
Thanks,