Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
image_view_factory.hpp File Reference

/ / More...

#include <cassert>
#include <cstddef>
#include "gil_config.hpp"
#include "metafunctions.hpp"
#include "gray.hpp"
#include "color_convert.hpp"
Include dependency graph for image_view_factory.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  boost::gil::dynamic_x_step_type< T >
 
struct  boost::gil::dynamic_y_step_type< T >
 
struct  boost::gil::transposed_type< T >
 
struct  boost::gil::dynamic_xy_step_type< View >
 Returns the type of a view that has a dynamic step along both X and Y. More...
 
struct  boost::gil::dynamic_xy_step_transposed_type< View >
 Returns the type of a transposed view that has a dynamic step along both X and Y. More...
 
struct  boost::gil::detail::channel_pointer_type_impl< View, IsMutable >
 
struct  boost::gil::detail::channel_pointer_type_impl< View, true >
 
struct  boost::gil::detail::channel_pointer_type_impl< View, false >
 
struct  boost::gil::detail::channel_pointer_type< View >
 
class  boost::gil::color_convert_deref_fn< SrcConstRefP, DstP, CC >
 Function object that given a source pixel, returns it converted to a given color space and channel depth. More...
 
struct  boost::gil::detail::_color_converted_view_type< SrcView, CC, DstP, SrcP >
 
struct  boost::gil::detail::_color_converted_view_type< SrcView, CC, DstP, DstP >
 
struct  boost::gil::color_converted_view_type< SrcView, DstP, CC >
 Returns the type of a view that does color conversion upon dereferencing its pixels. More...
 
struct  boost::gil::detail::__nth_channel_view_basic< View, AreChannelsTogether >
 
struct  boost::gil::detail::__nth_channel_view_basic< View, false >
 
struct  boost::gil::detail::__nth_channel_view_basic< View, true >
 
struct  boost::gil::detail::__nth_channel_view< View, IsBasic >
 
struct  boost::gil::detail::__nth_channel_view< View, true >
 
struct  boost::gil::detail::nth_channel_deref_fn< SrcP >
 Function object that returns a grayscale reference of the N-th channel of a given reference. More...
 
struct  boost::gil::detail::__nth_channel_view< View, false >
 
struct  boost::gil::nth_channel_view_type< View >
 Given a source image view type View, returns the type of an image view over a single channel of ViewIf the channels in the source view are adjacent in memory (such as planar non-step view or single-channel view) then the return view is a single-channel non-step view. More...
 
struct  boost::gil::detail::__kth_channel_view_basic< K, View, AreChannelsTogether >
 
struct  boost::gil::detail::__kth_channel_view_basic< K, View, false >
 
struct  boost::gil::detail::__kth_channel_view_basic< K, View, true >
 
struct  boost::gil::detail::__kth_channel_view< K, View, IsBasic >
 
struct  boost::gil::detail::__kth_channel_view< K, View, true >
 
struct  boost::gil::detail::kth_channel_deref_fn< K, SrcP >
 Function object that returns a grayscale reference of the K-th channel (specified as a template parameter) of a given reference. More...
 
struct  boost::gil::detail::__kth_channel_view< K, View, false >
 
struct  boost::gil::kth_channel_view_type< K, View >
 Given a source image view type View, returns the type of an image view over a given channel of View. More...
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::gil
 
 boost::gil::detail
 

Functions

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 DstP , typename View , typename CC >
color_converted_view_type
< View, DstP, CC >::type 
boost::gil::color_converted_view (const View &src, CC cc)
 view of a different color space with a user defined color-converter More...
 
template<typename DstP , typename View >
color_converted_view_type
< View, DstP >::type 
boost::gil::color_converted_view (const View &src)
 overload of generic color_converted_view with the default color-converter More...
 
template<typename View >
dynamic_y_step_type< View >::type boost::gil::flipped_up_down_view (const View &src)
 
template<typename View >
dynamic_x_step_type< View >::type boost::gil::flipped_left_right_view (const View &src)
 
template<typename View >
dynamic_xy_step_transposed_type
< View >::type 
boost::gil::transposed_view (const View &src)
 
template<typename View >
dynamic_xy_step_transposed_type
< View >::type 
boost::gil::rotated90cw_view (const View &src)
 
template<typename View >
dynamic_xy_step_transposed_type
< View >::type 
boost::gil::rotated90ccw_view (const View &src)
 
template<typename View >
dynamic_xy_step_type< View >::type boost::gil::rotated180_view (const View &src)
 
template<typename View >
View boost::gil::subimage_view (const View &src, const typename View::point_t &topleft, const typename View::point_t &dimensions)
 
template<typename View >
View boost::gil::subimage_view (const View &src, int xMin, int yMin, int width, int height)
 
template<typename View >
dynamic_xy_step_type< View >::type boost::gil::subsampled_view (const View &src, typename View::coord_t xStep, typename View::coord_t yStep)
 
template<typename View >
dynamic_xy_step_type< View >::type boost::gil::subsampled_view (const View &src, const typename View::point_t &step)
 
template<typename View >
nth_channel_view_type< View >::type boost::gil::nth_channel_view (const View &src, int n)
 
template<int K, typename View >
kth_channel_view_type< K, View >
::type 
boost::gil::kth_channel_view (const View &src)
 

Detailed Description

/ /

Methods for constructing image views from raw data or other image views /

Author
Lubomir Bourdev and Hailin Jin
/ Adobe Systems Incorporated /
Date
2005-2007
Last updated on March 9, 2007 / Methods for creating shallow image views from raw pixel data or from other image views - / flipping horizontally or vertically, axis-aligned rotation, a subimage, subsampled / or n-th channel image view. Derived image views are shallow copies and are fast to construct.