Added * The `bg_color` arg to `draw_header_text` * Implemented `kwimage.warp_image` * The `kwimage.Color.forimage` function is now public * Basic support for polygon interpolation.
Fixed * Issue in Detections.draw where "cids" was not respected. * Minor fixes in warp projective. * `nodata_checkerboard` now works better with uint8 data.
Changed * Enhanced the checkerboard function, which can now take "on" and "off" string colors and return different dtypes.
0.9.5
Added * `kwimage.warp_projective` * `kwimage.connected_components` * `kwimage.Boxes.resize` for setting the width/height of a box. * `kwimage.Polygon.circle` can now be constructed as an ellipse by specifying radii as a tuple
Fixed * Passing single and multiple colors now works correctly for `Points.draw_on`. * Fixed morphology when kernel was 0
0.9.4
Added * Added "resize" option to `stack_images_grid` * The `Coords` object now implements `__array__`. * The `about` parameter for `Polygon` transformations has been expanded to include codes: "top,left", "top,right", etc... * A `from_text` method for masks.
Fixed * Fixed issue in copy methods of polygon and coords
0.9.3
Fixed * Issue where `Mask.to_multi_polygon` would break if the underlying data had dtype bool. * Minor issues in heatmap (other than the giant issue that is that class)
Added * Support for decomposing projective transforms * Stack images now can do automatic casting between uint255 and float01
Changed * In `warp_affine` change behavior so `border_value` scalars are transformed to tuples instead of the current opencv behavior where other channels are zeroed.
0.9.2
Added * Add `wrap` kwarg to `Boxes.from_slice`
0.9.1
Added: * `dsize` arg to `grab_test_image_fpath`
Fixed: * `kwimage.Affine.coerce` now correctly respects "about"
Changed: * The `kwimage.imread` gdal backend `nodata` argument is deprecated, and should now be specified as `nodata_method` to indicate how to handle nodata. Specific nodata values that are not embedded in image metadata should be handled outside of this function.