Skip to content

Releases: sunset1995/py360convert

v1.0.1

04 Jan 01:16
1223d15
Compare
Choose a tag to compare

Bug Fixes

  • Fix float16 and float64 handling. By @BrianPugh in #43
  • Fix non-compliant python3.9 type hinting.
  • Fix perspective image resolution.

Full Changelog: v1.0.0...v1.0.1

v1.0.0

02 Jan 16:53
Compare
Choose a tag to compare

This release contains many bug fixes that probably breaks existing code (assuming calling code has mitigations but some of the bugs mentioned below).

Breaking Changes

  • Drop Python <=3.8 support.
  • Fix flipped image in horizon (and dict and list) image mentioned in #11 by @BrianPugh in #28.
    • If you are flipping cube faces in your code, make sure to verify your inputs/outputs as they will have siltently changed!
    • Previously horizon image would look like:
      image
      Now it looks like:
      image
  • All functions should now have expected output dtypes based on their input image dtypes. E.g. if a uint8 image is provided, the returned warped image is now a uint8.
  • Replace assert with appropriate exceptions. AssertionErrors are now either ValueError or TypeError with more helpful messagse. by @BrianPugh in #24
  • The convert360 CLI has been re-done to be more intuitive to use by @BrianPugh in #30.

Bug Fixes (non-breaking)

  • Fix np.bool NumPy v1.20 deprecation error. by @kikefdezl in #20
  • fix e2p() parameter fov_deg for scalar values. Previously the code was just broken and would raise a NameError by @BrianPugh in #25
  • fix wrong variable checked in cube_dict2h in 20c5210.

Features

  • Significant speed ups if opencv is installed. Minor speedup optimizations all around. By @BrianPugh in #38
    • Additional speed ups when processing multiple same-resolution images by caching intermediate calculations. By @swell-d in #40
  • Allow e2c e2p c2e to operate on 2D arrays. by @BrianPugh in #29
  • Type-Hinting by @BrianPugh in #27
  • Add more interpolation modes up to order 5. by @BrianPugh in #31
  • Make the standard py360convert.__version__ available.

Admin/Misc

  • migrate to poetry; use pre-commit; initial linting; add github actions by @BrianPugh in #23
  • remove mutable default in function signature. by @BrianPugh in #26
  • Coordinate system docstrings by @risiair in #13

New Contributors

Full Changelog: v_0.1.0...v1.0.0

First release

23 Jan 07:14
Compare
Choose a tag to compare
v_0.1.0

Complete tutorial and doc