pixel related algorithms More...
#include <algorithm>#include <boost/config.hpp>#include <boost/type_traits.hpp>#include <boost/utility/enable_if.hpp>#include <boost/mpl/contains.hpp>#include <boost/mpl/at.hpp>#include "gil_config.hpp"#include "gil_concept.hpp"#include "utilities.hpp"Go to the source code of this file.
Classes | |
| struct | size< ColorBase > |
| Returns an MPL integral type specifying the number of elements in a color base. More... | |
| struct | kth_semantic_element_type< ColorBase, K > |
| Specifies the type of the K-th semantic element of a color base. More... | |
| struct | kth_semantic_element_reference_type< ColorBase, K > |
| Specifies the return type of the mutable semantic_at_c<K>(color_base);. More... | |
| struct | kth_semantic_element_const_reference_type< ColorBase, K > |
| Specifies the return type of the constant semantic_at_c<K>(color_base);. More... | |
| struct | contains_color< ColorBase, Color > |
| A predicate metafunction determining whether a given color base contains a given color. More... | |
| struct | color_element_type< ColorBase, Color > |
| Specifies the type of the element associated with a given color tag. More... | |
| struct | color_element_reference_type< ColorBase, Color > |
| Specifies the return type of the mutable element accessor by color name, get_color(color_base, Color());. More... | |
| struct | color_element_const_reference_type< ColorBase, Color > |
| Specifies the return type of the constant element accessor by color name, get_color(color_base, Color());. More... | |
| struct | element_type< ColorBase > |
| Specifies the element type of a homogeneous color base. More... | |
| struct | element_reference_type< ColorBase > |
| Specifies the return type of the mutable element accessor at_c of a homogeneous color base. More... | |
| struct | element_const_reference_type< ColorBase > |
| Specifies the return type of the constant element accessor at_c of a homogeneous color base. More... | |
Namespaces | |
| boost | |
| Pixel 2D LOCATOR. | |
Functions | |
| template<int K, typename ColorBase > | |
| disable_if< is_const < ColorBase >, typename kth_semantic_element_reference_type < ColorBase, K >::type >::type | semantic_at_c (ColorBase &p) |
| A mutable accessor to the K-th semantic element of a color base. | |
| template<int K, typename ColorBase > | |
| kth_semantic_element_const_reference_type < ColorBase, K >::type | semantic_at_c (const ColorBase &p) |
| A constant accessor to the K-th semantic element of a color base. | |
| template<typename ColorBase , typename Color > | |
| color_element_reference_type < ColorBase, Color >::type | get_color (ColorBase &cb, Color=Color()) |
| Mutable accessor to the element associated with a given color name. | |
| template<typename ColorBase , typename Color > | |
| color_element_const_reference_type < ColorBase, Color >::type | get_color (const ColorBase &cb, Color=Color()) |
| Constant accessor to the element associated with a given color name. | |
| template<typename Q > | |
| const Q & | mutable_min (const Q &x, const Q &y) |
| template<typename Q > | |
| Q & | mutable_min (Q &x, Q &y) |
| template<typename Q > | |
| const Q & | mutable_max (const Q &x, const Q &y) |
| template<typename Q > | |
| Q & | mutable_max (Q &x, Q &y) |
| template<typename P > | |
| BOOST_FORCEINLINE element_const_reference_type < P >::type | static_max (const P &p) |
| template<typename P > | |
| BOOST_FORCEINLINE element_reference_type< P > ::type | static_max (P &p) |
| template<typename P > | |
| BOOST_FORCEINLINE element_const_reference_type < P >::type | static_min (const P &p) |
| template<typename P > | |
| BOOST_FORCEINLINE element_reference_type< P > ::type | static_min (P &p) |
| template<typename P1 , typename P2 > | |
| BOOST_FORCEINLINE bool | static_equal (const P1 &p1, const P2 &p2) |
| template<typename Src , typename Dst > | |
| BOOST_FORCEINLINE void | static_copy (const Src &src, Dst &dst) |
| template<typename P , typename V > | |
| BOOST_FORCEINLINE void | static_fill (P &p, const V &v) |
| template<typename P1 , typename Op > | |
| BOOST_FORCEINLINE void | static_generate (P1 &dst, Op op) |
| template<typename Src , typename Dst , typename Op > | |
| BOOST_FORCEINLINE Op | static_transform (Src &src, Dst &dst, Op op) |
| template<typename Src , typename Dst , typename Op > | |
| BOOST_FORCEINLINE Op | static_transform (const Src &src, Dst &dst, Op op) |
| template<typename P2 , typename P3 , typename Dst , typename Op > | |
| BOOST_FORCEINLINE Op | static_transform (P2 &p2, P3 &p3, Dst &dst, Op op) |
| template<typename P2 , typename P3 , typename Dst , typename Op > | |
| BOOST_FORCEINLINE Op | static_transform (P2 &p2, const P3 &p3, Dst &dst, Op op) |
| template<typename P2 , typename P3 , typename Dst , typename Op > | |
| BOOST_FORCEINLINE Op | static_transform (const P2 &p2, P3 &p3, Dst &dst, Op op) |
| template<typename P2 , typename P3 , typename Dst , typename Op > | |
| BOOST_FORCEINLINE Op | static_transform (const P2 &p2, const P3 &p3, Dst &dst, Op op) |
| template<typename P1 , typename Op > | |
| BOOST_FORCEINLINE Op | static_for_each (P1 &p1, Op op) |
| template<typename P1 , typename Op > | |
| BOOST_FORCEINLINE Op | static_for_each (const P1 &p1, Op op) |
| template<typename P1 , typename P2 , typename Op > | |
| BOOST_FORCEINLINE Op | static_for_each (P1 &p1, P2 &p2, Op op) |
| template<typename P1 , typename P2 , typename Op > | |
| BOOST_FORCEINLINE Op | static_for_each (P1 &p1, const P2 &p2, Op op) |
| template<typename P1 , typename P2 , typename Op > | |
| BOOST_FORCEINLINE Op | static_for_each (const P1 &p1, P2 &p2, Op op) |
| template<typename P1 , typename P2 , typename Op > | |
| BOOST_FORCEINLINE Op | static_for_each (const P1 &p1, const P2 &p2, Op op) |
| template<typename P1 , typename P2 , typename P3 , typename Op > | |
| BOOST_FORCEINLINE Op | static_for_each (P1 &p1, P2 &p2, P3 &p3, Op op) |
| template<typename P1 , typename P2 , typename P3 , typename Op > | |
| BOOST_FORCEINLINE Op | static_for_each (P1 &p1, P2 &p2, const P3 &p3, Op op) |
| template<typename P1 , typename P2 , typename P3 , typename Op > | |
| BOOST_FORCEINLINE Op | static_for_each (P1 &p1, const P2 &p2, P3 &p3, Op op) |
| template<typename P1 , typename P2 , typename P3 , typename Op > | |
| BOOST_FORCEINLINE Op | static_for_each (P1 &p1, const P2 &p2, const P3 &p3, Op op) |
| template<typename P1 , typename P2 , typename P3 , typename Op > | |
| BOOST_FORCEINLINE Op | static_for_each (const P1 &p1, P2 &p2, P3 &p3, Op op) |
| template<typename P1 , typename P2 , typename P3 , typename Op > | |
| BOOST_FORCEINLINE Op | static_for_each (const P1 &p1, P2 &p2, const P3 &p3, Op op) |
| template<typename P1 , typename P2 , typename P3 , typename Op > | |
| BOOST_FORCEINLINE Op | static_for_each (const P1 &p1, const P2 &p2, P3 &p3, Op op) |
| template<typename P1 , typename P2 , typename P3 , typename Op > | |
| BOOST_FORCEINLINE Op | static_for_each (const P1 &p1, const P2 &p2, const P3 &p3, Op op) |
pixel related algorithms