trackmate-sc / TrackMate

TrackMate is your buddy for your everyday tracking.
https://imagej.net/plugins/trackmate
GNU General Public License v3.0
155 stars 73 forks source link

the spot is filtered by a quality threshold #287

Open asincerity opened 3 months ago

asincerity commented 3 months ago

I run the trackmate in the macro script as follow: run('TrackMate', "use_gui=false "

tinevez commented 3 months ago

Rmlml it looks like the macro reads and uses the last quality value defined as a threshold. I can look into it to fix it, but I would be of the opinion of retiring the macro support. Thoughts?

asincerity commented 3 months ago

Rmlml it looks like the macro reads and uses the last quality value defined as a threshold. I can look into it to fix it, but I would be of the opinion of retiring the macro support. Thoughts?

When I use trackmate in macro, what are the parameters that I can specify in run() and where should I look for trackmate's support documentation for macro?

tinevez commented 3 months ago

In the code so far: https://github.com/trackmate-sc/TrackMate/blob/master/src/main/java/fiji/plugin/trackmate/TrackMateRunner.java

But I see it does not work for you. I can look into it and try to fix it, but I would be really in favor of retiring the macro support. It is really limited, does not let you configure a detector nor a specific tracker, has no filter, has no export. I strongly recommend instead using Jython scripting: https://imagej.net/plugins/trackmate/scripting/scripting

asincerity commented 3 months ago

In the code so far: https://github.com/trackmate-sc/TrackMate/blob/master/src/main/java/fiji/plugin/trackmate/TrackMateRunner.java

But I see it does not work for you. I can look into it and try to fix it, but I would be really in favor of retiring the macro support. It is really limited, does not let you configure a detector nor a specific tracker, has no filter, has no export. I strongly recommend instead using Jython scripting: https://imagej.net/plugins/trackmate/scripting/scripting

Thank you for your reply. I will try to use the Jython scripting.

asincerity commented 3 months ago

In the code so far: https://github.com/trackmate-sc/TrackMate/blob/master/src/main/java/fiji/plugin/trackmate/TrackMateRunner.java But I see it does not work for you. I can look into it and try to fix it, but I would be really in favor of retiring the macro support. It is really limited, does not let you configure a detector nor a specific tracker, has no filter, has no export. I strongly recommend instead using Jython scripting: https://imagej.net/plugins/trackmate/scripting/scripting

Thank you for your reply. I will try to use the Jython scripting.

I am trying to use the jython code. How can I append code for save the whole trackmate work including setting parameters, spots and tracks. I think it is equal to the button in the GUI as following image: image I found a similar code But I guess this one only saves tracks or points, not the whole job. And this still seems to be in java. image