Openholo  v1.1
Open Source Digital Holographic Library
KernelConst Struct Reference

#include <ophPointCloud_GPU.h>

Inheritance diagram for KernelConst:

Public Member Functions

 KernelConst (const int &n_points, const int &n_colors, const int &n_streams, const vec3 &scale_factor, const Real &offset_depth, const ivec2 &pixel_number, const vec2 &pixel_pitch, const vec2 &ss, const Real &k, const Real &lambda, const Real &ratio)
 
 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)
 
 KernelConst (const int &n_points, const int &n_colors, const int &n_streams, const vec3 &scale_factor, const Real &offset_depth, const ivec2 &pixel_number, const vec2 &pixel_pitch, const vec2 &ss, const Real &k, const Real &lambda, const Real &ratio)
 
 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)
 

Public Attributes

int n_points
 
int n_colors
 number of point cloud More...
 
int n_streams
 number of colors per 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...
 
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...
 
Real wrp_d
 number of streams More...
 
Real propa_d
 wrp location More...
 
Real zmax
 wave length = lambda; More...
 

Detailed Description

Definition at line 88 of file ophPointCloud_GPU.h.

Constructor & Destructor Documentation

◆ KernelConst() [1/4]

KernelConst::KernelConst ( const int &  n_points,
const int &  n_colors,
const int &  n_streams,
const vec3 &  scale_factor,
const Real offset_depth,
const ivec2 &  pixel_number,
const vec2 &  pixel_pitch,
const vec2 &  ss,
const Real k,
const Real lambda,
const Real ratio 
)
inline
Parameters
n_colorsnumber of point cloud
n_streamsnumber of colors per 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
pixel_pitchNumber of pixel of SLM in x, y direction
ssPixel pitch of SLM in x, y direction
k(pixel_x * nx), (pixel_y * ny)
lambdaWave Number = (2 * PI) / lambda
ratioWave length Wave ratio

Definition at line 111 of file ophPointCloud_GPU.h.

◆ KernelConst() [2/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 
)
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 wave length

Definition at line 101 of file ophWRP_GPU.h.

◆ KernelConst() [3/4]

KernelConst::KernelConst ( const int &  n_points,
const int &  n_colors,
const int &  n_streams,
const vec3 &  scale_factor,
const Real offset_depth,
const ivec2 &  pixel_number,
const vec2 &  pixel_pitch,
const vec2 &  ss,
const Real k,
const Real lambda,
const Real ratio 
)
inline
Parameters
n_colorsnumber of point cloud
n_streamsnumber of colors per 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
pixel_pitchNumber of pixel of SLM in x, y direction
ssPixel pitch of SLM in x, y direction
k(pixel_x * nx), (pixel_y * ny)
lambdaWave Number = (2 * PI) / lambda
ratioWave length Wave ratio

Definition at line 111 of file ophPointCloud_GPU.h.

◆ KernelConst() [4/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 
)
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 wave length

Definition at line 101 of file ophWRP_GPU.h.

Member Data Documentation

◆ half_ss_X

double KernelConst::half_ss_X

Pixel pitch of SLM in y direction.

Definition at line 105 of file ophPointCloud_GPU.h.

◆ half_ss_Y

double KernelConst::half_ss_Y

(pixel_x * nx) / 2

Definition at line 106 of file ophPointCloud_GPU.h.

◆ k

double KernelConst::k

(pixel_y * ny) / 2

Pixel pitch of SLM in y direction.

Definition at line 108 of file ophPointCloud_GPU.h.

◆ lambda

double KernelConst::lambda

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

Definition at line 109 of file ophPointCloud_GPU.h.

◆ n_colors

int KernelConst::n_colors

number of point cloud

Definition at line 90 of file ophPointCloud_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 colors per point cloud

Definition at line 91 of file ophPointCloud_GPU.h.

◆ offset_depth

double KernelConst::offset_depth

Scaling factor of z coordinate of point cloud.

Definition at line 97 of file ophPointCloud_GPU.h.

◆ pn_X

int KernelConst::pn_X

Offset value of point cloud in z direction.

propagation distance

Definition at line 99 of file ophPointCloud_GPU.h.

◆ pn_Y

int KernelConst::pn_Y

Number of pixel of SLM in x direction.

Definition at line 100 of file ophPointCloud_GPU.h.

◆ pp_X

double KernelConst::pp_X

Number of pixel of SLM in y direction.

Definition at line 102 of file ophPointCloud_GPU.h.

◆ pp_Y

double KernelConst::pp_Y

Pixel pitch of SLM in x direction.

Definition at line 103 of file ophPointCloud_GPU.h.

◆ propa_d

Real KernelConst::propa_d

wrp location

Definition at line 88 of file ophWRP_GPU.h.

◆ scale_X

double KernelConst::scale_X

number of streams

Definition at line 93 of file ophPointCloud_GPU.h.

◆ scale_Y

double KernelConst::scale_Y

Scaling factor of x coordinate of point cloud.

Definition at line 94 of file ophPointCloud_GPU.h.

◆ scale_Z

double KernelConst::scale_Z

Scaling factor of y coordinate of point cloud.

Definition at line 95 of file ophPointCloud_GPU.h.

◆ wrp_d

Real KernelConst::wrp_d

number of streams

Definition at line 87 of file ophWRP_GPU.h.

◆ zmax

Real KernelConst::zmax

wave length = lambda;

Definition at line 99 of file ophWRP_GPU.h.


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