Openholo  v4.2
Open Source Digital Holographic Library
ophpy.PointCloud_multicore.Propagation Class Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__() [1/2]

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.

◆ __init__() [2/2]

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.

Member Function Documentation

◆ Cal() [1/2]

def ophpy.PointCloud_multicore.Propagation.Cal (   self,
  n,
  color = 'red' 
)
Convolution

Definition at line 100 of file PointCloud_multicore.py.

◆ Cal() [2/2]

def ophpy.PointCloud_multicore.Propagation.Cal (   self,
  n,
  color = 'red' 
)
Convolution

Definition at line 100 of file PointCloud_multicore.py.

◆ CalHolo() [1/2]

def ophpy.PointCloud_multicore.Propagation.CalHolo (   self,
  color = 'red' 
)
Calculate hologram

Definition at line 125 of file PointCloud_multicore.py.

◆ CalHolo() [2/2]

def ophpy.PointCloud_multicore.Propagation.CalHolo (   self,
  color = 'red' 
)
Calculate hologram

Definition at line 125 of file PointCloud_multicore.py.

◆ Conv_B() [1/2]

def ophpy.PointCloud_multicore.Propagation.Conv_B (   self,
  n 
)

Definition at line 122 of file PointCloud_multicore.py.

◆ Conv_B() [2/2]

def ophpy.PointCloud_multicore.Propagation.Conv_B (   self,
  n 
)

Definition at line 122 of file PointCloud_multicore.py.

◆ Conv_G() [1/2]

def ophpy.PointCloud_multicore.Propagation.Conv_G (   self,
  n 
)

Definition at line 119 of file PointCloud_multicore.py.

◆ Conv_G() [2/2]

def ophpy.PointCloud_multicore.Propagation.Conv_G (   self,
  n 
)

Definition at line 119 of file PointCloud_multicore.py.

◆ Conv_R() [1/2]

def ophpy.PointCloud_multicore.Propagation.Conv_R (   self,
  n 
)

Definition at line 116 of file PointCloud_multicore.py.

◆ Conv_R() [2/2]

def ophpy.PointCloud_multicore.Propagation.Conv_R (   self,
  n 
)

Definition at line 116 of file PointCloud_multicore.py.

◆ fft() [1/2]

def ophpy.PointCloud_multicore.Propagation.fft (   self,
  f 
)

Definition at line 147 of file PointCloud_multicore.py.

◆ fft() [2/2]

def ophpy.PointCloud_multicore.Propagation.fft (   self,
  f 
)

Definition at line 147 of file PointCloud_multicore.py.

◆ getMonoImage() [1/2]

def ophpy.PointCloud_multicore.Propagation.getMonoImage (   self,
  ch,
  fname 
)
Get Single channel image

Definition at line 191 of file PointCloud_multicore.py.

◆ getMonoImage() [2/2]

def ophpy.PointCloud_multicore.Propagation.getMonoImage (   self,
  ch,
  fname 
)
Get Single channel image

Definition at line 191 of file PointCloud_multicore.py.

◆ getRGBImage() [1/2]

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.

◆ getRGBImage() [2/2]

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.

◆ ifft() [1/2]

def ophpy.PointCloud_multicore.Propagation.ifft (   self,
  f 
)

Definition at line 150 of file PointCloud_multicore.py.

◆ ifft() [2/2]

def ophpy.PointCloud_multicore.Propagation.ifft (   self,
  f 
)

Definition at line 150 of file PointCloud_multicore.py.

◆ normalize() [1/2]

def ophpy.PointCloud_multicore.Propagation.normalize (   self,
  arr,
  type = 'angle' 
)
normalize

Definition at line 163 of file PointCloud_multicore.py.

◆ normalize() [2/2]

def ophpy.PointCloud_multicore.Propagation.normalize (   self,
  arr,
  type = 'angle' 
)
normalize

Definition at line 163 of file PointCloud_multicore.py.

◆ SSB() [1/2]

def ophpy.PointCloud_multicore.Propagation.SSB (   self,
  ch 
)
single side band encoding

Definition at line 153 of file PointCloud_multicore.py.

◆ SSB() [2/2]

def ophpy.PointCloud_multicore.Propagation.SSB (   self,
  ch 
)
single side band encoding

Definition at line 153 of file PointCloud_multicore.py.

Member Data Documentation

◆ h

ophpy.PointCloud_multicore.Propagation.h

Definition at line 85 of file PointCloud_multicore.py.

◆ methods

ophpy.PointCloud_multicore.Propagation.methods

Definition at line 78 of file PointCloud_multicore.py.

◆ num_cpu

ophpy.PointCloud_multicore.Propagation.num_cpu

Definition at line 93 of file PointCloud_multicore.py.

◆ num_point

ophpy.PointCloud_multicore.Propagation.num_point

Definition at line 96 of file PointCloud_multicore.py.

◆ plydata

ophpy.PointCloud_multicore.Propagation.plydata

Definition at line 90 of file PointCloud_multicore.py.

◆ pp

ophpy.PointCloud_multicore.Propagation.pp

Definition at line 86 of file PointCloud_multicore.py.

◆ scaleXY

ophpy.PointCloud_multicore.Propagation.scaleXY

Definition at line 87 of file PointCloud_multicore.py.

◆ scaleZ

ophpy.PointCloud_multicore.Propagation.scaleZ

Definition at line 88 of file PointCloud_multicore.py.

◆ thetaX

ophpy.PointCloud_multicore.Propagation.thetaX

Definition at line 79 of file PointCloud_multicore.py.

◆ thetaY

ophpy.PointCloud_multicore.Propagation.thetaY

Definition at line 80 of file PointCloud_multicore.py.

◆ w

ophpy.PointCloud_multicore.Propagation.w

Definition at line 84 of file PointCloud_multicore.py.

◆ wvl_B

ophpy.PointCloud_multicore.Propagation.wvl_B

Definition at line 83 of file PointCloud_multicore.py.

◆ wvl_G

ophpy.PointCloud_multicore.Propagation.wvl_G

Definition at line 82 of file PointCloud_multicore.py.

◆ wvl_R

ophpy.PointCloud_multicore.Propagation.wvl_R

Definition at line 81 of file PointCloud_multicore.py.

◆ z

ophpy.PointCloud_multicore.Propagation.z

Definition at line 77 of file PointCloud_multicore.py.


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