2 #ifndef vil_pixel_format_h_ 3 #define vil_pixel_format_h_ 19 #include <vxl_config.h> 21 # include <vcl_msvc_warnings.h> 30 VIL_PIXEL_FORMAT_UINT_64 = 1,
31 VIL_PIXEL_FORMAT_INT_64 = 2,
45 VIL_PIXEL_FORMAT_RGB_UINT_64 = 13,
46 VIL_PIXEL_FORMAT_RGB_INT_64 = 14,
59 VIL_PIXEL_FORMAT_RGBA_UINT_64 = 24,
60 VIL_PIXEL_FORMAT_RGBA_INT_64 = 25,
107 template <vil_pixel_format pix_type>
116 #define vil_pixel_format_macro(T,C,V)\ 117 template <> inline vil_pixel_format vil_pixel_format_of(T ) { return V; }\ 118 template <> struct vil_pixel_format_type_of<V> { typedef T type; typedef C component_type; } 163 #undef vil_pixel_format_macro 181 #endif // vil_pixel_format_h_
Pixel type for 24 bit images.
This is the appropriate pixel type for RGBA colour images.
Templated four-value colour cell.
This is the appropriate pixel type for 24-bit colour images.