Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to improve my video processing?

Hello!

 

Firstly, I am new in LabView and sorry for my English...

I am working on project at my university about optical tweezers, thus I need to show to a normal user of my final program a clean and treated image, to do this I am subtracting a background (image16.png) already obtained of the current video and applying filters (for now, just a median filter and a gaussian filter to smooth the image), but when I do this the speed of my video decreases. There is a better way to do what I want?

I attached my program below.

 

The cam is a USB Logitech HD Webcam C270(CCD)

 

 

 Filters.png

 

 

thanks!

Download All
0 Kudos
Message 1 of 4
(4,543 Views)

Dear  guiarreche,

 

In a quick overview of your project, I could realize you are using so many processes in parallel. This could be compromising the quality of your image and processing. 

Try to reorganize the structure of your project in the format of state machine based on series transitions. Also, if you do not want to reorganize all your code, you can disable some parts and analyse how much it part is consuming. 

 

gfavaron

0 Kudos
Message 2 of 4
(4,522 Views)

Hi gfavaron,

 

Thanks for replying. Do you have some example about format of state machine based on series transitions? I realized that filters is consuming more.

 

guiarreche

0 Kudos
Message 3 of 4
(4,464 Views)

Hi guiarreche,

 

You can check this explanation out: http://www.ni.com/white-paper/2926/en/

 or this example: http://www.ni.com/white-paper/7604/en/

 

You will find more examples searching in ni.com.

 

I hope I could help you a little bit. 

 

gfavaron

0 Kudos
Message 4 of 4
(4,450 Views)