Boost GIL


Public Member Functions | Public Attributes | List of all members
ChannelConvertibleConcept< SrcChannel, DstChannel > Struct Template Reference

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

#include <channel.hpp>

Public Member Functions

void constraints ()
 

Public Attributes

SrcChannel src
 
DstChannel dst
 

Detailed Description

template<typename SrcChannel, typename DstChannel>
struct boost::gil::ChannelConvertibleConcept< SrcChannel, DstChannel >

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

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&); };


The documentation for this struct was generated from the following file: