![]() |
Templates -- Meow
204.13.18
A C++ template contains kinds of interesting classes and functions
|
以浮點數Y(亮度), U(色度), V(濃度) 三個值所組成的色彩空間 More...
#include "YUV_Space.h"
Public Member Functions | |
YUVf_Space () | |
YUVf_Space (double c) | |
YUVf_Space (Vector3D< double > const &v) | |
YUVf_Space (YUV_Space const &b) | |
~YUVf_Space () | |
double const & | yuvMin (size_t i) const |
double const & | yMin () const |
double const & | uMin () const |
double const & | vMin () const |
double const & | yuvMax (size_t i) const |
double const & | yMax () const |
double const & | uMax () const |
double const & | vMax () const |
double const & | yuv (size_t i) const |
double const & | y () const |
double const & | u () const |
double const & | v () const |
double const & | yuv (size_t i, double c) |
double const & | y (double c) |
double const & | u (double c) |
double const & | v (double c) |
double & | yuvGet (size_t i) |
double & | yGet () |
double & | uGet () |
double & | vGet () |
YUVf_Space & | operator= (YUVf_Space const &b) |
YUVf_Space | operator+ (YUVf_Space const &b) const |
YUVf_Space | operator- (YUVf_Space const &b) const |
YUVf_Space | operator* (double const &c) const |
YUVf_Space | operator/ (double const &c) const |
double | operator* (YUVf_Space const &b) const |
![]() | |
virtual | ~Color3_Space () |
Destructor. More... | |
Vector3D< double > const & | minV () const |
minimum bound of each channels. More... | |
Vector3D< double > const & | maxV () const |
maximum bound of each channels. More... | |
Vector3D< double > const & | valV () const |
value of each channels. More... | |
Vector3D< double > const & | valV (Vector3D< double > const &vv) |
Set the value of each channels. More... | |
Vector3D< double > & | valVGet () |
Get the non-constant reference of each channels. More... | |
doubleconst & | min (size_t id) const |
Return the minimum of the i -th channel. More... | |
doubleconst & | max (size_t id) const |
Return the maximum of the i -th channel. More... | |
doubleconst & | val (size_t id) const |
Return the value of the i -th channel. More... | |
doubleconst & | val (size_t i, doubleconst &c) |
Set the value of i -th channel. More... | |
double & | valGet (size_t id) |
Get the non-constant reference of value of the i -th channel. More... | |
Additional Inherited Members | |
![]() | |
Color3_Space (Vector3D< double > const &min_bound, Vector3D< double > const &max_bound, Vector3D< double > const &init_value) | |
Constructor. More... | |
Color3_Space (Color3_Space const &b) | |
Copy constructor. More... | |
Color3_Space< double > & | copyFrom (Color3_Space< double > const &b) |
Copy method. More... | |
![]() | |
Vector3D< double > | min_ |
Vector3D< double > | max_ |
Vector3D< double > | val_ |
|
inline |
Definition at line 23 of file YUV_Space.h.
|
inline |
Definition at line 27 of file YUV_Space.h.
Definition at line 31 of file YUV_Space.h.
|
inline |
Definition at line 36 of file YUV_Space.h.
|
inline |
Definition at line 38 of file YUV_Space.h.
|
inline |
Definition at line 70 of file YUV_Space.h.
|
inline |
Definition at line 76 of file YUV_Space.h.
|
inline |
Definition at line 64 of file YUV_Space.h.
|
inline |
Definition at line 67 of file YUV_Space.h.
|
inline |
Definition at line 73 of file YUV_Space.h.
|
inline |
Definition at line 60 of file YUV_Space.h.
|
inline |
Definition at line 50 of file YUV_Space.h.
Definition at line 54 of file YUV_Space.h.
|
inline |
Definition at line 58 of file YUV_Space.h.
|
inline |
Definition at line 46 of file YUV_Space.h.
|
inline |
Definition at line 42 of file YUV_Space.h.
|
inline |
Definition at line 51 of file YUV_Space.h.
Definition at line 55 of file YUV_Space.h.
|
inline |
Definition at line 59 of file YUV_Space.h.
|
inline |
Definition at line 47 of file YUV_Space.h.
|
inline |
Definition at line 43 of file YUV_Space.h.
|
inline |
Definition at line 49 of file YUV_Space.h.
Definition at line 53 of file YUV_Space.h.
|
inline |
Definition at line 57 of file YUV_Space.h.
|
inline |
Definition at line 45 of file YUV_Space.h.
|
inline |
Definition at line 41 of file YUV_Space.h.
|
inline |
Definition at line 48 of file YUV_Space.h.
Definition at line 52 of file YUV_Space.h.
|
inline |
Definition at line 56 of file YUV_Space.h.
|
inline |
Definition at line 44 of file YUV_Space.h.
|
inline |
Definition at line 40 of file YUV_Space.h.