pyimagej icon indicating copy to clipboard operation
pyimagej copied to clipboard

Add dimension re-ordering support to `to_dataset()` method

Open elevans opened this issue 9 months ago • 1 comments

We can do better here and detect what the input image is and take the appropriate steps to re-order the dataset. If you try to re-order an imglib2 image with to_dataset(img, dim_order=['X', 'Y', 'Channel']) only the first two dimensions will be appropriately assigned. All other dimensions are discarded and unknown is assigned as the dimension label.

elevans avatar May 10 '24 19:05 elevans