classPiiImage::IntegerTraits
#include <PiiImageTraits.h>
Traits for integer-valued images.
Description
Static public member functions
|
template<class U>
static T
|
(
|
|
template<class U>
static T
|
(
|
|
static T
|
( )
Returns the maximum value of a color channel. |
|
template<class U>
static U
|
(
|
|
template<class U>
static U
|
(
|
Function details
-
template<class U>
static T fromFloat
(- U value
[inline, static] -
template<class U>
static T fromInt
(- U value
[inline, static] -
static T max
()[inline, static]Returns the maximum value of a color channel.
The maximum channel value is 255 for all integer types and 1.0 for floating-point types.
-
template<class U>
static U toFloat
(- T value
[inline, static] -
template<class U>
static U toInt
(- T value
[inline, static]
Add a note
Not a single note added yet. Be the first, add yours.