8#ifndef BOOST_GIL_IO_TYPEDEFS_HPP
9#define BOOST_GIL_IO_TYPEDEFS_HPP
11#ifdef BOOST_GIL_IO_ENABLE_GRAY_ALPHA
12#include <boost/gil/extension/toolbox/color_spaces/gray_alpha.hpp>
15#include <boost/gil/image.hpp>
16#include <boost/gil/point.hpp>
17#include <boost/gil/utilities.hpp>
22namespace boost {
namespace gil {
24struct double_zero {
static double apply() {
return 0.0; } };
25struct double_one {
static double apply() {
return 1.0; } };
27using byte_t =
unsigned char;
28using byte_vector_t = std::vector<byte_t>;
34template<>
struct is_floating_point<gil::
float32_t> : std::true_type {};
35template<>
struct is_floating_point<gil::
float64_t> : std::true_type {};
39namespace boost {
namespace gil {
44using gray1_image_t = bit_aligned_image1_type<1, gray_layout_t>::type;
45using gray2_image_t = bit_aligned_image1_type<2, gray_layout_t>::type;
46using gray4_image_t = bit_aligned_image1_type<4, gray_layout_t>::type;
47using gray6_image_t = bit_aligned_image1_type<6, gray_layout_t>::type;
48using gray10_image_t = bit_aligned_image1_type<10, gray_layout_t>::type;
49using gray12_image_t = bit_aligned_image1_type<12, gray_layout_t>::type;
50using gray14_image_t = bit_aligned_image1_type<14, gray_layout_t>::type;
51using gray24_image_t = bit_aligned_image1_type<24, gray_layout_t>::type;
55#ifdef BOOST_GIL_IO_ENABLE_GRAY_ALPHA
65#ifdef BOOST_GIL_IO_ENABLE_GRAY_ALPHA
container interface over image view. Models ImageConcept, PixelBasedConcept
Definition image.hpp:43
scoped_channel_value< double, float_point_zero< double >, float_point_one< double > > float64_t
64-bit floating point channel type with range [0.0f ... 1.0f]. Models ChannelValueConcept
Definition typedefs.hpp:157
scoped_channel_value< float, float_point_zero< float >, float_point_one< float > > float32_t
32-bit floating point channel type with range [0.0f ... 1.0f]. Models ChannelValueConcept
Definition typedefs.hpp:153
defined(BOOST_NO_CXX17_HDR_MEMORY_RESOURCE)
Definition algorithm.hpp:36
Represents a pixel value (a container of channels). Models: HomogeneousColorBaseValueConcept,...
Definition pixel.hpp:106