Openholo  v4.0
Open Source Digital Holographic Library
KernelConst Struct Reference

#include <ophLightField_GPU.h>

Inheritance diagram for KernelConst:

Public Member Functions

 KernelConst (const int &channel, const int &iAmp, const int &pnX, const int &pnY, const Real &ppX, const Real &ppY, const int &nX, const int &nY, const int &rX, const int &rY, const Real &distance, const Real &k, const Real &lambda, const bool &random_phase)
 
 KernelConst (const int &n_points, const int &n_streams, const vec3 &scale_factor, const Real &offset_depth, const ivec2 &pixel_number, const ivec2 &offset, const vec2 &pixel_pitch, const vec2 &ss, const Real &k, const Real &lambda)
 
 KernelConst (const int &n_points, const int &n_colors, const int &n_streams, const ivec2 &pixel_number, const vec2 &pixel_pitch, const Real wrp_dis, const Real propagation_distance, const Real depth_max, const Real &k, const Real &lambda, const bool &random_phase, const int &index_amplitude)
 
 KernelConst (const int &channel, const int &n_streams, const int &pnX, const int &pnY, const Real &ppX, const Real &ppY, const Real &propagation_distance, const Real &k, const Real &lambda, const bool &random_phase)
 

Public Attributes

int pnX
 
int pnY
 Number of pixel of SLM in x direction. More...
 
Real ppX
 
Real ppY
 
Real lambda
 Wave Number = (2 * PI) / lambda;. More...
 
Real pi2
 
Real k
 Pixel pitch of SLM in y direction. More...
 
Real distance
 number of streams More...
 
bool randomPhase
 
int nX
 
int nY
 
int rX
 
int rY
 
int nChannel
 
int iAmp
 
int n_points
 
int n_streams
 number of point cloud More...
 
double scale_X
 number of streams More...
 
double scale_Y
 Scaling factor of x coordinate of point cloud. More...
 
double scale_Z
 Scaling factor of y coordinate of point cloud. More...
 
double offset_depth
 Scaling factor of z coordinate of point cloud. More...
 
int pn_X
 Offset value of point cloud in z direction. More...
 
int pn_Y
 Number of pixel of SLM in x direction. More...
 
int offset_X
 Number of pixel of SLM in y direction. More...
 
int offset_Y
 
double pp_X
 Number of pixel of SLM in y direction. More...
 
double pp_Y
 Pixel pitch of SLM in x direction. More...
 
double half_ss_X
 Pixel pitch of SLM in y direction. More...
 
double half_ss_Y
 (pixel_x * nx) / 2 More...
 
double k
 (pixel_y * ny) / 2 More...
 
double lambda
 Wave Number = (2 * PI) / lambda;. More...
 
int n_colors
 number of point cloud More...
 
Real wrp_d
 number of streams More...
 
Real propa_d
 wrp location More...
 
Real zmax
 wave length = lambda; More...
 
bool bRandomPhase
 wave length = lambda; More...
 
int iAmplitude
 
double pi2
 
double tx
 
double ty
 
double det_tx
 
double det_ty
 
int channel
 
double ppX
 Number of pixel of SLM in y direction. More...
 
double ppY
 Pixel pitch of SLM in x direction. More...
 
double dx
 
double dy
 
double htx
 
double hty
 
double hdx
 
double hdy
 
double baseX
 
double baseY
 

Detailed Description

Definition at line 72 of file ophLightField_GPU.h.

Constructor & Destructor Documentation

◆ KernelConst() [1/4]

KernelConst::KernelConst ( const int &  channel,
const int &  iAmp,
const int &  pnX,
const int &  pnY,
const Real ppX,
const Real ppY,
const int &  nX,
const int &  nY,
const int &  rX,
const int &  rY,
const Real distance,
const Real k,
const Real lambda,
const bool &  random_phase 
)
inline

Definition at line 89 of file ophLightField_GPU.h.

◆ KernelConst() [2/4]

KernelConst::KernelConst ( const int &  n_points,
const int &  n_streams,
const vec3 scale_factor,
const Real offset_depth,
const ivec2 pixel_number,
const ivec2 offset,
const vec2 pixel_pitch,
const vec2 ss,
const Real k,
const Real lambda 
)
inline
Parameters
n_streamsnumber of point cloud
scale_factornumber of streams
offset_depthScaling factor of x, y, z coordinate of point cloud
pixel_numberOffset value of point cloud in z direction
offsetNumber of pixel of SLM in x, y direction
pixel_pitchstart offset
ssPixel pitch of SLM in x, y direction
k(pixel_x * nx), (pixel_y * ny)
lambdaWave Number = (2 * PI) / lambda Wave length

