Expand description
Image-related utilities.
Enums§
- Image
Construction Error - Error returned when trying to interpret a tensor as an image.
- Image
Conversion Error - Errors when converting images from the
imagecrate to anarchetypes::Image. - Image
Kind - The kind of image data, either color, segmentation, or depth image.
- Image
Load Error - Errors when loading image files.
- YuvMatrix
Coefficients - Yuv matrix coefficients that determine how a YUV image is meant to be converted to RGB.
Traits§
- Image
Channel Type - 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
Bloband anImageFormat. - 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.