Skip to content

Should we permute axes when converting from tiff/mat? #31

@balbasty

Description

@balbasty

Currently we load the array as is (using tifffile or the matlab loader) and save them in the same order in the zarr.
However, the dimensions in the zarr are named in reverse ([z, y, x]), whereas the data in these input matlab or tiff must often be interpreted as [x, y] or [x, y, z]. Also, in the OCT converter, we stack slices along the last zarr dimension (i.e. "x"), whereas "z" is more natural.

Should we permute the input arrays so that their natural ["x", "y", "z"] axes become ["z", "y", "x"] ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions