gray.hpp 683 B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // Copyright 2005-2007 Adobe Systems Incorporated
  3. //
  4. // Distributed under the Boost Software License, Version 1.0
  5. // See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt
  7. //
  8. #ifndef BOOST_GIL_GRAY_HPP
  9. #define BOOST_GIL_GRAY_HPP
  10. #include <boost/mpl/range_c.hpp>
  11. #include <boost/mpl/vector_c.hpp>
  12. #include <boost/type_traits.hpp>
  13. #include <boost/gil/utilities.hpp>
  14. namespace boost { namespace gil {
  15. /// \ingroup ColorNameModel
  16. /// \brief Gray
  17. struct gray_color_t {};
  18. /// \ingroup ColorSpaceModel
  19. using gray_t = mpl::vector1<gray_color_t>;
  20. /// \ingroup LayoutModel
  21. using gray_layout_t = layout<gray_t>;
  22. } } // namespace boost::gil
  23. #endif