Crate machine_vision_formats[][src]

Expand description

Type definitions for working with machine vision cameras.

This crate aims to be a lowest common denominator for working with images from machine vision cameras from companies such as Basler, FLIR, and AVT.

Additionally several traits are defined to describe image data:

  • ImageData defines the basics, such as image dimensions and the data buffer.
  • ImageMutData is implemented for images with mutable data.
  • Stride is implemented for images with strided data (i.e. each image row is encoded with exactly the same number of bytes, which may including padding).

This crate is used extensively in Strand Camera.

Re-exports

pub use pixel_format::PixFmt;
pub use pixel_format::PixelFormat;

Modules

Implementations of specific pixel formats.

Structs

A concrete type which containing image data with pixel format F.

A concrete type with view of mutable image data with pixel format F.

A concrete type with view of image data with pixel format F.

Traits

Can be converted into ImageData.

Can be converted into ImageStride.

An image.

A mutable image.

An image with a stride.

An image which can be moved into Vec<u8>.

An image with a stride which can be moved into Vec<u8>.

An image whose data is stored such that successive rows are a stride apart.