Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic background subtraction

Does NI offer (or have plans to offer) a vision algorithm that would subtract a dynamic background? For example, I need to subtract (or ignore) features in an image that are random reflections of light off of a liquid surface (due to waves or vibrations in the liquid). The reflections are somewhat random and the object under inspection moves within a window of about 10% of the image size. The inspection object must remain unmodified as much as possible in the subtraction. Simple thresholding will not work as there are features in the object that are within the greyscale values of the light reflections I want to ignore. I tried comparing two images and taking the minimum value of both and this works with some success but does modify the object appearance some as well.

 

One method I came across was the Stauffer-Grimson background subtraction for dynamic scenes method. Has anyone used this with sucess or have example code?

Chris Walker
Certified Labview Developer
0 Kudos
Message 1 of 2
(3,513 Views)

Hi chris_1243,

 

We currently do not have any pre-canned dynamic background subtraction algorithms that I know of (like the Stauffer-Grimson algorithm you mentioned). I am not sure what R&D has planned for future algorithms, but you can post a suggestion to the NI Idea Exchange. They look at these suggestions and do implement many of them in future releases. As for a current solution, you will most likely have to code up an algorithm (like the Stauffer-Grimson one) as I could not find any examples that accomplish this that are available.

------------------------------
Bill E. | Applications Engineer | National Instruments
0 Kudos
Message 2 of 2
(3,494 Views)