boost::gil::ChannelConvertibleConcept

A channel is convertible to another one if the channel_convert algorithm is defined for the two channels.

Synopsis

template<
    typename SrcChannel,
    typename DstChannel>
struct ChannelConvertibleConcept;

Description

Convertibility is non‐symmetric and implies that one channel can be converted to another. Conversion is explicit and often lossy operation.

concept ChannelConvertibleConcept<ChannelConcept SrcChannel, ChannelValueConcept DstChannel> { DstChannel channel_convert(const SrcChannel&); };

Member Functions

Data Members

Name

dst

src

Created with MrDocs