2008-07-01 キーワード: Color Space Boost.GIL 色空間。gray scale とか RGB とか CMYK とかそういうやつ。 boost::mpl::vector で表現されている。 例えば RGBA は、 struct red_t{}; struct green_t{}; struct blue_t{}; struct alpha_t{}; typedef mpl::vector4<red_t,green_t,blue_t,alpha_t> rgba_t; こんな感じ。