Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::gil::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 <gil_concept.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&);
};

Member Function Documentation

Member Data Documentation

template<typename SrcChannel , typename DstChannel >
DstChannel boost::gil::ChannelConvertibleConcept< SrcChannel, DstChannel >::dst
template<typename SrcChannel , typename DstChannel >
SrcChannel boost::gil::ChannelConvertibleConcept< SrcChannel, DstChannel >::src

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