Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running trackmate on a stream of incoming frames #314

Open
akatav opened this issue Jan 23, 2025 · 3 comments
Open

Running trackmate on a stream of incoming frames #314

akatav opened this issue Jan 23, 2025 · 3 comments

Comments

@akatav
Copy link

akatav commented Jan 23, 2025

So, i have a setup where a fixed number of frames of a time lapse image capture arrive in a stream sequence every n seconds. I am able to run Trackmate on each stream packet, but i am unable to track the spots across the stream, as different spot IDs are assigned every time trackmate is run.
I'd like to track the spots and features across the entire length of the incoming stream. How to do this successfully with trackmate?

@tinevez
Copy link
Member

tinevez commented Jan 24, 2025

Hello @akatav
I am not sure this can be done easily with TrackMate. It expects to always have ALL the spots at hand before tracking, and work best in an asynchronous way, when the acquisition of image data is over.

@akatav
Copy link
Author

akatav commented Jan 24, 2025

@tinevez thanks for your comment. okay, well, trackmate was really useful to me so far. Would be a downer if i can't use it in real time setting somehow :( i'm wondering, let us say, my image is zoomed-in (not wide field) and captures only 2 spots at max. then, is it possible to use trackmate somehow ?
I also tried to update the trackmate.model (using model.copy()) and trackmate.settings object (using the copyOn() method) from the model/settings object obtained in the previous stream's trackmate run. Would this work ?

@tinevez
Copy link
Member

tinevez commented Jan 27, 2025

I really don't know. I think you need to investigate whether it's compatible with your framerate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants