clij / clij2

GPU-accelerated image processing for everyone
https://clij.github.io/clij2
Other
48 stars 14 forks source link

Projections do not maintain voxel size metadata #50

Closed tischi closed 2 years ago

tischi commented 2 years ago

See title! Could this be changed? I think is quite an issue for using this in practice. cc @manerotoni

haesleinhuepf commented 2 years ago

Just a quick comment: Clij operations (called from macro, jython, etc) never copy any metadata. The Clij assistant only copies metadata if input image and output image have the same size (which is already a bit speculative but works OK in practice). Hence, if you can think of a logic how pixel sizes can be copied from input to output images, I think that's possible.

tischi commented 2 years ago

Hence, if you can think of a logic how pixel sizes can be copied from input to output images, I think that's possible.

For projections that logic is obvious, isn't it?

haesleinhuepf commented 2 years ago

I'm just leaving a link here to the CLIJ FAQ before closing this: https://clij.github.io/clij-docs/faq.html#physical_units