Skip to content

Releases: isarandi/boxlib

v0.4.0

Choose a tag to compare

@isarandi isarandi released this 21 Jul 12:19

What's New

  • Fixed crop_image producing wrong output for boxes lying entirely outside the image
  • crop_image now supports grayscale (2D) images and rounds half-pixels consistently
  • crop_image with pad=False now returns only the part of the box inside the image
  • iou and giou no longer return NaN for degenerate (zero-area) boxes
  • iou and giou now compute in double precision, fixing errors at very large coordinates
  • area no longer overflows for large integer boxes
  • intersection_vertical now returns zero height for vertically disjoint boxes
  • contains now accepts plain lists as boxes
  • full now validates that exactly one of imshape/imsize is given and returns float32
  • random_partial_box is 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

Choose a tag to compare

@isarandi isarandi released this 12 Jan 00:12

What's New

  • Improved documentation

v0.3.1

Choose a tag to compare

@isarandi isarandi released this 11 Jan 23:32

What's New

  • Improved README with usage examples and complete function reference
  • Added Read the Docs configuration for hosted documentation

v0.3.0

Choose a tag to compare

@isarandi isarandi released this 11 Jan 23:15

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.

v0.2.1

Choose a tag to compare

@isarandi isarandi released this 21 May 13:48

Removed conda packaging support, preparing for PyPI release.