Definition at line 113 of file ophPointCloud_GPU.h.

◆ KernelConst() [3/4]

KernelConst::KernelConst ( const int &  n_points,
const int &  n_colors,
const int &  n_streams,
const ivec2 pixel_number,
const vec2 pixel_pitch,
const Real  wrp_dis,
const Real  propagation_distance,
const Real  depth_max,
const Real k,
const Real lambda,
const bool &  random_phase,
const int &  index_amplitude 
)
inline
Parameters
n_colorsnumber of point cloud
n_streamsnumber of colors per point cloud
pixel_pitchNumber of pixel of SLM in x, y direction
wrp_disPixel pitch of SLM in x, y direction
propagation_distanceWRP location
depth_maxpropagation distance
lambdaWave Number = (2 * PI) / lambda
random_phasewave length

Definition at line 108 of file ophWRP_GPU.h.

◆ KernelConst() [4/4]

KernelConst::KernelConst ( const int &  channel,
const int &  n_streams,
const int &  pnX,
const int &  pnY,
const Real ppX,
const Real ppY,
const Real propagation_distance,
const Real k,
const Real lambda,
const bool &  random_phase 
)
inline
Parameters
n_streamsnumber of colors per point cloud
pnYNumber of pixel of SLM in x, y direction
ppXNumber of pixel of SLM in x, y direction
ppYPixel pitch of SLM in x, y direction
propagation_distancePixel pitch of SLM in x, y direction
kpropagation distance
lambdaWave Number = (2 * PI) / lambda
random_phasewave length

Definition at line 107 of file ophRec_GPU.h.

Member Data Documentation

◆ baseX

double KernelConst::baseX

Definition at line 104 of file ophRec_GPU.h.

◆ baseY

double KernelConst::baseY

Definition at line 105 of file ophRec_GPU.h.

◆ bRandomPhase

bool KernelConst::bRandomPhase

wave length = lambda;

Definition at line 99 of file ophWRP_GPU.h.

◆ channel

int KernelConst::channel

Definition at line 78 of file ophRec_GPU.h.

◆ det_tx

double KernelConst::det_tx

Definition at line 105 of file ophWRP_GPU.h.

◆ det_ty

double KernelConst::det_ty

Definition at line 106 of file ophWRP_GPU.h.

◆ distance

Real KernelConst::distance

number of streams

Definition at line 80 of file ophLightField_GPU.h.

◆ dx

double KernelConst::dx

Definition at line 97 of file ophRec_GPU.h.

◆ dy

double KernelConst::dy

Definition at line 98 of file ophRec_GPU.h.

◆ half_ss_X

double KernelConst::half_ss_X

Pixel pitch of SLM in y direction.

Definition at line 107 of file ophPointCloud_GPU.h.

◆ half_ss_Y

double KernelConst::half_ss_Y

(pixel_x * nx) / 2

Definition at line 108 of file ophPointCloud_GPU.h.

◆ hdx

double KernelConst::hdx

Definition at line 101 of file ophRec_GPU.h.

◆ hdy

double KernelConst::hdy

Definition at line 102 of file ophRec_GPU.h.

◆ htx

double KernelConst::htx

Definition at line 99 of file ophRec_GPU.h.

◆ hty

double KernelConst::hty

Definition at line 100 of file ophRec_GPU.h.

◆ iAmp

int KernelConst::iAmp

Definition at line 87 of file ophLightField_GPU.h.

◆ iAmplitude

int KernelConst::iAmplitude

Definition at line 100 of file ophWRP_GPU.h.

◆ k [1/2]

double KernelConst::k

Pixel pitch of SLM in y direction.

Definition at line 79 of file ophLightField_GPU.h.

◆ k [2/2]

double KernelConst::k

(pixel_y * ny) / 2

Pixel pitch of SLM in y direction.

Definition at line 110 of file ophPointCloud_GPU.h.

◆ lambda [1/2]

double KernelConst::lambda

Wave Number = (2 * PI) / lambda;.

Definition at line 77 of file ophLightField_GPU.h.

