LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Defining a Region of Interest on a Live Image

Hey all,
I am writing an application where I need the used to be able to draw a rectangular region of interest on a "constantly" updating (~5 frames per second) image.  Once they get the box into the region they want they will push a button to record the coordinates and size of the ROI. 

I am running 8.2 full, no vision package.  Any suggestions?

My first thought was to use cursors to define the corners of the box, but my end-user wanted something simpler...

Thanks all.
Matt
0 Kudos
Message 1 of 4
(2,345 Views)

Hi Matt,

how do you get the image? Where do you show it?

Mike

0 Kudos
Message 2 of 4
(2,328 Views)
Mike,

The image comes from a CCD camera, it is grabbed an turned into a 2-D array using subvi's provided in the manufacturers software developmen t kit.  I display it on the front panel in an intensity graph.

Matt

0 Kudos
Message 3 of 4
(2,316 Views)
Hi Matt,
you can use the cursors or you use the "Mouse Move" Event to get the position and store it with a key press event into a shift register.

Hope it helps.
Mike


Message Edited by MikeS81 on 07-08-2008 09:04 PM
0 Kudos
Message 4 of 4
(2,304 Views)