HologramDepthmap Library
Computing Depth Value
void HologramGenerator::GetDepthValues ()
 Calculate the physical distances of depth map layers. More...
 
void HologramGenerator::change_depth_quan_CPU ()
 Quantize depth map on the CPU, when the number of depth quantization is not the default value (i.e. FLAG_CHANGE_DEPTH_QUANTIZATION == 1 ). More...
 
void HologramGenerator::change_depth_quan_GPU ()
 Quantize depth map on the GPU, when the number of depth quantization is not the default value (i.e. FLAG_CHANGE_DEPTH_QUANTIZATION == 1 ). More...
 

Detailed Description

Function Documentation

◆ change_depth_quan_CPU()

void HologramGenerator::change_depth_quan_CPU ( )
private

Calculate the value of 'depth_index_'.

See also
GetDepthValues

Definition at line 74 of file HologramGenerator_CPU.cpp.

◆ change_depth_quan_GPU()

void HologramGenerator::change_depth_quan_GPU ( )
private

Calculate the value of 'depth_index_gpu_'.

See also
GetDepthValues

Definition at line 211 of file HologramGenerator_GPU.cpp.

◆ GetDepthValues()

void HologramGenerator::GetDepthValues ( )
private

Initialize 'dstep_' & 'dlevel_' variables. If FLAG_CHANGE_DEPTH_QUANTIZATION == 1, recalculate 'depth_index_' variable.

See also
change_depth_quan_CPU, change_depth_quan_GPU

Definition at line 391 of file HologramGenerator.cpp.