Skip to content

ImageGeometry's get_slice ignores input parameters #2217

@lauramurgatroyd

Description

@lauramurgatroyd

Description

Image geometry's get_slice method ignores the slice you have given! This is the case on all axes (channel, horizontals, vertical)

Image geometry's get_slice method returns a 2D shape if slicing on 3D data

I propose to update the Image Geometry slice to:

  • Get the slices at the correct locations on each axis
  • Ensure voxel size in z remains correct

Environment

import cil, sys
print(cil.version.version, cil.version.commit_hash, sys.version, sys.platform)

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

Status

Blocked

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions