-
-
Notifications
You must be signed in to change notification settings - Fork 723
Need keep_axis in itk.size() #2006
Copy link
Copy link
Closed
Labels
type:EnhancementImprovement of existing methods or implementationImprovement of existing methods or implementation
Description
Description
I used itk.array_view_from_image(img, keep_axes=False) to load array data, but itk.size(img) gives reverse order of shape.
For example:
data = itk.array_view_from_image(img, keep_axes=False)
shape = list(itk.size(img))
data.shape: (64, 128, 96)
shape: [96, 128, 64]Expected behavior
Need to add keep_axes=False for itk.size.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type:EnhancementImprovement of existing methods or implementationImprovement of existing methods or implementation