Crates.io | strand-dynamic-frame |
lib.rs | strand-dynamic-frame |
version | 0.1.0 |
created_at | 2025-07-06 13:13:49.334938+00 |
updated_at | 2025-07-06 13:13:49.334938+00 |
description | images from machine vision cameras used in Strand Camera |
homepage | |
repository | https://github.com/strawlab/strand-braid |
max_upload_size | |
id | 1740133 |
size | 53,122 |
Images from machine vision cameras used in Strand Camera.
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.
Build and open the docs with:
RUSTDOCFLAGS="--cfg docsrs -D warnings" cargo +nightly doc --features convert-image --open
Licensed under either of
at your option.
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.