correction#
Subpixel correction of droplet trajectory data, based on cross-boundary fitting and circle fitting.
Algorithm
if original_circle_quality < 0.5 and corrected_circle_quality > original_circle_quality then
use corrected circle
Edit
Jul 05, 2022 – If corrected_quality < 0.5, repeat the correction process once. This can effectively correct trackings that are very far off.
Jan 05, 2023 – Adapt myimagelib import style.
Feb 08, 2023 – Rewrite in function wrapper form, to make autodoc work properly. (autodoc import the script and execute it, so anything outside
if __name__=="__main__"
will be executed, causing problems)Mar 13, 2023 – (i) Adapt to nd2 images, (ii) apply only on inner trajectory, instead of on both inner and outer. It turns out that the outer trjectory can add more noise to the inner trajectory.