silx icon indicating copy to clipboard operation
silx copied to clipboard

Image parameters maintained upon changing dataset

Open sjleake opened this issue 6 years ago • 4 comments
trafficstars

Hi, When loading an h5 file with many datasets, when inspecting a 2D slice and then changing to a another dataset to compare, if the datasets are the same dimension, it would be useful if the image or stackview maintain the chosen slice. Thanks

sjleake avatar Jul 18 '19 07:07 sjleake

PR #2701 provides part of it (i.e., it works for all views but the StackView which needs specific handling)

t20100 avatar Aug 01 '19 15:08 t20100

Any news on this? It seems that PR #2701 was merged, but this was not resolved. Viewing stacks of images is quite a useful application.

Obi-Wan avatar Feb 25 '22 13:02 Obi-Wan

For image stacks, you can use the "Image" tab which keeps the selected slice when switching datasets. The "Image stack" tab which is also available does not supports this. Unless I missed something, the "Image stack" tab provides the same features as the "Image" one, so we'd better remove it (2 tabs providing the same feature is 1 too much).

t20100 avatar Feb 28 '22 10:02 t20100

I agree that the redundant tab should be removed as it can be confusing. On the other hand, I have noticed that for 3D volumes, the labels of the axes differ a bit between the two tabs. In the image tab you have {"", "x", "y"} while in the stack tab {"depth", "x", "y"}. The empty label in the image tab can be confusing as well. So, before you do away with the stack tab, please give the dimension a label different from "". May I suggest "z"? :)

Obi-Wan avatar Feb 28 '22 10:02 Obi-Wan