#image-processing #graphics #vision #detect #image

ndarray-vision

A computer vision library built on top of ndarray

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

#329 in Robotics

Download history 194/week @ 2024-12-06 159/week @ 2024-12-13 73/week @ 2024-12-20 52/week @ 2024-12-27 101/week @ 2025-01-03 96/week @ 2025-01-10 131/week @ 2025-01-17 237/week @ 2025-01-24 239/week @ 2025-01-31 132/week @ 2025-02-07 148/week @ 2025-02-14 147/week @ 2025-02-21 176/week @ 2025-02-28 251/week @ 2025-03-07 319/week @ 2025-03-14 276/week @ 2025-03-21

1,052 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
~181K SLoC