]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | /* |
2 | Copyright 2005-2007 Adobe Systems Incorporated | |
3 | ||
4 | Use, modification and distribution are subject to the Boost Software License, | |
5 | Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | |
6 | http://www.boost.org/LICENSE_1_0.txt). | |
7 | ||
8 | See http://opensource.adobe.com/gil for most recent version including documentation. | |
9 | */ | |
10 | ||
11 | /*************************************************************************************************/ | |
12 | ||
13 | #ifndef GIL_GRAY_H | |
14 | #define GIL_GRAY_H | |
15 | ||
16 | //////////////////////////////////////////////////////////////////////////////////////// | |
17 | /// \file | |
18 | /// \brief Support for grayscale color space and variants | |
19 | /// \author Lubomir Bourdev and Hailin Jin \n | |
20 | /// Adobe Systems Incorporated | |
21 | /// \date 2005-2007 \n Last updated on March 8, 2006 | |
22 | //////////////////////////////////////////////////////////////////////////////////////// | |
23 | ||
24 | #include "gil_config.hpp" | |
25 | #include "utilities.hpp" | |
26 | #include <boost/type_traits.hpp> | |
27 | #include <boost/mpl/range_c.hpp> | |
28 | #include <boost/mpl/vector_c.hpp> | |
29 | ||
30 | namespace boost { namespace gil { | |
31 | ||
32 | /// \ingroup ColorNameModel | |
33 | /// \brief Gray | |
34 | struct gray_color_t {}; | |
35 | ||
36 | /// \ingroup ColorSpaceModel | |
37 | typedef mpl::vector1<gray_color_t> gray_t; | |
38 | ||
39 | /// \ingroup LayoutModel | |
40 | typedef layout<gray_t> gray_layout_t; | |
41 | ||
42 | } } // namespace boost::gil | |
43 | ||
44 | #endif | |
45 |