Image version 0.60.0
Breaking Changes
-
Image.Math.maxpos/2is renamed toImage.Math.top_n/2to better reflect its intent. The keyword options argument is also replaced with a simple integer argumentn. -
Image.Math.minpos/2is renamed toImage.Math.bottom_n/2to better reflect its intent. The keyword options argument is also replaced with a simple integer argumentn. -
The return value from
Image.Math.top_n/2andImage.Math.bottom_n/2have 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/5when the crop bounding box is invalid. Closes #190.
Enhancements
-
Add
Image.band_and/1,Image.band_or/1andImage.band_xor/1to apply the appropriate boolean operation across the bands of an image. -
Add new (and different)
Image.Math.maxpos/2andImage.Math.minpos/2which return only coordinates whose values match the image maximum or minimum.