Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Draw rotated oval overlay

Hello,

can anyone tell me how to draw a rotated oval overlay over an image, without having to rotate the image twice (as in https://forums.ni.com/t5/Machine-Vision/How-do-I-draw-an-ellipse-in-IMAQ/td-p/1666796 )? Rectangles are no problem, but I have not found a way to draw a rotated oval. Using Labview 2018SP1 with Vision.

Thank you.

0 Kudos
Message 1 of 3
(1,971 Views)

This is a problem for me too.  Frustrating that setting the angle on an oval is not a thing.

0 Kudos
Message 2 of 3
(1,636 Views)

Overlay_Ellipse.png

OK, I brute Forced a solution.  Here is a snippet.  The output of this VI feeds into "IMAQ overlay points".   If you are using Imaq particle analysis to generate the minor / major axis, you will probably want to divide both by half.  Let me know what you think.

0 Kudos
Message 3 of 3
(1,625 Views)