aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/utils/transform.py
Commit message (Collapse)AuthorAgeFilesLines
* utils/transform/circle2ellipse: skip rotation if it's NoneAaron LI2017-10-231-4/+5
|
* Fix the warning on scipy.ndimage.zoom output shape calculationAaron LI2017-08-141-1/+4
| | | | | | | | | scipy.ndimage.zoom calculate the output/zoomed image shape with round(), while the old versions use int() instead. When the two calculations are different, a warning is raised. This commit fixes the calculation mismatch. Signed-off-by: Aaron LI <aly@aaronly.me>
* utils/transform.py: Update comment and minor cleanupsAaron LI2017-08-121-5/+3
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* utils/transform.py: Add function "circle2ellipse()"Aaron LI2017-07-181-0/+40
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* Rename utils/rotate.py to utils/transform.pyAaron LI2017-07-181-0/+143
Signed-off-by: Aaron LI <aly@aaronly.me>