LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Image Manipulation

Solved!
Go to solution

Hi! Terribly sorry, I'm new to Labview, and I'm not sure how to go about dynamically editing an image/stream from a webcam as a program user might like. 
More specifically, how would one go about making a program that lets a user click on a part of an image from a webcam and insert a horizontal or vertical line at the place that they clicked?
Thanks so much. 

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

It really depends on what drivers you are using. imaq has functions for adding lines, but you can do it on picture controls as well.

Message 2 of 3
(3,282 Views)
Solution
Accepted by topic author strange9

The Vision Toolkit has a lot of functionality, but not so much documentation (that's not really true -- it is often there, just "buried" in the LabVIEW Help).

 

When I first was introduced to Vision, I had been programming with LabVIEW for several years (and had a decade or so of experience with many other programming languages, none whose names were single letters, though).  Vision was a real challenge.  I recommend that you have at least 6 months experience with "ordinary" Data Acquisition and Data Processing using LabVIEW before trying to tackle NI Vision.

 

If all you want to do is to is "Snap" (a single still image, saved as a JPEG or PNG) an image, view it, and superimpose a line, you can cobble together something that will do that (the Picture route possibly being the easiest).  If you want to do something with a Video (.AVI) file, this will be considerably more challenging.  It is doable -- find yourself a LabVIEW Guru (perhaps your Instructor?) and propose a Joint Project, where you will Learn a Lot (but may do a considerable amount of work).

 

Bob Schor

Message 3 of 3
(3,228 Views)