Skip to content

Image version 0.60.0

Choose a tag to compare

@kipcole9 kipcole9 released this 01 Jul 21:18
· 66 commits to main since this release

Breaking Changes

  • Image.Math.maxpos/2 is renamed to Image.Math.top_n/2 to better reflect its intent. The keyword options argument is also replaced with a simple integer argument n.

  • Image.Math.minpos/2 is renamed to Image.Math.bottom_n/2 to better reflect its intent. The keyword options argument is also replaced with a simple integer argument n.

  • The return value from Image.Math.top_n/2 and Image.Math.bottom_n/2 have changed. They will now return the form {max, max_x, max_y, [{x_max_1, y_max_1}, {x_max_2, y_max_2}, ...]}.

Bug Fixes

  • Improve the error messages for Image.crop/5 when the crop bounding box is invalid. Closes #190.

Enhancements

  • Add Image.band_and/1, Image.band_or/1 and Image.band_xor/1 to apply the appropriate boolean operation across the bands of an image.

  • Add new (and different) Image.Math.maxpos/2 and Image.Math.minpos/2 which return only coordinates whose values match the image maximum or minimum.