HDK
|
#include <imagebufalgo.h>
Classes | |
struct | None |
Public Member Functions | |
Image_or_Const (None) | |
Image_or_Const (const ImageBuf &img) | |
Image_or_Const (const ImageBuf *img) | |
Image_or_Const (cspan< float > val) | |
Image_or_Const (const float &val) | |
Image_or_Const (const std::vector< float > &val) | |
Image_or_Const (std::initializer_list< const float > val) | |
Image_or_Const (const float *v, size_t s) | |
Image_or_Const (const float *v, int s) | |
bool | is_img () const |
bool | is_val () const |
bool | is_empty () const |
const ImageBuf & | img () const |
const ImageBuf * | imgptr () const |
cspan< float > | val () const |
void | swap (Image_or_Const &other) |
Image_or_Const: Parameter-passing helper that is a non-owning reference to either an ImageBuf&
, ImageBuf*
, per-channel float constant, or a single float constant. This lets us tame the combinatorics of functions where each of several input parameters may be either images or constant values.
Definition at line 156 of file imagebufalgo.h.
|
inline |
Definition at line 159 of file imagebufalgo.h.
|
inline |
Definition at line 160 of file imagebufalgo.h.
|
inline |
Definition at line 161 of file imagebufalgo.h.
Definition at line 162 of file imagebufalgo.h.
|
inline |
Definition at line 163 of file imagebufalgo.h.
|
inline |
Definition at line 164 of file imagebufalgo.h.
|
inline |
Definition at line 165 of file imagebufalgo.h.
|
inline |
Definition at line 166 of file imagebufalgo.h.
Definition at line 167 of file imagebufalgo.h.
|
inline |
Definition at line 172 of file imagebufalgo.h.
|
inline |
Definition at line 173 of file imagebufalgo.h.
|
inline |
Definition at line 171 of file imagebufalgo.h.
|
inline |
Definition at line 169 of file imagebufalgo.h.
|
inline |
Definition at line 170 of file imagebufalgo.h.
|
inline |
Definition at line 176 of file imagebufalgo.h.
Definition at line 174 of file imagebufalgo.h.