Skip to content

extra options for STIR.AcquisitionData.create_uniform_image #1383

@KrisThielemans

Description

@KrisThielemans

At the moment, we have

def create_uniform_image(self, value=0, xy=None):

It would be better to fully expose the relevant STIR functionality for zooming etc. For SPECT, we currently have to do something like this

image = acq_data.create_uniform_image()
image=image.zoom_image(zooms=(.5,1,1), size=((image.shape[0]+1)//2, -1, -1))

(i.e. double the z-voxel size, halve the number of z-voxels)

It could be easy enough to add the zooms and size options, and deprecate (but still support) xy_size?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions