pixel_algorithm.hpp File Reference


Detailed Description

pixel related algorithms

Author:
Lubomir Bourdev and Hailin Jin
Adobe Systems Incorporated
Date:
2005-2006
Last updated on September 28, 2006

#include <algorithm>
#include "gil_config.hpp"
#include "gil_concept.hpp"

Go to the source code of this file.


Namespaces

namespace  detail

Classes

struct  channel_recursion
 compile-time recursion for per-channel operations of pixels More...
struct  channel_recursion< 0 >
 termination condition of the compile-time recursion for channel operations on a pixel More...
struct  min_max_recur
 compile-time recursion for min/max channel More...
struct  min_max_recur< 1 >
 termination condition of the compile-time recursion for min/max channel More...

Pixel Global Functions

Functions defined for any class that models PixelConcept

template<typename P>
GIL_FORCEINLINE P::channel_t max_channel (const P &p)
template<typename P>
GIL_FORCEINLINE P::channel_t min_channel (const P &p)
template<typename T>
channel_max_value ()
 returns the alpha channel value for a pixel. Default returns 100% opaque. Overload for color spaces containing alpha
template<typename P>
GIL_FORCEINLINE P::channel_t alpha (const P &p)
template<typename P1, typename P2>
GIL_FORCEINLINE bool equal_channels (const P1 &p1, const P2 &p2)
template<typename Src, typename Dst>
GIL_FORCEINLINE void copy_channels (const Src &src, Dst &dst)
template<typename Src, typename Dst>
GIL_FORCEINLINE void copy_channels (const Src &src, const Dst &dst)
template<typename P, typename V>
GIL_FORCEINLINE void fill_channels (P &p, const V &v)
template<typename P, typename V>
GIL_FORCEINLINE void fill_channels (const P &p, const V &v)
template<typename P1, typename Op>
GIL_FORCEINLINE Op generate_channels (P1 &dst, Op op)
template<typename P1, typename Op>
GIL_FORCEINLINE Op generate_channels (const P1 &dst, Op op)
template<typename Src, typename Dst, typename Op>
GIL_FORCEINLINE Op transform_channels (Src &p2, Dst &dst, Op op)
template<typename Src, typename Dst, typename Op>
GIL_FORCEINLINE Op transform_channels (Src &p2, const Dst &dst, Op op)
template<typename Src, typename Dst, typename Op>
GIL_FORCEINLINE Op transform_channels (const Src &p2, Dst &dst, Op op)
template<typename Src, typename Dst, typename Op>
GIL_FORCEINLINE Op transform_channels (const Src &p2, const Dst &dst, Op op)
template<typename P2, typename P3, typename Dst, typename Op>
GIL_FORCEINLINE Op transform_channels (P2 &p2, P3 &p3, Dst &dst, Op op)
template<typename P2, typename P3, typename Dst, typename Op>
GIL_FORCEINLINE Op transform_channels (P2 &p2, P3 &p3, const Dst &dst, Op op)
template<typename P2, typename P3, typename Dst, typename Op>
GIL_FORCEINLINE Op transform_channels (P2 &p2, const P3 &p3, Dst &dst, Op op)
template<typename P2, typename P3, typename Dst, typename Op>
GIL_FORCEINLINE Op transform_channels (P2 &p2, const P3 &p3, const Dst &dst, Op op)
template<typename P2, typename P3, typename Dst, typename Op>
GIL_FORCEINLINE Op transform_channels (const P2 &p2, P3 &p3, Dst &dst, Op op)
template<typename P2, typename P3, typename Dst, typename Op>
GIL_FORCEINLINE Op transform_channels (const P2 &p2, P3 &p3, const Dst &dst, Op op)
template<typename P2, typename P3, typename Dst, typename Op>
GIL_FORCEINLINE Op transform_channels (const P2 &p2, const P3 &p3, Dst &dst, Op op)
template<typename P2, typename P3, typename Dst, typename Op>
GIL_FORCEINLINE Op transform_channels (const P2 &p2, const P3 &p3, const Dst &dst, Op op)
template<typename P1, typename Op>
GIL_FORCEINLINE Op for_each_channel (P1 &p1, Op op)
template<typename P1, typename Op>
GIL_FORCEINLINE Op for_each_channel (const P1 &p1, Op op)
template<typename P1, typename P2, typename Op>
GIL_FORCEINLINE Op for_each_channel (P1 &p1, P2 &p2, Op op)
template<typename P1, typename P2, typename Op>
GIL_FORCEINLINE Op for_each_channel (P1 &p1, const P2 &p2, Op op)
template<typename P1, typename P2, typename Op>
GIL_FORCEINLINE Op for_each_channel (const P1 &p1, P2 &p2, Op op)
template<typename P1, typename P2, typename Op>
GIL_FORCEINLINE Op for_each_channel (const P1 &p1, const P2 &p2, Op op)
template<typename P1, typename P2, typename P3, typename Op>
GIL_FORCEINLINE Op for_each_channel (P1 &p1, P2 &p2, P3 &p3, Op op)
template<typename P1, typename P2, typename P3, typename Op>
GIL_FORCEINLINE Op for_each_channel (P1 &p1, P2 &p2, const P3 &p3, Op op)
template<typename P1, typename P2, typename P3, typename Op>
GIL_FORCEINLINE Op for_each_channel (P1 &p1, const P2 &p2, P3 &p3, Op op)
template<typename P1, typename P2, typename P3, typename Op>
GIL_FORCEINLINE Op for_each_channel (P1 &p1, const P2 &p2, const P3 &p3, Op op)
template<typename P1, typename P2, typename P3, typename Op>
GIL_FORCEINLINE Op for_each_channel (const P1 &p1, P2 &p2, P3 &p3, Op op)
template<typename P1, typename P2, typename P3, typename Op>
GIL_FORCEINLINE Op for_each_channel (const P1 &p1, P2 &p2, const P3 &p3, Op op)
template<typename P1, typename P2, typename P3, typename Op>
GIL_FORCEINLINE Op for_each_channel (const P1 &p1, const P2 &p2, P3 &p3, Op op)
template<typename P1, typename P2, typename P3, typename Op>
GIL_FORCEINLINE Op for_each_channel (const P1 &p1, const P2 &p2, const P3 &p3, Op op)

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