Skip to content

v0.2.0

Compare
Choose a tag to compare
@tiffany1618 tiffany1618 released this 26 Feb 22:43
· 54 commits to main since this release
81d1603

Structural Changes

  • Separated functions in previous core module into separate modules
  • Added multithreading support for some functions (indicated by the _par suffix in the function name) via
    rayon

Modifications

  • image::Image::new() renamed to image::Image::from_slice()
  • filter::median_filter() and filter::alpha_trimmed_mean_filter() re-implemented using a faster algorithm based on
    Ben Weiss' fast median filtering algorithm

New Stuff

  • image::Image::from_vec()
  • image::Image::from_vec_of_vec()
  • image::Image::from_vec_of_slice()
  • image::Image::get_pixel_unchecked()
  • image::Image::get_pixel_mut_unchecked()
  • util::get_2d_coords()
  • util::math::cubic_weighting_fn()
  • util::math::clamp_zero()
  • util::math::sinc_norm()
  • util::math::lanczos_kernel()
  • util::math::separate_kernel()
  • convert::scale_channels()
  • enums::Scale::{Bicubic, Lanczos}
  • From trait implementations between common Image<T> types
  • transform::scale() now supports bicubic interpolation and Lanczos resampling methods for image scaling

Bug Fixes

  • Fixed bug in filter::derivative_mask()