zitmen / thunderstorm

ThunderSTORM: a comprehensive ImageJ plugin for SMLM data analysis and super-resolution imaging
http://zitmen.github.io/thunderstorm/
GNU General Public License v3.0
93 stars 42 forks source link

Null Pointer Exception when merging localizations #21

Closed zitmen closed 9 years ago

zitmen commented 9 years ago
What steps will reproduce the problem?
1. Import the attached localisation file (csv format) into ThunderSTORM
2. Go to the "Merging" tab, click "Merge" (with default settings)

What is the expected output? What do you see instead?
The merging operation should be performed. Instead, a large number of successive popup
appear with "Error! java.lang.NullPOinterException", with no choice but to
force-quit ImageJ.

What version of the product are you using? On what operating system?
Latest daily build of ThunderSTORM, FIji wiht ImageJ 1.49m, Java 1.6.0_65 under OSX
10.10.1

Please provide any additional information below.
The same problem happens when trying to do fiducial-based drift correction (due to
the presence of a merging step in the process I guess)

Original issue reported on code.google.com by lechristophe on 2015-01-27 17:19:06


zitmen commented 9 years ago
Fixed in revision 19e25ecc2343. You can update now to dev-2015-01-28-b1.

The problem was in uncertainty_z column. We do not have any method to calculate this.
I've set this to calculate the merged uncertainty as mean value.
What method do you use for calculating this uncertainty? I could add this...

Best,
Martin

Original issue reported on code.google.com by zitmen on 2015-01-28 00:03:42

zitmen commented 9 years ago
Great, thanks for the reactivity.

Unfortunatley, I don't have a simple way to calculate the Z uncertainty. I just multiply
the XY uncertainty by a given factor (I chose 2), because using 2:1 rugby balls in
3D is still closer to reality than using 1:1 soccer balls :)

Original issue reported on code.google.com by lechristophe on 2015-01-28 09:25:41