计算机三维全息仿真框架CGH

Computer-Generated-Hologram

仓库地址:https://github.com/JackHCC/Computer-Generated-Hologram

✨This library introduces the current production process of computer holography, and uses MATLAB and Python to record and reproduce holograms. In the future, I will build a computer hologram simulation framework or a simulation application program.

Introduction

CGH stands for computer-generated holograms (CGH). Holograms are unique in their ability to record both the intensity and phase of information.

CGH ClassDocumentLink
Circuitous Phase Type Hologram/Fourier Hologram【迂回位相型全息图】👉DocCode
Kinoform【相息图】👉DocCode
Fresnel Hologram【菲涅尔全息图】👉DocCode
Off Axis Interference Hologram【离轴干涉全息图】👉DocCode

Usage

Working on a hologram simulation API.

Please wait!

Experiment

Before Experiment

Before experimenting, it’s best to understand common image formats and their fundamentals. Understanding the pixel level of an image will help you experiment better and give you a better understanding of the fundamentals of image processing.

Here are some examples of images you should pay more attention to the suffix of the image, and the size of the image, so that you can work with the image later.

Fourier Hologram

Circuitous Phase Type Hologram/Fourier Hologram is Binary hologram.

DataSet

For this experiment we used this image for testing

Experimental Principle

Please read this Document.

Experimental Procedure

Two ways to do experiments are provided here, Matlab or Python, and you can choose the familiar way to run the code.

  • Run the fourier_hologram.m or fourier_hologram.py, They are in the Python and Matlab folders respectively.
  • Then you will get Circuitous Phase Type Hologram/Fourier Hologram below.

  • Finally, after running the program, you can get the reproduced graph and compare it with the original image.

Kinoform

DataSet

For this experiment we used this image for testing

Experimental Principle

Please read this Document.

Experimental Procedure

Two ways to do experiments are provided here, Matlab or Python, and you can choose the familiar way to run the code.

  • Run the kinoforms.m or kinoforms.py, They are in the Python and Matlab folders respectively.
  • Then you will get Kinoform below.

  • Finally, after running the program, you can get the reproduced graph and compare it with the original image.

Off Axis Interference Hologram

DataSet

For this experiment we used this image for testing

Experimental Principle

Please read this Document.

Experimental Procedure

Two ways to do experiments are provided here, Matlab or Python, and you can choose the familiar way to run the code.

  • Run the offaxis_interference_hologram.m or offaxis_interference_hologram.py, They are in the Python and Matlab folders respectively.
  • Then you will get Off Axis Interference Hologram below.

  • Finally, after running the program, you can get the reproduced graph and compare it with the original image.

Contact

If you have any questions or good ideas, please contact: jackcc0701@163.com

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

JackHCC

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值