TuragaLab / DECODE

This is the official implementation of our publication "Deep learning enables fast and dense single-molecule localization with high accuracy" (Nature Methods)
GNU General Public License v3.0
89 stars 26 forks source link

Change x/y axis #42

Open Haydnspass opened 3 years ago

Haydnspass commented 3 years ago

X-Y are swapped compared to many other software.

Normally that's just because we transpose the frame in the plot function. An easy solution is to remove the transpose and swap x and y of plot coordinates there, however that might not lead to inconsistency.

When changing, possibly the following modules are affected:

cleterrier commented 3 years ago

When I plot the coordinates obtained using DECODE in another software (exporting as csv and using ThunderSTORM in ImageJ), the image is rotated compared to processing by other softwares. I have to compensate by "rotating right" the coordinates i.e. [X = Width-Y; Y=X] to get the proper image orientation. If that helps.

cleterrier commented 3 years ago

See also the Z axis being reversed (opened a Discussion about it)