#ndarray #image #conversion

ndarray-image

Zero-copy conversion between ndarray and image crates

5 unstable releases

0.3.0 Jan 14, 2021
0.2.1 Apr 2, 2020
0.2.0 Mar 29, 2020
0.1.1 Aug 21, 2019
0.1.0 Aug 18, 2019

#30 in #ndarray

Download history 36/week @ 2021-09-27 21/week @ 2021-10-04 24/week @ 2021-10-11 14/week @ 2021-10-18 24/week @ 2021-10-25 47/week @ 2021-11-01 22/week @ 2021-11-08 5/week @ 2021-11-15 26/week @ 2021-11-22 35/week @ 2021-11-29 27/week @ 2021-12-06 32/week @ 2021-12-13 3/week @ 2021-12-20 3/week @ 2021-12-27 21/week @ 2022-01-03 32/week @ 2022-01-10

62 downloads per month
Used in tensorrt-rs

MIT license

16KB
328 lines

ndarray-image

Crates.io MIT/Apache docs.rs LoC

Allows conversion between ndarray's types and image's types

This crate allows zero-copy conversion between ArrayView from ndarray and ImageBuffer from image.

Output of red_put example

red_put

Dependencies

~2.5MB
~49K SLoC