Social-Evolution-and-Behavior / anTraX

anTraX: high throughput tracking of color-tagged insects
https://antrax.readthedocs.io/
GNU General Public License v3.0
17 stars 3 forks source link

Many small non-ant objects still tracked and classified #27

Closed Giacomoalciatore closed 2 years ago

Giacomoalciatore commented 2 years ago

Hi, I have many videos in which small particles of food or trashed are tracked, increasing enormously the size of the trajectories tracked (15000+ for 10 minutes videos), and slowing down the classification and trainset-extraction steps. These objects are smaller than the min area single ant threshold, and are marked with a pink outline. Would it be possible to include an option that tells the software to discard automatically all pink blobs below the min area threshold?

asafgal commented 2 years ago

Hey Giacomo, use the "min area" parameter in the segmentation tab to set a threshold under which blobs are discarded.

Giacomoalciatore commented 2 years ago

Thanks!