NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
nesslersreagent
Posts: 14
0 Kudos
Accepted Solution

Improvements in a working Motion detector (Combine detected particles)

Hi

 

I've succesfully built and tested a fully functional Motion detector, using the "Image Subtraction" procedure.

But in doing so, I'm getting multiple particles(blobs) for a single moving object, possibly due to Image subtraction.

 

By using Dilate, Erode, and other Morphological options, I've managed to combine multiple "closely spaced blobs" into one as desired.

However, it's not enough. For example, a human appears as 3 distinct(closely spaced) blobs, instead of one.

 

No problems with large objects(cars) though.

 

Could anyone suggest any method to track a collection of blobs as one blob?

 

Note:

I've tried collecting the center of masses of the particles, and performing some basic calculations to group them into groups of closely spaced blobs, and then calculate an average value of center of masses per group. However that didn't work.

 

Included images show the results.

 

Member
nesslersreagent
Posts: 14
0 Kudos

Re: Improvements in a working Motion detector (Combine detected particles)

Any ideas, anyone?

Member
nesslersreagent
Posts: 14
0 Kudos

Re: Improvements in a working Motion detector (Combine detected particles)

Problem solved.

 

Constructed a VI that handles the task well.

Attached image shows the idea.

 

Works quite well now with great results.

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page