7 releases (4 breaking)

0.5.1 Sep 5, 2023
0.5.0 Jul 12, 2023
0.4.0 Feb 17, 2022
0.3.0 Nov 24, 2021
0.1.0 Mar 24, 2019

#521 in Images

Download history 150/week @ 2024-09-18 167/week @ 2024-09-25 328/week @ 2024-10-02 153/week @ 2024-10-09 138/week @ 2024-10-16 160/week @ 2024-10-23 113/week @ 2024-10-30 58/week @ 2024-11-06 146/week @ 2024-11-13 129/week @ 2024-11-20 69/week @ 2024-11-27 176/week @ 2024-12-04 175/week @ 2024-12-11 108/week @ 2024-12-18 37/week @ 2024-12-25 123/week @ 2025-01-01

480 downloads per month
Used in ndarray-conv

MIT/Apache

750KB
3.5K SLoC

ndarray-vision

Build Status License:MIT Coverage Status

This project is a computer vision library built on top of ndarray. This project is a work in progress. Basic image encoding/decoding and processing are currently implemented.

See the examples and tests for basic usage.

Features

  • Conversions between Grayscale, RGB, HSV and CIEXYZ
  • Image convolutions and common kernels (box linear, gaussian, laplace)
  • Median filtering
  • Sobel operator
  • Canny Edge Detection
  • Histogram Equalisation
  • Thresholding (basic, mean, Otsu)
  • Encoding and decoding PPM (binary or plaintext)

Performance

Not a lot of work has been put towards performance yet but a rudimentary benchmarking project exists here for comparative benchmarks against other image processing libraries in rust.

Dependencies

~3–13MB
~177K SLoC