Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Interactive overlay grid

Hi,

 

my program acquires images from a camera.

Over this image I need to overlay a grid shown underneath.

grid.JPG

The grid should be solid but must be placed interactively.

I am looking for a possibility to place the grid interactively inside the aquired image, that means that I need the ability to move and to rotate the grid inside the image.

Afterwards I need the position of the grid and especially the center points of each grid element (marked as points)

 

Does somebody have an idea how to solve this problem?

Thank you in advance !

0 Kudos
Message 1 of 2
(4,050 Views)

I would use the Overlay functions.  You can combine a bunch of Overlay commands to create the box (draw line, draw point, etc.) in a single VI.  I would probably use the center of the box and the rotation as the inputs.  You would need to use a little trig to figure out the coordinates.  Just acquire the image, call the Overlay Box VI, then display the image.

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 2
(4,034 Views)