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

single-channel (grayscale) view of the N-th channel of a given image_view More...

Collaboration diagram for nth_channel_view:

Classes

struct  boost::gil::nth_channel_view_type< any_image_view< ViewTypes > >
 Given a runtime source image view, returns the type of a runtime image view over a single channel of the source view. More...
 
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...
 

Functions

template<typename ViewTypes >
nth_channel_view_type
< any_image_view< ViewTypes >
>::type 
boost::gil::nth_channel_view (const any_image_view< ViewTypes > &src, int n)
 
template<typename View >
nth_channel_view_type< View >::type boost::gil::nth_channel_view (const View &src, int n)
 

Detailed Description

single-channel (grayscale) view of the N-th channel of a given image_view

Function Documentation

template<typename ViewTypes >
nth_channel_view_type<any_image_view<ViewTypes> >::type boost::gil::nth_channel_view ( const any_image_view< ViewTypes > &  src,
int  n 
)
inline
template<typename View >
nth_channel_view_type<View>::type boost::gil::nth_channel_view ( const View &  src,
int  n 
)