![]() |
Zivid C++ API 2.16.0+46cdaba6-1
|
Reprocessing re-runs the entire processing pipeline (including filters, color balance etc.) on a previously acquired frame. Reprocessing is available in Zivid Studio for captures with Diagnostics Mode enabled. The ReprocessingTime field is only set if this frame was reprocessed after it was initially captured, otherwise it will be unset. More...
#include <Zivid/FrameInfo.h>
Public Types | |
using | ValueType = std::chrono::microseconds |
The type of the underlying value. | |
Public Member Functions | |
ReprocessingTime ()=default | |
Default constructor. | |
constexpr | ReprocessingTime (std::chrono::microseconds value) |
Constructor. | |
std::chrono::microseconds | value () const |
Get the value. | |
bool | hasValue () const |
Check if the value is set. | |
void | reset () |
Reset the node to unset state. | |
std::string | toString () const |
Get the value as string. | |
bool | operator== (const ReprocessingTime &other) const |
Comparison operator. | |
bool | operator!= (const ReprocessingTime &other) const |
Comparison operator. | |
bool | operator< (const ReprocessingTime &other) const |
Comparison operator. | |
bool | operator> (const ReprocessingTime &other) const |
Comparison operator. | |
bool | operator<= (const ReprocessingTime &other) const |
Comparison operator. | |
bool | operator>= (const ReprocessingTime &other) const |
Comparison operator. | |
Static Public Member Functions | |
static constexpr Range< std::chrono::microseconds > | validRange () |
The range of valid values for ReprocessingTime. | |
Static Public Attributes | |
static constexpr DataModel::NodeType | nodeType = DataModel::NodeType::leafValue |
The type of this node. | |
static constexpr const char * | path { "Metrics/ReprocessingTime" } |
The full path for this value. | |
static constexpr const char * | name { "ReprocessingTime" } |
The name of this value. | |
static constexpr const char * | description |
The description for this value. | |
Friends | |
struct | DataModel::Detail::Befriend< ReprocessingTime > |
std::ostream & | operator<< (std::ostream &stream, const ReprocessingTime &value) |
Operator to serialize the value to a stream. | |
Reprocessing re-runs the entire processing pipeline (including filters, color balance etc.) on a previously acquired frame. Reprocessing is available in Zivid Studio for captures with Diagnostics Mode enabled. The ReprocessingTime field is only set if this frame was reprocessed after it was initially captured, otherwise it will be unset.
Reprocessing Time is the duration from the start of the reprocessing action and until all processing of the new frame has finished. After this time the 3D point cloud and/or 2D color image is ready and available on the GPU memory and can be copied to the system memory (RAM).
Reprocessing Time depends on the processing settings that are enabled, which capture engine that was used, the pixel sampling setting and the number of acquisitions used. Reprocessing Time also depends on the compute power of the compute device.
Note that for a frame that has been re-processed, the Acquisition Time and Capture Time refers to the originally captured frame. Only Reprocessing Time is updated in a reprocessed frame.
using Zivid::FrameInfo::Metrics::ReprocessingTime::ValueType = std::chrono::microseconds |
The type of the underlying value.
|
default |
Default constructor.
|
inlineexplicitconstexpr |
Constructor.
bool Zivid::FrameInfo::Metrics::ReprocessingTime::hasValue | ( | ) | const |
Check if the value is set.
|
inline |
Comparison operator.
|
inline |
Comparison operator.
|
inline |
Comparison operator.
|
inline |
Comparison operator.
|
inline |
Comparison operator.
|
inline |
Comparison operator.
void Zivid::FrameInfo::Metrics::ReprocessingTime::reset | ( | ) |
Reset the node to unset state.
std::string Zivid::FrameInfo::Metrics::ReprocessingTime::toString | ( | ) | const |
Get the value as string.
|
inlinestaticconstexpr |
The range of valid values for ReprocessingTime.
std::chrono::microseconds Zivid::FrameInfo::Metrics::ReprocessingTime::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.
|
staticconstexpr |
The description for this value.
|
staticconstexpr |
The name of this value.
|
staticconstexpr |
The type of this node.
|
staticconstexpr |
The full path for this value.