Pixel type for 24 bit images. More...
#include <iostream>Go to the source code of this file.
Classes | |
| struct | vil_rgb< T > |
| This is the appropriate pixel type for 24-bit colour images. More... | |
Macros | |
| #define | VIL_RGB_INSTANTIATE(T) extern "you must include vil/vil_rgb.hxx first." |
| #define | VIL_RGB_INSTANTIATE_LS(T) extern "you must include vil/vil_rgb.hxx first." |
Functions | |
| template<class T > | |
| std::ostream & | operator<< (std::ostream &s, vil_rgb< T > const &rgb) |
| template<> | |
| std::ostream & | operator<< (std::ostream &s, vil_rgb< unsigned char > const &rgb) |
| template<class T > | |
| bool | operator!= (vil_rgb< T > const &a, vil_rgb< T > const &b) |
| template<class T > | |
| vil_rgb< T > | average (vil_rgb< T > const &a, vil_rgb< T > const &b) |
| template<class T > | |
| vil_rgb< T > | operator+ (vil_rgb< T > const &a, vil_rgb< T > const &b) |
| template<class T > | |
| vil_rgb< T > | operator * (vil_rgb< T > const &a, vil_rgb< T > const &b) |
| template<class T > | |
| vil_rgb< double > | operator * (double b, vil_rgb< T > const &a) |
| template<class T > | |
| vil_rgb< double > | operator * (vil_rgb< T > const &a, double b) |
| template<class T > | |
| vil_rgb< double > | operator/ (vil_rgb< T > const &a, double b) |
Pixel type for 24 bit images.
Currently also includes the following ‘utilities’:
Modifications:
250198 AWF Templated.
250198 AWF Modified to make POD struct until gcc inlines when debugging.
160298 PCP Removed underscore from public members.
290798 AWF Member templates for fancy compilers
220598 PVr moved instantiations files to Templates subdirectory.
050598 PVr added several operators ( + += - -= (T) ).
140898 David Capel added clamping functions to ensure 0-255 range on bytes and vil_rgb<byte>
090600 David Capel made clamping functions inline and removed all that partial specialization nonsense from the .hxx file.
Feb.2002 - Peter Vanroose - brief doxygen comment placed on single line
Definition in file vil_rgb.h.
| #define VIL_RGB_INSTANTIATE | ( | T | ) | extern "you must include vil/vil_rgb.hxx first." |
| #define VIL_RGB_INSTANTIATE_LS | ( | T | ) | extern "you must include vil/vil_rgb.hxx first." |
|
inline |
| std::ostream& operator<< | ( | std::ostream & | s, |
| vil_rgb< unsigned char > const & | rgb | ||
| ) |
1.8.15