SIRF icon indicating copy to clipboard operation
SIRF copied to clipboard

Zoom image from template method for ImageData

Open samdporter opened this issue 1 year ago • 0 comments

Changes in this pull request

Added method for ImageData to zoom image using geometrical information from a template image

Testing performed

  • Compared ImageData zoomed using zoom_image_from_template() and zoom_image() with manually calculated arguments (although dimensions will be different).
  • Compared with zoom_image using stir python

Related issues

Checklist before requesting a review

  • [x] I have performed a self-review of my code
  • [ ] I have added docstrings/doxygen in line with the guidance in the developer guide
  • [ ] I have implemented unit tests that cover any new or modified functionality
  • [x] The code builds and runs on my machine
  • [ ] CHANGES.md has been updated with any functionality change

Contribution Notes

Please read and adhere to the contribution guidelines.

Please tick the following:

  • [x] The content of this Pull Request (the Contribution) is intentionally submitted for inclusion in SIRF (the Work) under the terms and conditions of the Apache-2.0 License.

samdporter avatar Aug 21 '24 10:08 samdporter