#image #vision #image-processing

ndarray-vision

A computer vision library built on top of ndarray

5 releases (3 breaking)

0.4.0 Feb 17, 2022
0.3.0 Nov 24, 2021
0.2.0 Jun 6, 2020
0.1.1 Jul 31, 2019
0.1.0 Mar 24, 2019

#281 in Images

37 downloads per month

MIT/Apache

745KB
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

~2–12MB
~172K SLoC