
Typedefs | |
| typedef double( | unary_math_func )(double) |
Functions | |
| template<class P> | |
| P | do_unary_func (P pixel, unary_math_func *func) |
| bool | printable (bool val) |
| Transform this data into something more printable. | |
| int | printable (char val) |
| short | printable (short val) |
| int | printable (int val) |
| long | printable (long val) |
| float | printable (float val) |
| double | printable (double val) |
| long double | printable (long double val) |
| int | printable (unsigned char val) |
| int | printable (unsigned short val) |
| long | printable (unsigned int val) |
| unsigned long | printable (unsigned long val) |
| template<class pix1, class pix2> | |
| void | clamped_assign_3 (pix1 &lhs, const pix2 &rhs) |
| template<class pix1, class pix2> | |
| void | clamped_assign_4 (pix1 &lhs, const pix2 &rhs) |
| template<class pix1, class pix2> | |
| void | clamped_assign_n (pix1 &lhs, const pix2 &rhs) |
| template<class insttype, class T2, class functype> | |
| insttype & | pix_scalar_op_eq (insttype &lhs, const T2 rhs, functype func) |
| helper for adding a base type with a pixel where basic type T != T2 | |
| template<class T, class insttype, class T2, class functype> | |
| rebind< insttype, typename promote_trait< T, T2 >::TP >::type | pix_scalar_op (const insttype &lhs, const T2 rhs, functype func) |
| helper for adding a base type with a pixel where basic type T != T2 | |
| template<class lhstype, class rhstype, class functype> | |
| lhstype & | pix_pix_op_eq (lhstype &lhs, const rhstype &rhs, functype func) |
| Apply a x= operation between two pixels where the base type are the same. | |
| template<template< class > class pixtype, class T, class T2, class functype> | |
| pixtype< typename promote_trait< T, T2 >::TP > | pix_pix_op (const pixtype< T > &lhs, const pixtype< T2 > &rhs, functype func) |
| Apply a x operation between two pixels where the base type are the same. | |
| template<template< class, size_t > class pixtype, class T, class T2, size_t dim, class functype> | |
| pixtype< typename promote_trait< T, T2 >::TP, dim > | pix_pix_op (const pixtype< T, dim > &lhs, const pixtype< T2, dim > &rhs, functype func) |
|
||||||||||||||||||||
|
Apply a x operation between two pixels where the base type are the same. 2 operations can be performed here. The conditionals are constants so the compiler will pre-compute them (1) If a pixel type is the same and we will promote the trait (e.g. PixRGB<byte> + PixRGB<byte> ) (2) If a pixel type is not the same and we will promote the trait (e.g. PixRGB<byte> + PixHSV<byte> ) Definition at line 348 of file PixelsTypes.H. |
|
||||||||||||||||||||
|
Apply a x= operation between two pixels where the base type are the same. 4 operations can be performed here. The conditionals are constants so the compiler will pre-compute them (1) If a pixel type is the same and we will promote the trait and clamp (e.g. PixRGB<byte> += PixRGB<byte> ) (2) If a pixel type is not the same and we will promote the trait and clamp (e.g. PixHSV<byte> += PixRGB<byte> ) (3) If a pixel type is the same and we will not promote the trait and clamp (e.g. PixRGB<float> += PixRGB<float> ) (4) If a pixel type is not the same and we not will promote the trait and clamp (e.g. PixHSV<float> += PixRGB<float> ) Definition at line 326 of file PixelsTypes.H. |
|
||||||||||||||||||||
|
helper for adding a base type with a pixel where basic type T != T2 EXAMPLE: PixRGB<float> + int Definition at line 307 of file PixelsTypes.H. |
|
||||||||||||||||||||
|
helper for adding a base type with a pixel where basic type T != T2 EXAMPLE: PixRGB<float> += int Definition at line 288 of file PixelsTypes.H. References i. |
|
|
Transform this data into something more printable. For example, convert char->int so that the char gets printed as a integer, rather than an alphabetic character. Definition at line 511 of file PixelsBase.H. Referenced by operator<<(). |
1.4.4