Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Image View From Raw Data

Methods for constructing image views from raw data and for getting raw data from views. More...

Functions

template<typename IC >
type_from_x_iterator
< planar_pixel_iterator< IC,
cmyk_t > >::view_t 
boost::gil::planar_cmyk_view (std::size_t width, std::size_t height, IC c, IC m, IC y, IC k, std::ptrdiff_t rowsize_in_bytes)
 from raw CMYK planar data More...
 
template<typename IC >
type_from_x_iterator
< planar_pixel_iterator< IC,
devicen_t< 2 > > >::view_t 
boost::gil::planar_devicen_view (std::size_t width, std::size_t height, IC c0, IC c1, std::ptrdiff_t rowsize_in_bytes)
 from 2-channel planar data More...
 
template<typename IC >
type_from_x_iterator
< planar_pixel_iterator< IC,
devicen_t< 3 > > >::view_t 
boost::gil::planar_devicen_view (std::size_t width, std::size_t height, IC c0, IC c1, IC c2, std::ptrdiff_t rowsize_in_bytes)
 from 3-channel planar data More...
 
template<typename IC >
type_from_x_iterator
< planar_pixel_iterator< IC,
devicen_t< 4 > > >::view_t 
boost::gil::planar_devicen_view (std::size_t width, std::size_t height, IC c0, IC c1, IC c2, IC c3, std::ptrdiff_t rowsize_in_bytes)
 from 4-channel planar data More...
 
template<typename IC >
type_from_x_iterator
< planar_pixel_iterator< IC,
devicen_t< 5 > > >::view_t 
boost::gil::planar_devicen_view (std::size_t width, std::size_t height, IC c0, IC c1, IC c2, IC c3, IC c4, std::ptrdiff_t rowsize_in_bytes)
 from 5-channel planar data More...
 
template<typename Iterator >
type_from_x_iterator< Iterator >
::view_t 
boost::gil::interleaved_view (std::size_t width, std::size_t height, Iterator pixels, std::ptrdiff_t rowsize_in_bytes)
 Constructing image views from raw interleaved pixel data. More...
 
template<typename Iterator >
type_from_x_iterator< Iterator >
::view_t 
boost::gil::interleaved_view (point2< std::size_t > dim, Iterator pixels, std::ptrdiff_t rowsize_in_bytes)
 Constructing image views from raw interleaved pixel data. More...
 
template<typename HomogeneousView >
detail::channel_pointer_type
< HomogeneousView >::type 
boost::gil::interleaved_view_get_raw_data (const HomogeneousView &view)
 Returns C pointer to the the channels of an interleaved homogeneous view. More...
 
template<typename HomogeneousView >
detail::channel_pointer_type
< HomogeneousView >::type 
boost::gil::planar_view_get_raw_data (const HomogeneousView &view, int plane_index)
 Returns C pointer to the the channels of a given color plane of a planar homogeneous view. More...
 
template<typename IC >
type_from_x_iterator
< planar_pixel_iterator< IC,
rgb_t > >::view_t 
boost::gil::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 More...
 
template<typename IC >
type_from_x_iterator
< planar_pixel_iterator< IC,
rgba_t > >::view_t 
boost::gil::planar_rgba_view (std::size_t width, std::size_t height, IC r, IC g, IC b, IC a, std::ptrdiff_t rowsize_in_bytes)
 from raw RGBA planar data More...
 

Detailed Description

Methods for constructing image views from raw data and for getting raw data from views.

Function Documentation

template<typename Iterator >
type_from_x_iterator<Iterator>::view_t boost::gil::interleaved_view ( std::size_t  width,
std::size_t  height,
Iterator  pixels,
std::ptrdiff_t  rowsize_in_bytes 
)
template<typename Iterator >
type_from_x_iterator<Iterator>::view_t boost::gil::interleaved_view ( point2< std::size_t >  dim,
Iterator  pixels,
std::ptrdiff_t  rowsize_in_bytes 
)

