Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Resample image volumes #80

Closed
bennyrowland opened this issue Aug 5, 2017 · 0 comments
Closed

ENH: Resample image volumes #80

bennyrowland opened this issue Aug 5, 2017 · 0 comments

Comments

@bennyrowland
Copy link
Member

It should be possible to derive a new ImageBase from an existing ImageBase object by supplying the coordinate system, size and shape.

bennyrowland added a commit that referenced this issue Aug 5, 2017
* ENH: Added centre() function to ImageBase

* ENH: Overrode centre() in MRSData

MRSData defines the transform position as the centre of the VOI, whereas
ImageBase defines it as the bottom left hand corner. This commit changes
the centre() function for MRSData to reflect this difference.

* ENH: Added resample function for ImageBase

ImageBase now has a resample() function which converts the current
volume to a new coordinate system, defined in terms of the scanner
coordinates.

* BLD: Modified some test tolerances in fitting

Closes #80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant