ChannelConvertibleConcept Struct Template Reference
[Concepts]

#include <gil_concept.hpp>

List of all members.


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

Public Member Functions

void constraints ()

Public Attributes

SrcChannel src
DstChannel dst

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

Generated on Sat May 2 13:50:17 2009 for Generic Image Library by  doxygen 1.5.6