SIRF
SIRF copied to clipboard
Zoom image from template method for ImageData
Changes in this pull request
Added method for ImageData to zoom image using geometrical information from a template image
Testing performed
- Compared
ImageDatazoomed usingzoom_image_from_template()andzoom_image()with manually calculated arguments (although dimensions will be different). - Compared with
zoom_imageusing 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.