aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/utils/rotate.py
Commit message (Collapse)AuthorAgeFilesLines
* Add utils/rotate.py: Implement basic image rotationAaron LI2016-10-261-0/+131
The "rotate_center()" function rotates a gray-scale image by a given angle about its center, using the area mapping method or simple nearest neighbor. This function is `numba` JIT-optimized, and can replace the `scipy.ndimage.rotate()` function.