strand-dynamic-frame

Crates.iostrand-dynamic-frame
lib.rsstrand-dynamic-frame
version0.1.0
created_at2025-07-06 13:13:49.334938+00
updated_at2025-07-06 13:13:49.334938+00
descriptionimages from machine vision cameras used in Strand Camera
homepage
repositoryhttps://github.com/strawlab/strand-braid
max_upload_size
id1740133
size53,122
Andrew Straw (astraw)

documentation

README

strand-dynamic-frame

Images from machine vision cameras used in Strand Camera.

Documentation Crates.io

Building on the machine_vision_formats crate which provides compile-time pixel formats, this crate provides types for images whose pixel format is determined at runtime. This allows for flexibility in handling images data whose pixel format is known only dynamically, such as when reading an image from disk.

There are two types here:

  • DynamicFrame: A borrowed view of an image with a dynamic pixel format.
  • DynamicFrameOwned: An owned version of DynamicFrame that contains its own buffer.

When compiled with the convert-image feature, this crate also provides conversion methods to convert the dynamic frame into a static pixel format using the convert_image crate.

Building the documentation

Build and open the docs with:

RUSTDOCFLAGS="--cfg docsrs -D warnings" cargo +nightly  doc --features convert-image --open

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 0

cargo fmt