[go: up one dir, main page]

Module image

Module image 

Source
Expand description

Image-related utilities.

Enums§

ImageConstructionError
Error returned when trying to interpret a tensor as an image.
ImageConversionError
Errors when converting images from the image crate to an archetypes::Image.
ImageKind
The kind of image data, either color, segmentation, or depth image.
ImageLoadError
Errors when loading image files.
YuvMatrixCoefficients
Yuv matrix coefficients that determine how a YUV image is meant to be converted to RGB.

Traits§

ImageChannelType
Types that implement this can be used as image channel types.

Functions§

blob_and_datatype_from_tensor
Converts it to what is useful for the image API.
blob_and_format_from_tiff
Decode a TIFF byte slice into a Blob and an ImageFormat.
cast_to_u8
Reinterpret POD (plain-old-data) types to u8.
find_non_empty_dim_indices
Returns the indices of an appropriate set of dimensions.
rgb_from_yuv
Returns sRGB from YUV color.