bigdataviewer / bigdataviewer-core

ImgLib2-based viewer for registered SPIM stacks and more
BSD 2-Clause "Simplified" License
33 stars 35 forks source link

What is the origin when exporting an image using the multiview fusion plugin. #139

Closed odinsbane closed 2 years ago

odinsbane commented 2 years ago

This is related to, the same issue as this https://github.com/fiji/SPIM_Registration/issues/138

I have a dataset that has been prepared for me and I want to make a fusion. When I make the fusion with the following bounding box.

Bounding Boxes: Tile_7 (dim=265x260x373px, offset=156x258x159px)

If I don't use any binning. Then the resulting image has

voxel 0.175um x 0.175um x 0.175um dimension(px) 265, 260, 373 origin(?) -27.16,-44.91,-27.68

If I use downsampling 2, then the resulting image is voxel 0.35um x 0.35um x 0.35um dimensions(px) 133, 131, 187 origin -13.58,-22.46,-13.84

From the looks of it, the origin is a scaled unit. ie the x coodinate is 0.175*156. Except it scales with downsampling as though it is in pixels?

odinsbane commented 2 years ago

The other issue is more appropriate.