SpatiumLib
|
Value of an image pixel with arbitrary data type and 1 channel. More...
#include <Image.h>
Static Public Member Functions | |
static std::array< T, 1 > | value (const std::array< T, 1 > &input) |
static std::array< T, 1 > | value (const std::array< T, 3 > &input) |
static std::array< T, 1 > | pixelValue (const std::array< T, 4 > &input) |
Value of an image pixel with arbitrary data type and 1 channel.
This struct can be used to convert a pixel value of 3 or 4 channels to a 1-channel pixel value.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |