Skip to content

Handling of X and Y axes of an image by IJM.show() #16

Open
@kouichi-c-nakamura

Description

@kouichi-c-nakamura

Following discussion in here, I'd like to raise an issue about IJM.show().

IJM.show('I') or net.imagej.matlab.ImageJMATLABCommands.show('I') is a great way to transfer array data from MATLAB workspace to ImageJ, thanks to ImageJ-MATLAB.

However, I’ve noticed that X and Y of axes of images are flipped over between MATLAB and ImageJ, which is not smart at all.

MATLAB's permute can manipulate data to avoid this problem. But, because it apparently needs to copy data internally, it requires double memory, which is not ideal. An imglib2 /ImageJ2 -style permute (which re-indexes but does not copy) might be a better solution.

This issue is also related, but more specifically about multidimensional images.

#17

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions