Jump to content

Real-Time Image Processing with Labview


Recommended Posts

Hi All,

I started to use Labview couple of months ago. I need to do real-time image processing. My application is to measure displacement of an object. I use a Logitech CamPro 9000 webcam to capture the movement. As it capture the movement, real-time image processing should be done so that the system know how much displacement has been done.

I found a VI for capturing video using webcam as I attached. How would I process the images? Can I do the processing directly or I have to convert the streaming video to readable format like JPG or something?

I'm using LabView 8.5.1 and have NI Vision Assitant 8.5.

Thanks for your time.

Regards,

Amila

Link to comment

QUOTE (crelf @ Jan 21 2009, 09:19 PM)

The first thing you need to do is define what you mean by "real time". I'm not sure your definition and the industry standard definition are the same thing.

Sorry.. I might not precisely understanding the term. What I need to do is acquire image of a moving object, do the image processing and measure the movement of this object. This system will like a feedback system. I need to know the current location of the object and after this object reach the desired position, I should stop acquiring images.

I attached an updated VI here. I manage to acquire image, covert the image from RGB tu HSL and apply edge detection. Next step is to detect the edge position. How should I do this?

Many thanks.

Amila

Link to comment

QUOTE (Neville D @ Jan 22 2009, 06:21 PM)

I wouldn't use JPEG images for edge detection. The discrete cosine transform used in JPEG compression is brutal on straight lines.

Use png or tiff if possible.

Neville.

Neville,

I'm really new to this LabView and my question may sound silly. How do I know that images being captures are in JPEG format? Where can I check it? And how can I convert it to PNG format?

Many thanks.

Amila

Link to comment

What I meant was don't save the images from the camera in jpeg format and then try to detect edges after reading in the jpeg. Use the best resolution you can get from the camera, acquire the image, perform your processing and then if you want save the images (for off-line processing) in png format.

N.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.