nth_channel_types< VIEW > Class Template Reference
[Image View Constructors]

Given a source image view type VIEW, returns the related types of an image view and x_iterator over a single channel of VIEW. More...

#include <image_view_factory.hpp>

List of all members.


Public Types

typedef type_from_x_iterator<
x_iterator >::view_t 
view_t
typedef iterator_type< typename
channel_traits< typename pixel_iterator_traits<
src_x_iterator >::channel_t
>::pointer, gray_t, false,
!adjacent >::type 
x_iterator

Public Member Functions

 BOOST_STATIC_CONSTANT (bool, adjacent=!has_dynamic_step< src_x_iterator >::value &&(pixel_iterator_traits< src_x_iterator >::is_planar||pixel_iterator_traits< src_x_iterator >::color_space_t::num_channels==1))

Detailed Description

template<typename VIEW>
class nth_channel_types< VIEW >

If 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. If the channels are non-adjacent (interleaved and/or step view) then the return view is a single-channel step view.

Definition at line 169 of file core/image_view_factory.hpp.