◆ lambda [2/2]

double KernelConst::lambda

Wave Number = (2 * PI) / lambda;.

Definition at line 111 of file ophPointCloud_GPU.h.

◆ n_colors

int KernelConst::n_colors

number of point cloud

Definition at line 83 of file ophWRP_GPU.h.

◆ n_points

int KernelConst::n_points

Definition at line 89 of file ophPointCloud_GPU.h.

◆ n_streams

int KernelConst::n_streams

number of point cloud

number of colors per point cloud

Definition at line 90 of file ophPointCloud_GPU.h.

◆ nChannel

int KernelConst::nChannel

Definition at line 86 of file ophLightField_GPU.h.

◆ nX

int KernelConst::nX

Definition at line 82 of file ophLightField_GPU.h.

◆ nY

int KernelConst::nY

Definition at line 83 of file ophLightField_GPU.h.

◆ offset_depth

double KernelConst::offset_depth

Scaling factor of z coordinate of point cloud.

Definition at line 96 of file ophPointCloud_GPU.h.

◆ offset_X

int KernelConst::offset_X

Number of pixel of SLM in y direction.

Definition at line 101 of file ophPointCloud_GPU.h.

◆ offset_Y

int KernelConst::offset_Y

Definition at line 102 of file ophPointCloud_GPU.h.

◆ pi2 [1/2]

double KernelConst::pi2

Definition at line 78 of file ophLightField_GPU.h.

◆ pi2 [2/2]

double KernelConst::pi2

Definition at line 102 of file ophWRP_GPU.h.

◆ pn_X

int KernelConst::pn_X

Offset value of point cloud in z direction.

propagation distance

Definition at line 98 of file ophPointCloud_GPU.h.

◆ pn_Y

int KernelConst::pn_Y

Number of pixel of SLM in x direction.

Definition at line 99 of file ophPointCloud_GPU.h.

◆ pnX

int KernelConst::pnX

Definition at line 73 of file ophLightField_GPU.h.

◆ pnY

int KernelConst::pnY

Number of pixel of SLM in x direction.

Definition at line 74 of file ophLightField_GPU.h.

◆ pp_X

double KernelConst::pp_X

Number of pixel of SLM in y direction.

Definition at line 104 of file ophPointCloud_GPU.h.

◆ pp_Y

double KernelConst::pp_Y

Pixel pitch of SLM in x direction.

Definition at line 105 of file ophPointCloud_GPU.h.

◆ ppX [1/2]

Real KernelConst::ppX

Definition at line 75 of file ophLightField_GPU.h.

◆ ppX [2/2]

double KernelConst::ppX

Number of pixel of SLM in y direction.

Definition at line 86 of file ophRec_GPU.h.

◆ ppY [1/2]

Real KernelConst::ppY

Definition at line 76 of file ophLightField_GPU.h.

◆ ppY [2/2]

double KernelConst::ppY

Pixel pitch of SLM in x direction.

Definition at line 87 of file ophRec_GPU.h.

◆ propa_d

Real KernelConst::propa_d

wrp location

Definition at line 87 of file ophWRP_GPU.h.

◆ randomPhase

bool KernelConst::randomPhase

Definition at line 81 of file ophLightField_GPU.h.

◆ rX

int KernelConst::rX

Definition at line 84 of file ophLightField_GPU.h.

◆ rY

int KernelConst::rY

Definition at line 85 of file ophLightField_GPU.h.

◆ scale_X

double KernelConst::scale_X

number of streams

Definition at line 92 of file ophPointCloud_GPU.h.

◆ scale_Y

double KernelConst::scale_Y

Scaling factor of x coordinate of point cloud.

Definition at line 93 of file ophPointCloud_GPU.h.

◆ scale_Z

double KernelConst::scale_Z

Scaling factor of y coordinate of point cloud.

Definition at line 94 of file ophPointCloud_GPU.h.

◆ tx

double KernelConst::tx

Definition at line 103 of file ophWRP_GPU.h.

◆ ty

double KernelConst::ty

Definition at line 104 of file ophWRP_GPU.h.

◆ wrp_d

Real KernelConst::wrp_d

number of streams

Definition at line 86 of file ophWRP_GPU.h.

◆ zmax

Real KernelConst::zmax

wave length = lambda;

Definition at line 98 of file ophWRP_GPU.h.


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