|
Re: Tracking Multiple Targets
You still have not caught the memory leak created by removeSmallObjects(), or freed filteredImage. Also, be careful about using NIVision, because BinaryImage hides certain functionality from you, and using NIVision along with BinaryImage can mess up particle counting. Until you have a working product and you know it's too slow, I'd recommend against using NIVision's methods directly.
Removing the for loop would not allow multiple target tracking on its own. However, if you make it go through each particle, and output the data for all of them, then it would be tracking multiple targets.
|