Generic Image Library: kth_semantic_element_type< ColorBase, K > Struct Template Reference

###  | #  |

Public Types | Static Public Attributes | List of all members
kth_semantic_element_type< ColorBase, K > Struct Template Reference
ColorBase » Algorithms and Utility Functions » kth_semantic_element_type, kth_semantic_element_reference_type, kth_semantic_element_const_reference_type, semantic_at_c

Specifies the type of the K-th semantic element of a color base. More...

`#include <color_base_algorithm.hpp>`

## Public Types
using | channel_mapping_t = typename ColorBase::layout_t::channel_mapping_t
using | type = typename kth_element_type<ColorBase, semantic_index>::type

## Static Public Attributes
static constexpr int | semantic_index = mp11::mp_at_c<channel_mapping_t, K>::type::value

## Detailed Description

template<typename ColorBase, int K>
struct boost::gil::kth_semantic_element_type< ColorBase, K >

Specifies the type of the K-th semantic element of a color base.

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

- color_base_algorithm.hpp