machine-vision-formats

Documentation Crates.io

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:

This crate is used extensively in Strand Camera.

Potential further improvements

The list of pixel formats variants is currently limited rather limited. Please submit an issue or, better, pull request for any additions needed.

We could also address the question of how endian-ness and packed-ness are handled. Currently, these are not specified.

See also

Test compilation with all feature variants

cargo build
cargo +nightly build --no-default-features --features "alloc"
cargo +nightly build --no-default-features

Code of conduct

Anyone who interacts with this software in any space, including but not limited to this GitHub repository, must follow our code of conduct.

License

Licensed under either of these: