Openholo  v4.1
Open Source Digital Holographic Library
OpenholoGeneration Namespace Reference

Functions

def plyfile (file, progress=gr.Progress(track_tqdm=True))
 
def rgbfile (file, progress=gr.Progress(track_tqdm="True"))
 
def depthfile (file, progress=gr.Progress(track_tqdm="True"))
 
def lightfile (directory, progress=gr.Progress(track_tqdm="True"))
 
def trimeshfile (file, progress=gr.Progress(track_tqdm=True))
 
def wrpplyfile (file, progress=gr.Progress(track_tqdm=True))
 
def pointXmlParing (file)
 
def depthXmlParing (file)
 
def lightXmlParing (file)
 
def trimeshXmlParing (file)
 
def wrpXmlParing (file)
 
def pointGenerate (Diffraction, Encoding, Precision, pc_mode)
 
def depthGenerate (Encoding, pc_mode)
 
def lightGenerate (Encoding, pc_mode)
 
def trimeshGenerate (Encoding, pc_mode)
 
def wrpGenerate (Encoding, pc_mode)
 

Variables

string PointConfig = ""
 
string DepthConfig = ""
 
string LightConfig = ""
 
string TrimeshConfig = ""
 
string WrpConfig = ""
 
string ply = ""
 
string rgb = ""
 
string depth = ""
 
string light = ""
 
string trimesh = ""
 
string wrpply = ""
 
 theme
 
 css
 
 title
 
 label
 
 pointxml = gr.File(label="Choose a PointCloud Config (.xml) File to Upload",interactive="True")
 
 plyout = gr.Textbox(label="[Warning] Please wait until the size of the ply file to be uploaded is large and displayed in the temporary path in the text box below. The upload is complete when the box below is displayed.")
 
 point_Scale_X = gr.Textbox(label = "Scale X", placeholder="0.01")
 
 s
 
 inputs
 
 point_Scale_Y = gr.Textbox(label = "Scale Y", placeholder="0.01")
 
 point_Scale_Z = gr.Textbox(label = "Scale Z", placeholder="0.01")
 
 point_Distance_pre = gr.Textbox(label = "Distance", placeholder="0.5")
 
 point_PixelPitch_X = gr.Textbox(label = "PixelPitch X", placeholder="10e-6")
 
 point_PixelPitch_Y = gr.Textbox(label = "PixelPitch Y", placeholder="10e-6")
 
 point_PixelNum_X = gr.Textbox(label = "PixelNum X", placeholder="1920")
 
 point_PixelNum_Y = gr.Textbox(label = "PixelNum Y", placeholder="1080")
 
 point_WaveLength_1 = gr.Textbox(label = "WaveLength1", placeholder="638e-9")
 
 point_WaveLength_2 = gr.Textbox(label = "WaveLength2", placeholder="520e-9")
 
 point_WaveLength_3 = gr.Textbox(label = "WaveLength3", placeholder="450e-9")
 
 Diffraction = gr.Dropdown(['R-S','Fresnel'], value="R-S", label = "Diffraction Flag" , info="Choose an flag!")
 
 Encoding = gr.Dropdown(['Phase','Amplitude','Real','Imaginary'], value="Phase", label = "Encoding Method" , info="Choose an encoding!")
 
 Precision = gr.Radio(["single", "double"], value="single", label="Precision (GPGPU)")
 
 pc_mode = gr.Radio(["CPU", "GPU"], value="GPU", label="CPU / GPU")
 
 pointOutput = gr.Image(label="Point Cloud Bmp")
 
 pointGen = gr.Button(value = "Generate Point Cloud Hologram")
 
 fn
 
 pointXmlParing
 
 outputs
 
 plyfile
 
 show_progress
 
 pointGenerate
 
 depthxml = gr.File(label="Choose a Depthmap Xml File to Upload",interactive="True")
 
 bmprgb = gr.File(label="Choose a Rgb File to Upload",interactive="True")
 
 rgbout = gr.Textbox(label="[Warning] Please wait until the size of the rgb file to be uploaded is large and displayed in the temporary path in the text box below. The upload is complete when the box below is displayed.")
 
 bmpdepth = gr.File(label="Choose a Depthmap File to Upload",interactive="True")
 
 depthout = gr.Textbox(label="[Warning] Please wait until the size of the depth file to be uploaded is large and displayed in the temporary path in the text box below. The upload is complete when the box below is displayed.")
 
 depth_FieldLength = gr.Textbox(label = "Field Lens(m)", placeholder="1000e-3")
 
 depth_NumOfDepth = gr.Textbox(label = "Num Of Depth", placeholder="256")
 
 depth_NearOfDepth = gr.Textbox(label = "Near Depth(m)", placeholder="0.4")
 
 depth_FarOfDepth = gr.Textbox(label = "Far Depth(m)", placeholder="0.6")
 
 depth_PixelPitchX = gr.Textbox(label = "PixelPitch X(m)", placeholder="10e-6")
 
 depth_PixelPitchY = gr.Textbox(label = "PixelPitch Y(m)", placeholder="10e-6")
 
 depth_PixelNumX = gr.Textbox(label = "PixelNum X", placeholder="1920")
 
 depth_PixelNumY = gr.Textbox(label = "PixelNum Y", placeholder="1080")
 
 depth_WaveLength1 = gr.Textbox(label = "WaveLength1(m)", placeholder="638e-9")
 
 depth_WaveLength2 = gr.Textbox(label = "WaveLength2(m)", placeholder="520e-9")
 
 depth_WaveLength3 = gr.Textbox(label = "WaveLength3(m)", placeholder="450e-9")
 
 Propagation = gr.Dropdown(['Angular Spectrum'], value="Angular Spectrum", label = "Propagation Method" , info="Choose an Propagation!")
 
 depthXmlParing
 
 rgbfile
 
 depthfile
 
 depthOutput = gr.Image(label="DepthMap Bmp")
 
 depthGen = gr.Button(value = "Generate DepthMap Hologram")
 
 depthGenerate
 
 lightxml = gr.File(label="Choose a LightField Xml File to Upload",interactive="True")
 
 lightbmp = gr.File(label="Image Folder to Upload",interactive="True", file_count="directory")
 
 light_Distance = gr.Textbox(label = "Distance", placeholder="0.5")
 
 light_Image_NumOfX = gr.Textbox(label = "Num of Img X", placeholder="10")
 
 light_Image_NumOfY = gr.Textbox(label = "Num of Img Y", placeholder="10")
 
 light_PixelPitchX = gr.Textbox(label = "PixelPitch X(m)", placeholder="1e-5")
 
 light_PixelPitchY = gr.Textbox(label = "PixelPitch Y(m)", placeholder="1e-5")
 
 light_PixelNumX = gr.Textbox(label = "PixelNum X", placeholder="1920")
 
 light_PixelNumY = gr.Textbox(label = "PixelNum Y", placeholder="1080")
 
 light_WaveLength1 = gr.Textbox(label = "WaveLength1(m)", placeholder="638e-9")
 
 light_WaveLength2 = gr.Textbox(label = "WaveLength2(m)", placeholder="520e-9")
 
 light_WaveLength3 = gr.Textbox(label = "WaveLength3(m)", placeholder="450e-9")
 
 lightXmlParing
 
 lightfile
 
 lightOutput = gr.Image(label="LightField Bmp")
 
 lightGen = gr.Button(value = "Generate LightField Hologram")
 
 lightGenerate
 
 trimeshxml = gr.File(label="Choose a Triangle Mesh Config (.xml) File to Upload",interactive="True")
 
 trimeshply = gr.File(label="Choose a Triangle Mesh (*.ply) File to Upload",interactive="True")
 
 trimeshplyout = gr.Textbox(label="[Warning] Please wait until the size of the Triangle Mesh file to be uploaded is large and displayed in the temporary path in the text box below. The upload is complete when the box below is displayed.")
 
 trimesh_Scale_X = gr.Textbox(label = "Scale X", placeholder="0.005")
 
 trimesh_Scale_Y = gr.Textbox(label = "Scale Y", placeholder="0.005")
 
 trimesh_Scale_Z = gr.Textbox(label = "Scale Z", placeholder="0.005")
 
 trimesh_LampDirection_X = gr.Textbox(label = "LampDirectionX", placeholder="0")
 
 trimesh_LampDirection_Y = gr.Textbox(label = "LampDirectionY", placeholder="0.3")
 
 trimesh_LampDirection_Z = gr.Textbox(label = "LampDirectionZ", placeholder="1")
 
 trimesh_PixelPitch_X = gr.Textbox(label = "PixelPitch X", placeholder="10e-6")
 
 trimesh_PixelPitch_Y = gr.Textbox(label = "PixelPitch Y", placeholder="10e-6")
 
 trimesh_PixelNum_X = gr.Textbox(label = "PixelNum X", placeholder="1920")
 
 trimesh_PixelNum_Y = gr.Textbox(label = "PixelNum Y", placeholder="1080")
 
 trimesh_WaveLength_1 = gr.Textbox(label = "WaveLength1", placeholder="638e-9")
 
 trimesh_WaveLength_2 = gr.Textbox(label = "WaveLength2", placeholder="520e-9")
 
 trimesh_WaveLength_3 = gr.Textbox(label = "WaveLength3", placeholder="450e-9")
 
 trimeshOutput = gr.Image(label="Triangle Mesh Bmp")
 
 trimeshGen = gr.Button(value = "Generate Triangle Mesh Hologram")
 
 trimeshXmlParing
 
 trimeshfile
 
 trimeshGenerate
 
 wrpxml = gr.File(label="Choose a WRP Config (.xml) File to Upload",interactive="True")
 
 wrpplyout = gr.Textbox(label="[Warning] Please wait until the size of the ply file to be uploaded is large and displayed in the temporary path in the text box below. The upload is complete when the box below is displayed.")
 
 wrp_Scale_X = gr.Textbox(label = "Scale X", placeholder="0.0015")
 
 wrp_Scale_Y = gr.Textbox(label = "Scale Y", placeholder="0.0015")
 
 wrp_Scale_Z = gr.Textbox(label = "Scale Z", placeholder="0.0015")
 
 wrp_Distance = gr.Textbox(label = "Distance", placeholder="0.5")
 
 wrp_NumOf_WRP = gr.Textbox(label = "NumOfWRP", placeholder="1")
 
 wrp_WRP_Location = gr.Textbox(label = "LocationOfWRP", placeholder="0.003")
 
 wrp_PixelPitch_X = gr.Textbox(label = "PixelPitch X", placeholder="1e-5")
 
 wrp_PixelPitch_Y = gr.Textbox(label = "PixelPitch Y", placeholder="1e-5")
 
 wrp_PixelNum_X = gr.Textbox(label = "PixelNum X", placeholder="1920")
 
 wrp_PixelNum_Y = gr.Textbox(label = "PixelNum Y", placeholder="1080")
 
 wrp_WaveLength_1 = gr.Textbox(label = "WaveLength1", placeholder="638e-9")
 
 wrp_WaveLength_2 = gr.Textbox(label = "WaveLength2", placeholder="520e-9")
 
 wrp_WaveLength_3 = gr.Textbox(label = "WaveLength3", placeholder="450e-9")
 
 wrpOutput = gr.Image(label="WRP Bmp")
 
 wrpGen = gr.Button(value = "Generate WRP Hologram")
 
 wrpXmlParing
 
 wrpplyfile
 
 wrpGenerate
 
 concurrency_count
 
 share
 

Function Documentation

◆ depthfile()

def OpenholoGeneration.depthfile (   file,
  progress = gr.Progress(track_tqdm="True") 
)

Definition at line 57 of file OpenholoGeneration.py.

◆ depthGenerate()

def OpenholoGeneration.depthGenerate (   Encoding,
  pc_mode 
)

Definition at line 327 of file OpenholoGeneration.py.

◆ depthXmlParing()

def OpenholoGeneration.depthXmlParing (   file)

Definition at line 150 of file OpenholoGeneration.py.

◆ lightfile()

def OpenholoGeneration.lightfile (   directory,
  progress = gr.Progress(track_tqdm="True") 
)

Definition at line 77 of file OpenholoGeneration.py.

◆ lightGenerate()

def OpenholoGeneration.lightGenerate (   Encoding,
  pc_mode 
)

Definition at line 357 of file OpenholoGeneration.py.

◆ lightXmlParing()

def OpenholoGeneration.lightXmlParing (   file)

Definition at line 184 of file OpenholoGeneration.py.

◆ plyfile()

def OpenholoGeneration.plyfile (   file,
  progress = gr.Progress(track_tqdm=True) 
)

Definition at line 24 of file OpenholoGeneration.py.

◆ pointGenerate()

def OpenholoGeneration.pointGenerate (   Diffraction,
  Encoding,
  Precision,
  pc_mode 
)

Definition at line 290 of file OpenholoGeneration.py.

◆ pointXmlParing()

def OpenholoGeneration.pointXmlParing (   file)

Definition at line 118 of file OpenholoGeneration.py.

◆ rgbfile()

def OpenholoGeneration.rgbfile (   file,
  progress = gr.Progress(track_tqdm="True") 
)

Definition at line 37 of file OpenholoGeneration.py.

◆ trimeshfile()

def OpenholoGeneration.trimeshfile (   file,
  progress = gr.Progress(track_tqdm=True) 
)

Definition at line 92 of file OpenholoGeneration.py.

◆ trimeshGenerate()

def OpenholoGeneration.trimeshGenerate (   Encoding,
  pc_mode 
)

Definition at line 383 of file OpenholoGeneration.py.

◆ trimeshXmlParing()

def OpenholoGeneration.trimeshXmlParing (   file)

Definition at line 215 of file OpenholoGeneration.py.

◆ wrpGenerate()

def OpenholoGeneration.wrpGenerate (   Encoding,
  pc_mode 
)

Definition at line 409 of file OpenholoGeneration.py.

◆ wrpplyfile()

def OpenholoGeneration.wrpplyfile (   file,
  progress = gr.Progress(track_tqdm=True) 
)

Definition at line 105 of file OpenholoGeneration.py.

◆ wrpXmlParing()

def OpenholoGeneration.wrpXmlParing (   file)

Definition at line 252 of file OpenholoGeneration.py.

Variable Documentation

◆ bmpdepth

OpenholoGeneration.bmpdepth = gr.File(label="Choose a Depthmap File to Upload",interactive="True")

Definition at line 513 of file OpenholoGeneration.py.

◆ bmprgb

OpenholoGeneration.bmprgb = gr.File(label="Choose a Rgb File to Upload",interactive="True")

Definition at line 510 of file OpenholoGeneration.py.

◆ concurrency_count

OpenholoGeneration.concurrency_count

Definition at line 749 of file OpenholoGeneration.py.

◆ css

OpenholoGeneration.css

Definition at line 438 of file OpenholoGeneration.py.

◆ depth

string OpenholoGeneration.depth = ""

Definition at line 19 of file OpenholoGeneration.py.

◆ depth_FarOfDepth

OpenholoGeneration.depth_FarOfDepth = gr.Textbox(label = "Far Depth(m)", placeholder="0.6")

Definition at line 527 of file OpenholoGeneration.py.

◆ depth_FieldLength

OpenholoGeneration.depth_FieldLength = gr.Textbox(label = "Field Lens(m)", placeholder="1000e-3")

Definition at line 517 of file OpenholoGeneration.py.

◆ depth_NearOfDepth

OpenholoGeneration.depth_NearOfDepth = gr.Textbox(label = "Near Depth(m)", placeholder="0.4")

Definition at line 524 of file OpenholoGeneration.py.

◆ depth_NumOfDepth

OpenholoGeneration.depth_NumOfDepth = gr.Textbox(label = "Num Of Depth", placeholder="256")

Definition at line 520 of file OpenholoGeneration.py.

◆ depth_PixelNumX

OpenholoGeneration.depth_PixelNumX = gr.Textbox(label = "PixelNum X", placeholder="1920")

Definition at line 538 of file OpenholoGeneration.py.

◆ depth_PixelNumY

OpenholoGeneration.depth_PixelNumY = gr.Textbox(label = "PixelNum Y", placeholder="1080")

Definition at line 541 of file OpenholoGeneration.py.

◆ depth_PixelPitchX

OpenholoGeneration.depth_PixelPitchX = gr.Textbox(label = "PixelPitch X(m)", placeholder="10e-6")

Definition at line 531 of file OpenholoGeneration.py.

◆ depth_PixelPitchY

OpenholoGeneration.depth_PixelPitchY = gr.Textbox(label = "PixelPitch Y(m)", placeholder="10e-6")

Definition at line 534 of file OpenholoGeneration.py.

◆ depth_WaveLength1

OpenholoGeneration.depth_WaveLength1 = gr.Textbox(label = "WaveLength1(m)", placeholder="638e-9")

Definition at line 545 of file OpenholoGeneration.py.

◆ depth_WaveLength2

OpenholoGeneration.depth_WaveLength2 = gr.Textbox(label = "WaveLength2(m)", placeholder="520e-9")

Definition at line 548 of file OpenholoGeneration.py.

◆ depth_WaveLength3

OpenholoGeneration.depth_WaveLength3 = gr.Textbox(label = "WaveLength3(m)", placeholder="450e-9")

Definition at line 551 of file OpenholoGeneration.py.

◆ DepthConfig

string OpenholoGeneration.DepthConfig = ""

Definition at line 13 of file OpenholoGeneration.py.

◆ depthfile

OpenholoGeneration.depthfile

Definition at line 563 of file OpenholoGeneration.py.

◆ depthGen

OpenholoGeneration.depthGen = gr.Button(value = "Generate DepthMap Hologram")

Definition at line 565 of file OpenholoGeneration.py.

◆ depthGenerate

OpenholoGeneration.depthGenerate

Definition at line 566 of file OpenholoGeneration.py.

◆ depthout

OpenholoGeneration.depthout = gr.Textbox(label="[Warning] Please wait until the size of the depth file to be uploaded is large and displayed in the temporary path in the text box below. The upload is complete when the box below is displayed.")

Definition at line 514 of file OpenholoGeneration.py.

◆ depthOutput

OpenholoGeneration.depthOutput = gr.Image(label="DepthMap Bmp")

Definition at line 564 of file OpenholoGeneration.py.

◆ depthxml

OpenholoGeneration.depthxml = gr.File(label="Choose a Depthmap Xml File to Upload",interactive="True")

Definition at line 508 of file OpenholoGeneration.py.

◆ depthXmlParing

OpenholoGeneration.depthXmlParing

Definition at line 561 of file OpenholoGeneration.py.

◆ Diffraction

OpenholoGeneration.Diffraction = gr.Dropdown(['R-S','Fresnel'], value="R-S", label = "Diffraction Flag" , info="Choose an flag!")

Definition at line 489 of file OpenholoGeneration.py.

◆ Encoding

OpenholoGeneration.Encoding = gr.Dropdown(['Phase','Amplitude','Real','Imaginary'], value="Phase", label = "Encoding Method" , info="Choose an encoding!")

Definition at line 491 of file OpenholoGeneration.py.

◆ fn

OpenholoGeneration.fn

Definition at line 500 of file OpenholoGeneration.py.

◆ inputs

OpenholoGeneration.inputs

Definition at line 453 of file OpenholoGeneration.py.

◆ label

OpenholoGeneration.label

Definition at line 442 of file OpenholoGeneration.py.

◆ light

string OpenholoGeneration.light = ""

Definition at line 20 of file OpenholoGeneration.py.

◆ light_Distance

OpenholoGeneration.light_Distance = gr.Textbox(label = "Distance", placeholder="0.5")

Definition at line 577 of file OpenholoGeneration.py.

◆ light_Image_NumOfX

OpenholoGeneration.light_Image_NumOfX = gr.Textbox(label = "Num of Img X", placeholder="10")

Definition at line 581 of file OpenholoGeneration.py.

◆ light_Image_NumOfY

OpenholoGeneration.light_Image_NumOfY = gr.Textbox(label = "Num of Img Y", placeholder="10")

Definition at line 584 of file OpenholoGeneration.py.

◆ light_PixelNumX

OpenholoGeneration.light_PixelNumX = gr.Textbox(label = "PixelNum X", placeholder="1920")

Definition at line 595 of file OpenholoGeneration.py.

◆ light_PixelNumY

OpenholoGeneration.light_PixelNumY = gr.Textbox(label = "PixelNum Y", placeholder="1080")

Definition at line 598 of file OpenholoGeneration.py.

◆ light_PixelPitchX

OpenholoGeneration.light_PixelPitchX = gr.Textbox(label = "PixelPitch X(m)", placeholder="1e-5")

Definition at line 588 of file OpenholoGeneration.py.

◆ light_PixelPitchY

OpenholoGeneration.light_PixelPitchY = gr.Textbox(label = "PixelPitch Y(m)", placeholder="1e-5")

Definition at line 591 of file OpenholoGeneration.py.

◆ light_WaveLength1

OpenholoGeneration.light_WaveLength1 = gr.Textbox(label = "WaveLength1(m)", placeholder="638e-9")

Definition at line 602 of file OpenholoGeneration.py.

◆ light_WaveLength2

OpenholoGeneration.light_WaveLength2 = gr.Textbox(label = "WaveLength2(m)", placeholder="520e-9")

Definition at line 605 of file OpenholoGeneration.py.

◆ light_WaveLength3

OpenholoGeneration.light_WaveLength3 = gr.Textbox(label = "WaveLength3(m)", placeholder="450e-9")

Definition at line 608 of file OpenholoGeneration.py.

◆ lightbmp

OpenholoGeneration.lightbmp = gr.File(label="Image Folder to Upload",interactive="True", file_count="directory")

Definition at line 574 of file OpenholoGeneration.py.

◆ LightConfig

string OpenholoGeneration.LightConfig = ""

Definition at line 14 of file OpenholoGeneration.py.

◆ lightfile

OpenholoGeneration.lightfile

Definition at line 617 of file OpenholoGeneration.py.

◆ lightGen

OpenholoGeneration.lightGen = gr.Button(value = "Generate LightField Hologram")

Definition at line 619 of file OpenholoGeneration.py.

◆ lightGenerate

OpenholoGeneration.lightGenerate

Definition at line 620 of file OpenholoGeneration.py.

◆ lightOutput

OpenholoGeneration.lightOutput = gr.Image(label="LightField Bmp")

Definition at line 618 of file OpenholoGeneration.py.

◆ lightxml

OpenholoGeneration.lightxml = gr.File(label="Choose a LightField Xml File to Upload",interactive="True")

Definition at line 572 of file OpenholoGeneration.py.

◆ lightXmlParing

OpenholoGeneration.lightXmlParing

Definition at line 616 of file OpenholoGeneration.py.

◆ outputs

OpenholoGeneration.outputs

Definition at line 500 of file OpenholoGeneration.py.

◆ pc_mode

OpenholoGeneration.pc_mode = gr.Radio(["CPU", "GPU"], value="GPU", label="CPU / GPU")

Definition at line 496 of file OpenholoGeneration.py.

◆ ply

OpenholoGeneration.ply = ""

Definition at line 17 of file OpenholoGeneration.py.

◆ plyfile

OpenholoGeneration.plyfile

Definition at line 501 of file OpenholoGeneration.py.

◆ plyout

OpenholoGeneration.plyout = gr.Textbox(label="[Warning] Please wait until the size of the ply file to be uploaded is large and displayed in the temporary path in the text box below. The upload is complete when the box below is displayed.")

Definition at line 449 of file OpenholoGeneration.py.

◆ point_Distance_pre

OpenholoGeneration.point_Distance_pre = gr.Textbox(label = "Distance", placeholder="0.5")

Definition at line 461 of file OpenholoGeneration.py.

◆ point_PixelNum_X

OpenholoGeneration.point_PixelNum_X = gr.Textbox(label = "PixelNum X", placeholder="1920")

Definition at line 472 of file OpenholoGeneration.py.

◆ point_PixelNum_Y

OpenholoGeneration.point_PixelNum_Y = gr.Textbox(label = "PixelNum Y", placeholder="1080")

Definition at line 475 of file OpenholoGeneration.py.

◆ point_PixelPitch_X

OpenholoGeneration.point_PixelPitch_X = gr.Textbox(label = "PixelPitch X", placeholder="10e-6")

Definition at line 465 of file OpenholoGeneration.py.

◆ point_PixelPitch_Y

OpenholoGeneration.point_PixelPitch_Y = gr.Textbox(label = "PixelPitch Y", placeholder="10e-6")

Definition at line 468 of file OpenholoGeneration.py.

◆ point_Scale_X

OpenholoGeneration.point_Scale_X = gr.Textbox(label = "Scale X", placeholder="0.01")

Definition at line 452 of file OpenholoGeneration.py.

◆ point_Scale_Y

OpenholoGeneration.point_Scale_Y = gr.Textbox(label = "Scale Y", placeholder="0.01")

Definition at line 455 of file OpenholoGeneration.py.

◆ point_Scale_Z

OpenholoGeneration.point_Scale_Z = gr.Textbox(label = "Scale Z", placeholder="0.01")

Definition at line 458 of file OpenholoGeneration.py.

◆ point_WaveLength_1

OpenholoGeneration.point_WaveLength_1 = gr.Textbox(label = "WaveLength1", placeholder="638e-9")

Definition at line 479 of file OpenholoGeneration.py.

◆ point_WaveLength_2

OpenholoGeneration.point_WaveLength_2 = gr.Textbox(label = "WaveLength2", placeholder="520e-9")

Definition at line 482 of file OpenholoGeneration.py.

◆ point_WaveLength_3

OpenholoGeneration.point_WaveLength_3 = gr.Textbox(label = "WaveLength3", placeholder="450e-9")

Definition at line 485 of file OpenholoGeneration.py.

◆ PointConfig

string OpenholoGeneration.PointConfig = ""

Definition at line 12 of file OpenholoGeneration.py.

◆ pointGen

OpenholoGeneration.pointGen = gr.Button(value = "Generate Point Cloud Hologram")

Definition at line 499 of file OpenholoGeneration.py.

◆ pointGenerate

OpenholoGeneration.pointGenerate

Definition at line 502 of file OpenholoGeneration.py.

◆ pointOutput

OpenholoGeneration.pointOutput = gr.Image(label="Point Cloud Bmp")

Definition at line 498 of file OpenholoGeneration.py.

◆ pointxml

OpenholoGeneration.pointxml = gr.File(label="Choose a PointCloud Config (.xml) File to Upload",interactive="True")

Definition at line 446 of file OpenholoGeneration.py.

◆ pointXmlParing

OpenholoGeneration.pointXmlParing

Definition at line 500 of file OpenholoGeneration.py.

◆ Precision

OpenholoGeneration.Precision = gr.Radio(["single", "double"], value="single", label="Precision (GPGPU)")

Definition at line 494 of file OpenholoGeneration.py.

◆ Propagation

OpenholoGeneration.Propagation = gr.Dropdown(['Angular Spectrum'], value="Angular Spectrum", label = "Propagation Method" , info="Choose an Propagation!")

Definition at line 555 of file OpenholoGeneration.py.

◆ rgb

string OpenholoGeneration.rgb = ""

Definition at line 18 of file OpenholoGeneration.py.

◆ rgbfile

OpenholoGeneration.rgbfile

Definition at line 562 of file OpenholoGeneration.py.

◆ rgbout

OpenholoGeneration.rgbout = gr.Textbox(label="[Warning] Please wait until the size of the rgb file to be uploaded is large and displayed in the temporary path in the text box below. The upload is complete when the box below is displayed.")

Definition at line 511 of file OpenholoGeneration.py.

◆ s

OpenholoGeneration.s

Definition at line 453 of file OpenholoGeneration.py.

◆ share

OpenholoGeneration.share

Definition at line 749 of file OpenholoGeneration.py.

◆ show_progress

OpenholoGeneration.show_progress

Definition at line 501 of file OpenholoGeneration.py.

◆ theme

OpenholoGeneration.theme

Definition at line 438 of file OpenholoGeneration.py.

◆ title

OpenholoGeneration.title

Definition at line 438 of file OpenholoGeneration.py.

◆ trimesh

string OpenholoGeneration.trimesh = ""

Definition at line 21 of file OpenholoGeneration.py.

◆ trimesh_LampDirection_X

OpenholoGeneration.trimesh_LampDirection_X = gr.Textbox(label = "LampDirectionX", placeholder="0")

Definition at line 642 of file OpenholoGeneration.py.

◆ trimesh_LampDirection_Y

OpenholoGeneration.trimesh_LampDirection_Y = gr.Textbox(label = "LampDirectionY", placeholder="0.3")

Definition at line 645 of file OpenholoGeneration.py.

◆ trimesh_LampDirection_Z

OpenholoGeneration.trimesh_LampDirection_Z = gr.Textbox(label = "LampDirectionZ", placeholder="1")

Definition at line 648 of file OpenholoGeneration.py.

◆ trimesh_PixelNum_X

OpenholoGeneration.trimesh_PixelNum_X = gr.Textbox(label = "PixelNum X", placeholder="1920")

Definition at line 659 of file OpenholoGeneration.py.

◆ trimesh_PixelNum_Y

OpenholoGeneration.trimesh_PixelNum_Y = gr.Textbox(label = "PixelNum Y", placeholder="1080")

Definition at line 662 of file OpenholoGeneration.py.

◆ trimesh_PixelPitch_X

OpenholoGeneration.trimesh_PixelPitch_X = gr.Textbox(label = "PixelPitch X", placeholder="10e-6")

Definition at line 652 of file OpenholoGeneration.py.

◆ trimesh_PixelPitch_Y

OpenholoGeneration.trimesh_PixelPitch_Y = gr.Textbox(label = "PixelPitch Y", placeholder="10e-6")

Definition at line 655 of file OpenholoGeneration.py.

◆ trimesh_Scale_X

OpenholoGeneration.trimesh_Scale_X = gr.Textbox(label = "Scale X", placeholder="0.005")

Definition at line 632 of file OpenholoGeneration.py.

◆ trimesh_Scale_Y

OpenholoGeneration.trimesh_Scale_Y = gr.Textbox(label = "Scale Y", placeholder="0.005")

Definition at line 635 of file OpenholoGeneration.py.

◆ trimesh_Scale_Z

OpenholoGeneration.trimesh_Scale_Z = gr.Textbox(label = "Scale Z", placeholder="0.005")

Definition at line 638 of file OpenholoGeneration.py.

◆ trimesh_WaveLength_1

OpenholoGeneration.trimesh_WaveLength_1 = gr.Textbox(label = "WaveLength1", placeholder="638e-9")

Definition at line 666 of file OpenholoGeneration.py.

◆ trimesh_WaveLength_2

OpenholoGeneration.trimesh_WaveLength_2 = gr.Textbox(label = "WaveLength2", placeholder="520e-9")

Definition at line 669 of file OpenholoGeneration.py.

◆ trimesh_WaveLength_3

OpenholoGeneration.trimesh_WaveLength_3 = gr.Textbox(label = "WaveLength3", placeholder="450e-9")

Definition at line 672 of file OpenholoGeneration.py.

◆ TrimeshConfig

string OpenholoGeneration.TrimeshConfig = ""

Definition at line 15 of file OpenholoGeneration.py.

◆ trimeshfile

OpenholoGeneration.trimeshfile

Definition at line 682 of file OpenholoGeneration.py.

◆ trimeshGen

OpenholoGeneration.trimeshGen = gr.Button(value = "Generate Triangle Mesh Hologram")

Definition at line 680 of file OpenholoGeneration.py.

◆ trimeshGenerate

OpenholoGeneration.trimeshGenerate

Definition at line 683 of file OpenholoGeneration.py.

◆ trimeshOutput

OpenholoGeneration.trimeshOutput = gr.Image(label="Triangle Mesh Bmp")

Definition at line 679 of file OpenholoGeneration.py.

◆ trimeshply

OpenholoGeneration.trimeshply = gr.File(label="Choose a Triangle Mesh (*.ply) File to Upload",interactive="True")

Definition at line 628 of file OpenholoGeneration.py.

◆ trimeshplyout

OpenholoGeneration.trimeshplyout = gr.Textbox(label="[Warning] Please wait until the size of the Triangle Mesh file to be uploaded is large and displayed in the temporary path in the text box below. The upload is complete when the box below is displayed.")

Definition at line 629 of file OpenholoGeneration.py.

◆ trimeshxml

OpenholoGeneration.trimeshxml = gr.File(label="Choose a Triangle Mesh Config (.xml) File to Upload",interactive="True")

Definition at line 626 of file OpenholoGeneration.py.

◆ trimeshXmlParing

OpenholoGeneration.trimeshXmlParing

Definition at line 681 of file OpenholoGeneration.py.

◆ wrp_Distance

OpenholoGeneration.wrp_Distance = gr.Textbox(label = "Distance", placeholder="0.5")

Definition at line 705 of file OpenholoGeneration.py.

◆ wrp_NumOf_WRP

OpenholoGeneration.wrp_NumOf_WRP = gr.Textbox(label = "NumOfWRP", placeholder="1")

Definition at line 708 of file OpenholoGeneration.py.

◆ wrp_PixelNum_X

OpenholoGeneration.wrp_PixelNum_X = gr.Textbox(label = "PixelNum X", placeholder="1920")

Definition at line 722 of file OpenholoGeneration.py.

◆ wrp_PixelNum_Y

OpenholoGeneration.wrp_PixelNum_Y = gr.Textbox(label = "PixelNum Y", placeholder="1080")

Definition at line 725 of file OpenholoGeneration.py.

◆ wrp_PixelPitch_X

OpenholoGeneration.wrp_PixelPitch_X = gr.Textbox(label = "PixelPitch X", placeholder="1e-5")

Definition at line 715 of file OpenholoGeneration.py.

◆ wrp_PixelPitch_Y

OpenholoGeneration.wrp_PixelPitch_Y = gr.Textbox(label = "PixelPitch Y", placeholder="1e-5")

Definition at line 718 of file OpenholoGeneration.py.

◆ wrp_Scale_X

OpenholoGeneration.wrp_Scale_X = gr.Textbox(label = "Scale X", placeholder="0.0015")

Definition at line 695 of file OpenholoGeneration.py.

◆ wrp_Scale_Y

OpenholoGeneration.wrp_Scale_Y = gr.Textbox(label = "Scale Y", placeholder="0.0015")

Definition at line 698 of file OpenholoGeneration.py.

◆ wrp_Scale_Z

OpenholoGeneration.wrp_Scale_Z = gr.Textbox(label = "Scale Z", placeholder="0.0015")

Definition at line 701 of file OpenholoGeneration.py.

◆ wrp_WaveLength_1

OpenholoGeneration.wrp_WaveLength_1 = gr.Textbox(label = "WaveLength1", placeholder="638e-9")

Definition at line 729 of file OpenholoGeneration.py.

◆ wrp_WaveLength_2

OpenholoGeneration.wrp_WaveLength_2 = gr.Textbox(label = "WaveLength2", placeholder="520e-9")

Definition at line 732 of file OpenholoGeneration.py.

◆ wrp_WaveLength_3

OpenholoGeneration.wrp_WaveLength_3 = gr.Textbox(label = "WaveLength3", placeholder="450e-9")

Definition at line 735 of file OpenholoGeneration.py.

◆ wrp_WRP_Location

OpenholoGeneration.wrp_WRP_Location = gr.Textbox(label = "LocationOfWRP", placeholder="0.003")

Definition at line 711 of file OpenholoGeneration.py.

◆ WrpConfig

string OpenholoGeneration.WrpConfig = ""

Definition at line 16 of file OpenholoGeneration.py.

◆ wrpGen

OpenholoGeneration.wrpGen = gr.Button(value = "Generate WRP Hologram")

Definition at line 743 of file OpenholoGeneration.py.

◆ wrpGenerate

OpenholoGeneration.wrpGenerate

Definition at line 746 of file OpenholoGeneration.py.

◆ wrpOutput

OpenholoGeneration.wrpOutput = gr.Image(label="WRP Bmp")

Definition at line 742 of file OpenholoGeneration.py.

◆ wrpply

OpenholoGeneration.wrpply = ""

Definition at line 22 of file OpenholoGeneration.py.

◆ wrpplyfile

OpenholoGeneration.wrpplyfile

Definition at line 745 of file OpenholoGeneration.py.

◆ wrpplyout

OpenholoGeneration.wrpplyout = gr.Textbox(label="[Warning] Please wait until the size of the ply file to be uploaded is large and displayed in the temporary path in the text box below. The upload is complete when the box below is displayed.")

Definition at line 692 of file OpenholoGeneration.py.

◆ wrpxml

OpenholoGeneration.wrpxml = gr.File(label="Choose a WRP Config (.xml) File to Upload",interactive="True")

Definition at line 689 of file OpenholoGeneration.py.

◆ wrpXmlParing

OpenholoGeneration.wrpXmlParing

Definition at line 744 of file OpenholoGeneration.py.