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> 14 #include <boost/mpl/range_c.hpp> 15 #include <boost/mpl/vector_c.hpp> 19 namespace boost {
namespace gil {
35 using rgb_t = mpl::vector3<red_t,green_t,blue_t>;
44 template <
typename IC>
49 std::ptrdiff_t rowsize_in_bytes)
52 return view_t(width, height,
Definition: algorithm.hpp:30
An iterator over planar pixels. Models HomogeneousColorBaseConcept, PixelIteratorConcept, HomogeneousPixelBasedConcept, MemoryBasedIteratorConcept, HasDynamicXStepTypeConcept.
Definition: algorithm.hpp:34
Green.
Definition: rgb.hpp:28
Given a pixel iterator defining access to pixels along a row, returns the types of the corresponding ...
Definition: metafunctions.hpp:239
Represents a color space and ordering of channels in memory.
Definition: utilities.hpp:247
Blue.
Definition: rgb.hpp:31
type_from_x_iterator< planar_pixel_iterator< IC, rgb_t > >::view_t planar_rgb_view(std::size_t width, std::size_t height, IC r, IC g, IC b, std::ptrdiff_t rowsize_in_bytes)
from raw RGB planar data
Definition: rgb.hpp:47
Red.
Definition: rgb.hpp:25