8 #ifndef BOOST_GIL_RGB_HPP 9 #define BOOST_GIL_RGB_HPP 11 #include <boost/gil/metafunctions.hpp> 12 #include <boost/gil/planar_pixel_iterator.hpp> 13 #include <boost/gil/detail/mp11.hpp> 16 #include <type_traits> 18 namespace boost {
namespace gil {
34 using rgb_t = mp11::mp_list<red_t, green_t, blue_t>;
44 template <
typename IC>
46 std::size_t width, std::size_t height,
48 std::ptrdiff_t rowsize_in_bytes)
55 typename view_t::locator(
defined(BOOST_NO_CXX17_HDR_MEMORY_RESOURCE)
Definition: algorithm.hpp:36
An iterator over planar pixels. Models HomogeneousColorBaseConcept, PixelIteratorConcept,...
Definition: algorithm.hpp:40
Green.
Definition: rgb.hpp:27
Given a pixel iterator defining access to pixels along a row, returns the types of the corresponding ...
Definition: metafunctions.hpp:302
Represents a color space and ordering of channels in memory.
Definition: utilities.hpp:267
Blue.
Definition: rgb.hpp:30
auto planar_rgb_view(std::size_t width, std::size_t height, IC r, IC g, IC b, std::ptrdiff_t rowsize_in_bytes) -> typename type_from_x_iterator< planar_pixel_iterator< IC, rgb_t > >::view_t
from raw RGB planar data
Definition: rgb.hpp:45
Red.
Definition: rgb.hpp:24