typedef gil::detail::gray1_image_t image_t;
image_t img;
image_t::view_t v = view( img );
unsigned char* p = reinterpret_cast<unsigned char*>( &gil::at_c<0>( v( 0, 0 ) ));
Advertisements