#image-processing #computer-vision #graphics

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

#561 in Images

Download history 139/week @ 2025-09-01 145/week @ 2025-09-08 199/week @ 2025-09-15 140/week @ 2025-09-22 155/week @ 2025-09-29 126/week @ 2025-10-06 119/week @ 2025-10-13 148/week @ 2025-10-20 246/week @ 2025-10-27 489/week @ 2025-11-03 171/week @ 2025-11-10 208/week @ 2025-11-17 182/week @ 2025-11-24 176/week @ 2025-12-01 189/week @ 2025-12-08 16/week @ 2025-12-15

569 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