ANP-Granular / ParticleTracking

Library and GUI for tracking (rod-like) particles on camera images in 2D and 3D
https://particletracking.readthedocs.io/en/latest/
GNU General Public License v3.0
2 stars 2 forks source link

No easy way to clear detected particles #93

Closed merrygoat closed 3 months ago

merrygoat commented 4 months ago

Is your feature request related to a problem? Please describe. When particles have been detected, you can view them in the particles window. There is no easy way to delete all detected particles for a frame or for all frames. Particles can only be deleted individually.

Describe the solution you'd like If my detection fails, I want to be able to clear any detected particles and start again without having to restart the application.

When selecting a colour in the particle window, pressing delete could delete all detected particles of that colour in the frame. When selecting a frame in the particle window, pressing delete could delete all detected particles in that frame. Since it is not possible to select the whole dataset in the particle window, there could be a button below to delete all detected particles in all frames.

merrygoat commented 3 months ago

That looks great. Works for me.