-
Notifications
You must be signed in to change notification settings - Fork 28
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
bug in tracking with add_particles #192
Comments
to reproduce the results use openptv/master and run any test case twice: without add_particles
and then with add_particles
as you see, the number in the frame doubles every step. the results are also clear when observing rt_is. files after sequence and after tracking. |
it appeared before #165 |
Which test was that? Could you add the command-line you used to get that output? |
the problem is that we never wrote the test ;) it is |
please @yosefm take a look at this problem that was somehow related also to |
the bug is kind of obvious when we do tracking but it's not captured apparently by the py_bind tests. The number of particles in the buffer is increasing like every buffer is filled twice, (except the first and the last ones). Apparently it's not double reading from the file, but just internal filling the buffer somewhere.
the bug relates to the option [add particles] in the Tracking parameters. uncheck this option and the results are normal, but of course there are no "additional particles" in the ptv_is. or added. files
@yosefm please help here.
see below in the file 0003 there are 29 particles only, but after filling the buffer, the
trackcorr_c_loop
thinks there are 55 and so on.if you run the sequence - the
rt_is.
file is 29 particles long, but after tracking it's 55. If you repeat the tracking run, the file will become above 80 and so on. every run will double the number of particles in the buffer.The text was updated successfully, but these errors were encountered: