gerlichlab / looptrace

Fork (from EMBL Gitlab) of the looptrace project: https://git.embl.de/grp-ellenberg/looptrace
MIT License
2 stars 1 forks source link

Image array indexing needs to be more consistent and robust w.r.t. handling of time, channel, and z dimensions #247

Open vreuter opened 5 months ago

vreuter commented 5 months ago

It's only y or x for which the removal of the dimensional axis from an image array of form (time, channel, z, y, x) is always completely nonsensical. Each of the others may be removed, but we need to be careful when indexing and to consistently handle the shape of things like the nuclear mask vs. nuclear image arrays.

vreuter commented 5 months ago

127 #241