LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Real-time video edge detection

Hi guys,

I'm a new Labview user. I've Labview 11 and Vision libraries. I'd like to get some suggestions from you experts about my project.

The goal of my project: I need to detect the edge of an object from a ROI of a real-time video (i.e. a biomedical video of a tumor). I assume the object has a different colour from the background. After that, I want to superimpose this edge over the real-time video. I'd like that all these computations are real-time, therefore if my object shape changes then also the superimposed edge changes according with my object.

Last, once I'm satisfied of the result, I want to get the pixels positions of the edge (i.e. pushing a button "Acquire position").

 

I'm using a USB cam and I'm able to get the real time video and display it. I'm also able to get the edge using "IMAQ EdgeDetection VI" (see the attached example). What I need is:

  1. define a ROI for the edge detection
  2. superimpose the edge to the real-time video
  3. get edge pixels position

Any suggestions about these points? Any exampe code?

 

Thanks a lot, guys!!!

 

Mr.Bubbo

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

I think the following links will help you.

 

1. How can I programmatically set a region of interest(ROI) with IMAQdx. 

http://digital.ni.com/public.nsf/allkb/3CF2B846FB409A4086257475005D7BDE?OpenDocument 

 

2. I think the following forum will help you, as a video really is just a series of still images strung together.

 http://forums.ni.com/t5/LabVIEW/superimpose-3d-graph-on-image/m-p/1726014?requireLogin=False

 

3. IMAQ Find Edge vi. http://zone.ni.com/reference/en-XX/help/370281M-01/imaqvision/imaq_find_edge/

 

 

Antonios
0 Kudos
Message 2 of 2
(3,397 Views)