![]() |
Zivid C++ API 2.6.1+6cec8609-3
Defining the Future of 3D Machine Vision
|
This setting controls when tone mapping of colors is performed. Tone mapping will normalize the captured color image to the full available output range by applying a gain factor to the colors. For single-captures this can be used to brighten dark images. For HDR captures this is required to map high-dynamic-range colors to the more limited dynamic range output. More...
#include <Zivid/Settings.h>
Public Types | |
| enum class | ValueType { always , hdrOnly } |
| The type of the underlying value More... | |
Public Member Functions | |
| Enabled ()=default | |
| Default constructor More... | |
| constexpr | Enabled (ValueType value) |
| Constructor More... | |
| ValueType | value () const |
| Get the value More... | |
| bool | hasValue () const |
| Check if the value is set More... | |
| void | reset () |
| Reset the node to unset state More... | |
| std::string | toString () const |
| Get the value as string More... | |
| bool | operator== (const Enabled &other) const |
| Comparison operator More... | |
| bool | operator!= (const Enabled &other) const |
| Comparison operator More... | |
Static Public Member Functions | |
| static std::set< ValueType > | validValues () |
| All valid values of Enabled More... | |
Static Public Attributes | |
| static constexpr DataModel::NodeType | nodeType = DataModel::NodeType::leafValue |
| The type of this node More... | |
| static constexpr const char * | path { "Processing/Color/Experimental/ToneMapping/Enabled" } |
| The full path for this value More... | |
| static constexpr const char * | name { "Enabled" } |
| The name of this value More... | |
| static constexpr const char * | description |
| The description for this value More... | |
| static const Enabled | always |
| always More... | |
| static const Enabled | hdrOnly |
| hdrOnly More... | |
Friends | |
| struct | DataModel::Detail::Befriend< Enabled > |
| std::ostream & | operator<< (std::ostream &stream, const Enabled::ValueType &value) |
| Operator to serialize ValueType to a stream More... | |
| std::ostream & | operator<< (std::ostream &stream, const Enabled &value) |
| Operator to serialize the value to a stream More... | |
This setting controls when tone mapping of colors is performed. Tone mapping will normalize the captured color image to the full available output range by applying a gain factor to the colors. For single-captures this can be used to brighten dark images. For HDR captures this is required to map high-dynamic-range colors to the more limited dynamic range output.
This setting has two possible values. Always will perform tone-mapping for all captures. HdrOnly will perform tone mapping for HDR captures but not for single-captures. It is not possible to disable tone mapping for HDR captures.
|
default |
Default constructor
|
inlineexplicitconstexpr |
Constructor
| bool Zivid::Settings::Processing::Color::Experimental::ToneMapping::Enabled::hasValue | ( | ) | const |
Check if the value is set
|
inline |
Comparison operator
|
inline |
Comparison operator
| void Zivid::Settings::Processing::Color::Experimental::ToneMapping::Enabled::reset | ( | ) |
Reset the node to unset state
| std::string Zivid::Settings::Processing::Color::Experimental::ToneMapping::Enabled::toString | ( | ) | const |
Get the value as string
|
inlinestatic |
All valid values of Enabled
| ValueType Zivid::Settings::Processing::Color::Experimental::ToneMapping::Enabled::value | ( | ) | const |
Get the value
If this object does not contain a value (see hasValue) then this method throws an exception.
|
friend |
|
friend |
Operator to serialize the value to a stream
|
friend |
Operator to serialize ValueType to a stream
|
static |
always
|
staticconstexpr |
The description for this value
|
static |
hdrOnly
|
staticconstexpr |
The name of this value
|
staticconstexpr |
The type of this node
|
staticconstexpr |
The full path for this value