TuttleOFX  1
channel_algorithm.hpp File Reference

Channel algorithms. More...

#include <boost/gil/gil_config.hpp>
#include <boost/gil/channel.hpp>
#include <boost/mpl/less.hpp>
#include <boost/mpl/integral_c.hpp>
#include <boost/mpl/greater.hpp>
#include <boost/type_traits.hpp>
Include dependency graph for channel_algorithm.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  boost::gil::detail::unsigned_integral_max_value< UnsignedIntegralChannel >
struct  boost::gil::detail::unsigned_integral_max_value< uint8_t >
struct  boost::gil::detail::unsigned_integral_max_value< uint16_t >
struct  boost::gil::detail::unsigned_integral_max_value< uint32_t >
struct  boost::gil::detail::unsigned_integral_max_value< packed_channel_value< K > >
struct  boost::gil::detail::unsigned_integral_num_bits< UnsignedIntegralChannel >
struct  boost::gil::detail::unsigned_integral_num_bits< packed_channel_value< K > >
struct  boost::gil::channel_converter_unsigned< SrcChannelV, DstChannelV >
struct  boost::gil::channel_converter_unsigned< T, T >
 Converting a channel to itself - identity operation. More...
struct  boost::gil::detail::channel_converter_unsigned_impl< SrcChannelV, DstChannelV, SrcIsIntegral, DstIsIntegral >
 This is the default implementation. Performance specializatons are provided. More...
struct  boost::gil::detail::channel_converter_unsigned_impl< SrcChannelV, DstChannelV, true, true >
struct  boost::gil::detail::channel_converter_unsigned_integral< SrcChannelV, DstChannelV, true >
struct  boost::gil::detail::channel_converter_unsigned_integral< SrcChannelV, DstChannelV, false >
struct  boost::gil::detail::channel_converter_unsigned_integral_impl< SrcChannelV, DstChannelV, true, true >
struct  boost::gil::detail::channel_converter_unsigned_integral_impl< SrcChannelV, DstChannelV, false, true >
struct  boost::gil::detail::channel_converter_unsigned_integral_impl< uintmax_t, DstChannelV, false, true >
struct  boost::gil::detail::channel_converter_unsigned_integral_impl< SrcChannelV, DstChannelV, SrcLessThanDst, false >
struct  boost::gil::detail::channel_converter_unsigned_integral_nondivisible< SrcChannelV, DstChannelV, true, false >
struct  boost::gil::detail::channel_converter_unsigned_integral_nondivisible< SrcChannelV, DstChannelV, true, true >
struct  boost::gil::detail::channel_converter_unsigned_integral_nondivisible< SrcChannelV, DstChannelV, false, CannotFit >
struct  boost::gil::channel_converter_unsigned< bits32f, DstChannelV >
struct  boost::gil::channel_converter_unsigned< SrcChannelV, bits32f >
struct  boost::gil::channel_converter_unsigned< bits32f, bits32f >
struct  boost::gil::channel_converter_unsigned< bits32, bits32f >
 32 bit <-> float channel conversion More...
struct  boost::gil::channel_converter_unsigned< bits32f, bits32 >
 32 bit <-> float channel conversion More...
struct  boost::gil::detail::channel_convert_to_unsigned< ChannelValue >
struct  boost::gil::detail::channel_convert_to_unsigned< bits8s >
struct  boost::gil::detail::channel_convert_to_unsigned< bits16s >
struct  boost::gil::detail::channel_convert_to_unsigned< bits32s >
struct  boost::gil::detail::channel_convert_from_unsigned< ChannelValue >
struct  boost::gil::detail::channel_convert_from_unsigned< bits8s >
struct  boost::gil::detail::channel_convert_from_unsigned< bits16s >
struct  boost::gil::detail::channel_convert_from_unsigned< bits32s >
struct  boost::gil::channel_converter< SrcChannelV, DstChannelV >
 A unary function object converting between channel types. More...
struct  boost::gil::default_channel_converter
 Same as channel_converter, except it takes the destination channel by reference, which allows us to move the templates from the class level to the method level. This is important when invoking it on heterogeneous pixels. More...
struct  boost::gil::channel_multiplier_unsigned< ChannelValue >
 This is the default implementation. Performance specializatons are provided. More...
struct  boost::gil::channel_multiplier_unsigned< bits8 >
 Specialization of channel_multiply for 8-bit unsigned channels. More...
struct  boost::gil::channel_multiplier_unsigned< bits16 >
 Specialization of channel_multiply for 16-bit unsigned channels. More...
struct  boost::gil::channel_multiplier_unsigned< bits32f >
 Specialization of channel_multiply for float 0..1 channels. More...
struct  boost::gil::channel_multiplier< ChannelValue >
 A function object to multiply two channels. result = a * b / max_value. More...

Namespaces

namespace  boost
namespace  boost::gil
namespace  boost::gil::detail

Functions

template<typename DstChannel , typename SrcChannel >
channel_traits< DstChannel >
::value_type 
boost::gil::channel_convert (const SrcChannel &src)
 Converting from one channel type to another.
uint32_t boost::gil::detail::div255 (uint32_t in)
uint32_t boost::gil::detail::div32768 (uint32_t in)
template<typename Channel >
channel_traits< Channel >
::value_type 
boost::gil::channel_multiply (Channel a, Channel b)
 A function multiplying two channels. result = a * b / max_value.
template<typename Channel >
channel_traits< Channel >
::value_type 
boost::gil::channel_invert (Channel x)
 Default implementation. Provide overloads for performance.

Detailed Description

Channel algorithms.

Author:
Lubomir Bourdev and Hailin Jin
Adobe Systems Incorporated
Date:
2005-2007
Last updated on May 6, 2007

Definitions of standard GIL 8-bit, 16-bit, 32-bit channels

Definition in file channel_algorithm.hpp.