Openholo
v4.2
Open Source Digital Holographic Library
|
Public Member Functions | |
def | __init__ (self, plypath, method='RS', propagation_distance=1, angleX=0, angleY=0, Red=639 *nm, Green=525 *nm, Blue=463 *nm, SLM_width=3840, SLM_height=2160, scaleXY=0.03, scaleZ=0.25, pixel_pitch=3.6 *um, multicore=True) |
def | Cal (self, n, color='red') |
def | Conv_R (self, n) |
def | Conv_G (self, n) |
def | Conv_B (self, n) |
def | CalHolo (self, color='red') |
def | fft (self, f) |
def | ifft (self, f) |
def | SSB (self, ch) |
def | normalize (self, arr, type='angle') |
def | getRGBImage (self, R, G, B, fname, type='angle') |
def | getMonoImage (self, ch, fname) |
def | __init__ (self, plypath, method='RS', propagation_distance=1, angleX=0, angleY=0, Red=639 *nm, Green=525 *nm, Blue=463 *nm, SLM_width=3840, SLM_height=2160, scaleXY=0.03, scaleZ=0.25, pixel_pitch=3.6 *um, multicore=True) |
def | Cal (self, n, color='red') |
def | Conv_R (self, n) |
def | Conv_G (self, n) |
def | Conv_B (self, n) |
def | CalHolo (self, color='red') |
def | fft (self, f) |
def | ifft (self, f) |
def | SSB (self, ch) |
def | normalize (self, arr, type='angle') |
def | getRGBImage (self, R, G, B, fname, type='angle') |
def | getMonoImage (self, ch, fname) |
Public Attributes | |
z | |
methods | |
thetaX | |
thetaY | |
wvl_R | |
wvl_G | |
wvl_B | |
w | |
h | |
pp | |
scaleXY | |
scaleZ | |
plydata | |
num_cpu | |
num_point | |
Get Fringe pattern by Point Cloud data(.ply) Parameters plypath : .ply file path angle : phase shift angle Red, Green, Blue : wavelength of RGB color scale : scaling factor http://openholo.org/
Definition at line 63 of file PointCloud_multicore.py.
def ophpy.PointCloud_multicore.Propagation.__init__ | ( | self, | |
plypath, | |||
method = 'RS' , |
|||
propagation_distance = 1 , |
|||
angleX = 0 , |
|||
angleY = 0 , |
|||
Red = 639*nm , |
|||
Green = 525*nm , |
|||
Blue = 463*nm , |
|||
SLM_width = 3840 , |
|||
SLM_height = 2160 , |
|||
scaleXY = 0.03 , |
|||
scaleZ = 0.25 , |
|||
pixel_pitch = 3.6*um , |
|||
multicore = True |
|||
) |
Definition at line 76 of file PointCloud_multicore.py.
def ophpy.PointCloud_multicore.Propagation.__init__ | ( | self, | |
plypath, | |||
method = 'RS' , |
|||
propagation_distance = 1 , |
|||
angleX = 0 , |
|||
angleY = 0 , |
|||
Red = 639*nm , |
|||
Green = 525*nm , |
|||
Blue = 463*nm , |
|||
SLM_width = 3840 , |
|||
SLM_height = 2160 , |
|||
scaleXY = 0.03 , |
|||
scaleZ = 0.25 , |
|||
pixel_pitch = 3.6*um , |
|||
multicore = True |
|||
) |
Definition at line 76 of file PointCloud_multicore.py.
def ophpy.PointCloud_multicore.Propagation.Cal | ( | self, | |
n, | |||
color = 'red' |
|||
) |
Convolution
Definition at line 100 of file PointCloud_multicore.py.
def ophpy.PointCloud_multicore.Propagation.Cal | ( | self, | |
n, | |||
color = 'red' |
|||
) |
Convolution
Definition at line 100 of file PointCloud_multicore.py.
def ophpy.PointCloud_multicore.Propagation.CalHolo | ( | self, | |
color = 'red' |
|||
) |
Calculate hologram
Definition at line 125 of file PointCloud_multicore.py.
def ophpy.PointCloud_multicore.Propagation.CalHolo | ( | self, | |
color = 'red' |
|||
) |
Calculate hologram
Definition at line 125 of file PointCloud_multicore.py.
def ophpy.PointCloud_multicore.Propagation.Conv_B | ( | self, | |
n | |||
) |
Definition at line 122 of file PointCloud_multicore.py.
def ophpy.PointCloud_multicore.Propagation.Conv_B | ( | self, | |
n | |||
) |
Definition at line 122 of file PointCloud_multicore.py.
def ophpy.PointCloud_multicore.Propagation.Conv_G | ( | self, | |
n | |||
) |
Definition at line 119 of file PointCloud_multicore.py.
def ophpy.PointCloud_multicore.Propagation.Conv_G | ( | self, | |
n | |||
) |
Definition at line 119 of file PointCloud_multicore.py.
def ophpy.PointCloud_multicore.Propagation.Conv_R | ( | self, | |
n | |||
) |
Definition at line 116 of file PointCloud_multicore.py.
def ophpy.PointCloud_multicore.Propagation.Conv_R | ( | self, | |
n | |||
) |
Definition at line 116 of file PointCloud_multicore.py.
def ophpy.PointCloud_multicore.Propagation.fft | ( | self, | |
f | |||
) |
Definition at line 147 of file PointCloud_multicore.py.
def ophpy.PointCloud_multicore.Propagation.fft | ( | self, | |
f | |||
) |
Definition at line 147 of file PointCloud_multicore.py.
def ophpy.PointCloud_multicore.Propagation.getMonoImage | ( | self, | |
ch, | |||
fname | |||
) |
Get Single channel image
Definition at line 191 of file PointCloud_multicore.py.
def ophpy.PointCloud_multicore.Propagation.getMonoImage | ( | self, | |
ch, | |||
fname | |||
) |
Get Single channel image
Definition at line 191 of file PointCloud_multicore.py.
def ophpy.PointCloud_multicore.Propagation.getRGBImage | ( | self, | |
R, | |||
G, | |||
B, | |||
fname, | |||
type = 'angle' |
|||
) |
Get RGB image
Definition at line 181 of file PointCloud_multicore.py.
def ophpy.PointCloud_multicore.Propagation.getRGBImage | ( | self, | |
R, | |||
G, | |||
B, | |||
fname, | |||
type = 'angle' |
|||
) |
Get RGB image
Definition at line 181 of file PointCloud_multicore.py.
def ophpy.PointCloud_multicore.Propagation.ifft | ( | self, | |
f | |||
) |
Definition at line 150 of file PointCloud_multicore.py.
def ophpy.PointCloud_multicore.Propagation.ifft | ( | self, | |
f | |||
) |
Definition at line 150 of file PointCloud_multicore.py.
def ophpy.PointCloud_multicore.Propagation.normalize | ( | self, | |
arr, | |||
type = 'angle' |
|||
) |
normalize
Definition at line 163 of file PointCloud_multicore.py.
def ophpy.PointCloud_multicore.Propagation.normalize | ( | self, | |
arr, | |||
type = 'angle' |
|||
) |
normalize
Definition at line 163 of file PointCloud_multicore.py.
def ophpy.PointCloud_multicore.Propagation.SSB | ( | self, | |
ch | |||
) |
single side band encoding
Definition at line 153 of file PointCloud_multicore.py.
def ophpy.PointCloud_multicore.Propagation.SSB | ( | self, | |
ch | |||
) |
single side band encoding
Definition at line 153 of file PointCloud_multicore.py.
ophpy.PointCloud_multicore.Propagation.h |
Definition at line 85 of file PointCloud_multicore.py.
ophpy.PointCloud_multicore.Propagation.methods |
Definition at line 78 of file PointCloud_multicore.py.
ophpy.PointCloud_multicore.Propagation.num_cpu |
Definition at line 93 of file PointCloud_multicore.py.
ophpy.PointCloud_multicore.Propagation.num_point |
Definition at line 96 of file PointCloud_multicore.py.
ophpy.PointCloud_multicore.Propagation.plydata |
Definition at line 90 of file PointCloud_multicore.py.
ophpy.PointCloud_multicore.Propagation.pp |
Definition at line 86 of file PointCloud_multicore.py.
ophpy.PointCloud_multicore.Propagation.scaleXY |
Definition at line 87 of file PointCloud_multicore.py.
ophpy.PointCloud_multicore.Propagation.scaleZ |
Definition at line 88 of file PointCloud_multicore.py.
ophpy.PointCloud_multicore.Propagation.thetaX |
Definition at line 79 of file PointCloud_multicore.py.
ophpy.PointCloud_multicore.Propagation.thetaY |
Definition at line 80 of file PointCloud_multicore.py.
ophpy.PointCloud_multicore.Propagation.w |
Definition at line 84 of file PointCloud_multicore.py.
ophpy.PointCloud_multicore.Propagation.wvl_B |
Definition at line 83 of file PointCloud_multicore.py.
ophpy.PointCloud_multicore.Propagation.wvl_G |
Definition at line 82 of file PointCloud_multicore.py.
ophpy.PointCloud_multicore.Propagation.wvl_R |
Definition at line 81 of file PointCloud_multicore.py.
ophpy.PointCloud_multicore.Propagation.z |
Definition at line 77 of file PointCloud_multicore.py.