Adobe Systems, Inc.

Channel
[GIL Models]

Channel and channel operations. More...

Classes

struct  channel_traits< T >
 defines properties of channels More...
struct  channel_traits< const T & >
struct  channel_traits< const T >
struct  channel_traits< T & >

channel types

typedef boost::uint8_t bits8

channel_convert

Converting from one channel type to another

template<typename dstT, typename srcT>
dstT _channel_convert (srcT val)
template<>
bits16 _channel_convert< bits16 > (bits8 b)
template<>
bits16 _channel_convert< bits16 > (bits16 s)
template<>
bits16 _channel_convert< bits16 > (bits32f f)
template<>
bits16 _channel_convert< bits16 > (bits64f d)
template<>
bits32f _channel_convert< bits32f > (bits8 b)
template<>
bits32f _channel_convert< bits32f > (bits16 s)
template<>
bits32f _channel_convert< bits32f > (bits32f f)
template<>
bits32f _channel_convert< bits32f > (bits64f d)
template<>
bits64f _channel_convert< bits64f > (bits8 b)
template<>
bits64f _channel_convert< bits64f > (bits16 s)
template<>
bits64f _channel_convert< bits64f > (bits32f f)
template<>
bits64f _channel_convert< bits64f > (bits64f d)
template<>
bits8 _channel_convert< bits8 > (bits8 b)
template<>
bits8 _channel_convert< bits8 > (bits16 s)
template<>
bits8 _channel_convert< bits8 > (bits32f f)
template<>
bits8 _channel_convert< bits8 > (bits64f d)
template<typename dstT, typename srcT>
channel_traits< dstT >::value_type channel_convert (srcT val)

channel_invert

returns "1 - channel"

template<typename T>
channel_invert (T x)

channel_min_value, channel_max_value

Minimum and maximum value of a channel

template<typename T>
channel_min_value ()

channel_multiply

Multiplying channel values of the same type

template<typename T>
channel_multiply (T a, T b)

Detailed Description


Typedef Documentation

typedef boost::uint8_t bits8
 

8-bit channel type

Definition at line 34 of file channel.hpp.


Function Documentation

template<typename dstT, typename srcT>
dstT _channel_convert srcT  val  ) 
 

Generic method for unsupported channel type (triggers link error if used)

Copyright © 2006 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google