#include <boost_1_57_0/boost/gil/image_view_factory.hpp>

Constructing image views from raw interleaved pixel data.

template<typename HomogeneousView >
detail::channel_pointer_type<HomogeneousView>::type boost::gil::interleaved_view_get_raw_data ( const HomogeneousView &  view)

#include <boost_1_57_0/boost/gil/image_view_factory.hpp>

Returns C pointer to the the channels of an interleaved homogeneous view.

References boost::BOOST_STATIC_ASSERT(), boost::program_options::value(), and boost::gil::view().

template<typename IC >
type_from_x_iterator<planar_pixel_iterator<IC,cmyk_t> >::view_t boost::gil::planar_cmyk_view ( std::size_t  width,
std::size_t  height,
IC  c,
IC  m,
IC  y,
IC  k,
std::ptrdiff_t  rowsize_in_bytes 
)
inline

#include <boost_1_57_0/boost/gil/cmyk.hpp>

from raw CMYK planar data

template<typename IC >
type_from_x_iterator<planar_pixel_iterator<IC,devicen_t<2> > >::view_t boost::gil::planar_devicen_view ( std::size_t  width,
std::size_t  height,
IC  c0,
IC  c1,
std::ptrdiff_t  rowsize_in_bytes 
)
inline

#include <boost_1_57_0/boost/gil/device_n.hpp>

from 2-channel planar data

template<typename IC >
type_from_x_iterator<planar_pixel_iterator<IC,devicen_t<3> > >::view_t boost::gil::planar_devicen_view ( std::size_t  width,
std::size_t  height,
IC  c0,
IC  c1,
IC  c2,
std::ptrdiff_t  rowsize_in_bytes 
)
inline

#include <boost_1_57_0/boost/gil/device_n.hpp>

from 3-channel planar data

template<typename IC >
type_from_x_iterator<planar_pixel_iterator<IC,devicen_t<4> > >::view_t boost::gil::planar_devicen_view ( std::size_t  width,
std::size_t  height,
IC  c0,
IC  c1,
IC  c2,
IC  c3,
std::ptrdiff_t  rowsize_in_bytes 
)
inline

#include <boost_1_57_0/boost/gil/device_n.hpp>

from 4-channel planar data

template<typename IC >
type_from_x_iterator<planar_pixel_iterator<IC,devicen_t<5> > >::view_t boost::gil::planar_devicen_view ( std::size_t  width,
std::size_t  height,
IC  c0,
IC  c1,
IC  c2,
IC  c3,
IC  c4,
std::ptrdiff_t  rowsize_in_bytes 
)
inline

#include <boost_1_57_0/boost/gil/device_n.hpp>

from 5-channel planar data

template<typename IC >
type_from_x_iterator<planar_pixel_iterator<IC,rgb_t> >::view_t boost::gil::planar_rgb_view ( std::size_t  width,
std::size_t  height,
IC  r,
IC  g,
IC  b,
std::ptrdiff_t  rowsize_in_bytes 
)
inline

#include <boost_1_57_0/boost/gil/rgb.hpp>

from raw RGB planar data

template<typename IC >
type_from_x_iterator<planar_pixel_iterator<IC,rgba_t> >::view_t boost::gil::planar_rgba_view ( std::size_t  width,
std::size_t  height,
IC  r,
IC  g,
IC  b,
IC  a,
std::ptrdiff_t  rowsize_in_bytes 
)
inline

#include <boost_1_57_0/boost/gil/rgba.hpp>

from raw RGBA planar data

template<typename HomogeneousView >
detail::channel_pointer_type<HomogeneousView>::type boost::gil::planar_view_get_raw_data ( const HomogeneousView &  view,
int  plane_index 
)

#include <boost_1_57_0/boost/gil/image_view_factory.hpp>

Returns C pointer to the the channels of a given color plane of a planar homogeneous view.

References boost::BOOST_STATIC_ASSERT(), and boost::gil::detail::dynamic_at_c().