8_view_t&gt;::value==3));
BOOST_STATIC_ASSERT((num_channels&lt;cmyk16_planar_ptr_t&gt;::value==4));

BOOST_STATIC_ASSERT((is_planar&lt;rgb16_planar_image_t&gt;::value));
BOOST_STATIC_ASSERT((is_same&lt;color_space_type&lt;rgb8_planar_ref_t&gt;::type, rgb_t&gt;::value));
BOOST_STATIC_ASSERT((is_same&lt;channel_mapping_type&lt;cmyk8_pixel_t&gt;::type, 
                             channel_mapping_type&lt;rgba8_pixel_t&gt;::type&gt;::value));
BOOST_STATIC_ASSERT((is_same&lt;channel_type&lt;bgr8_pixel_t&gt;::ty