boost::gil::ChannelConvertibleConcept
A channel is convertible to another one if the channel_convert algorithm is defined for the two channels.
Synopsis
Declared in <boost/gil/concepts/channel.hpp>
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&); };