Openholo  v1.0
Open Source Digital Holographic Library
OphDepthMapConfig Struct Reference

Configuration for Depth Map. More...

#include <ophGen.h>

Public Member Functions

 OphDepthMapConfig ()
 

Public Attributes

Real fieldLength
 fieldLength variable for viewing window. More...
 
Real near_depthmap
 near value of depth in object More...
 
Real far_depthmap
 far value of depth in object More...
 
uint num_of_depth
 
vector< int > render_depth
 Used when only few specific depth levels are rendered, usually for test purpose. More...
 
bool FLAG_CHANGE_DEPTH_QUANTIZATION
 if true, change the depth quantization from the default value. More...
 
uint DEFAULT_DEPTH_QUANTIZATION
 default value of the depth quantization - 256 More...
 
uint NUMBER_OF_DEPTH_QUANTIZATION
 depth level of input depthmap. More...
 
bool RANDOM_PHASE
 If true, random phase is imposed on each depth layer. More...
 

Detailed Description

Configuration for Depth Map.

Parameters
RealfieldLength at config file
RealNEAR_OF_DEPTH_MAP at config file
RealFAR_OF_DEPTH_MAP at config file
oph::uintthe number of depth level.
if FLAG_CHANGE_DEPTH_QUANTIZATION == 0
num_of_depth = DEFAULT_DEPTH_QUANTIZATION
else
num_of_depth = NUMBER_OF_DEPTH_QUANTIZATION
std::vector<int>Used when only few specific depth levels are rendered, usually for test purpose
boolif true, change the depth quantization from the default value.
unsignedint default value of the depth quantization - 256
unsignedint depth level of input depthmap.
boolIf true, random phase is imposed on each depth layer.

Definition at line 463 of file ophGen.h.

Constructor & Destructor Documentation

◆ OphDepthMapConfig()

OphDepthMapConfig::OphDepthMapConfig ( )
inline

Definition at line 487 of file ophGen.h.

Member Data Documentation

◆ DEFAULT_DEPTH_QUANTIZATION

uint OphDepthMapConfig::DEFAULT_DEPTH_QUANTIZATION

default value of the depth quantization - 256

Definition at line 481 of file ophGen.h.

◆ far_depthmap

Real OphDepthMapConfig::far_depthmap

far value of depth in object

Definition at line 469 of file ophGen.h.

◆ fieldLength

Real OphDepthMapConfig::fieldLength

fieldLength variable for viewing window.

Definition at line 465 of file ophGen.h.

◆ FLAG_CHANGE_DEPTH_QUANTIZATION

bool OphDepthMapConfig::FLAG_CHANGE_DEPTH_QUANTIZATION

if true, change the depth quantization from the default value.

Definition at line 479 of file ophGen.h.

◆ near_depthmap

Real OphDepthMapConfig::near_depthmap

near value of depth in object

Definition at line 467 of file ophGen.h.

◆ num_of_depth

uint OphDepthMapConfig::num_of_depth

The number of depth level.
if FLAG_CHANGE_DEPTH_QUANTIZATION == 0
num_of_depth = DEFAULT_DEPTH_QUANTIZATION
else
num_of_depth = NUMBER_OF_DEPTH_QUANTIZATION

Definition at line 475 of file ophGen.h.

◆ NUMBER_OF_DEPTH_QUANTIZATION

uint OphDepthMapConfig::NUMBER_OF_DEPTH_QUANTIZATION

depth level of input depthmap.

Definition at line 483 of file ophGen.h.

◆ RANDOM_PHASE

bool OphDepthMapConfig::RANDOM_PHASE

If true, random phase is imposed on each depth layer.

Definition at line 485 of file ophGen.h.

◆ render_depth

vector<int> OphDepthMapConfig::render_depth

Used when only few specific depth levels are rendered, usually for test purpose.

Definition at line 477 of file ophGen.h.


The documentation for this struct was generated from the following file: