Module specific_channels
How to read arbitrary but specific selection of arbitrary channels. This is not a zero-cost abstraction.
Structs
- CollectPixels Specifies how to collect all the specified channels into a number of individual pixels.
- OptionalSampleReader Reader for a single channel. Generic over the concrete sample type (f16, f32, u32). Can also skip reading a channel if it could not be found in the image.
-
ReadOptionalChannel
Used to read another specific channel from an image.
Contains the previous
ReadChannelsobjects. -
ReadRequiredChannel
Used to read another specific channel from an image.
Contains the previous
ReadChannelsobjects. - SampleReader Reader for a single channel. Generic over the concrete sample type (f16, f32, u32).
- SpecificChannelsReader The reader that holds the temporary data that is required to read some specified channels.
Traits
- ReadSpecificChannel Can be attached one more channel reader.
- RecursivePixelReader A reader containing sub-readers for reading the pixel content of an image.
Type Aliases
-
ReadZeroChannels
Read zero channels from an image. Call
with_named_channelon this object to read as many channels as desired.