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