Repository navigation
Releases: isarandi/boxlib
Releases · isarandi/boxlib
Release list
v0.4.0
What's New
- Fixed
crop_imageproducing wrong output for boxes lying entirely outside the image crop_imagenow supports grayscale (2D) images and rounds half-pixels consistentlycrop_imagewithpad=Falsenow returns only the part of the box inside the imageiouandgiouno longer return NaN for degenerate (zero-area) boxesiouandgiounow compute in double precision, fixing errors at very large coordinatesareano longer overflows for large integer boxesintersection_verticalnow returns zero height for vertically disjoint boxescontainsnow accepts plain lists as boxesfullnow validates that exactly one ofimshape/imsizeis given and returns float32random_partial_boxis now part of the public API- Expanded test suite with regression tests for all of the above
- Added CI running the tests on Python 3.9-3.13
v0.3.3
v0.3.1
v0.3.0
What's New
- Added
inscribed_ellipse_points()for sampling points on and inside the ellipse inscribed in a bounding box. Useful for reprojecting boxes through nonlinear transformations (e.g., lens distortion). - Added unit tests covering all exported functions.