Coder Social home page Coder Social logo

apetsiuk / 4f-optical-correlator-simulation Goto Github PK

View Code? Open in Web Editor NEW
28.0 1.0 7.0 956 KB

A Matlab simulation for a 4F Correlator system which is based on the Fourier transforming properties of lenses.

License: MIT License

MATLAB 100.00%
fourier-optics fourier-transform optics-simulation 4f optical-correlator diffraction diffraction-image diffraction-pattern lens analog-edge-detector

4f-optical-correlator-simulation's Introduction

4F Optical Correlator Simulation

A Matlab simulation for a 4F Correlator system which is based on the Fourier transforming properties of lenses.
Aliaksei Petsiuk, 2019


The 4F Optical Correlator system is based on the Fourier transforming properties of lenses. According to the Diffraction theory, a convex lens of focal length f will produce the Fourier transform at a distance f behind the lens of an object placed at f distance in front of the lens. These properties give us an opportunity to implement direct and inverse Fourier transforms of two-dimensional objects and modify and analyze their spatial frequency spectra.

Model of the experiment
Figure 0. Model of the experiment

Matlab Setup

An input is a transparent image of a black letter "A". Matlab simulation was performed for the following filter parameters:

Parameter Value
Pinhole diameter 255 microns
Band-pass filter 500 microns/300 microns
Slit long side 800 microns
Slits short side 120 microns
Spacing between centers of the slits 300 microns


Simulation Results

No Filter
Figure 1. No Filter

Pinhole.jpg
Figure 2. Pinhole

Horizontal Single Slit
Figure 3. Horizontal Single Slit

Horizontal Double Slit
Figure 4. Horizontal Double Slit

Vertical Single Slit
Figure 5. Vertical Single Slit

Vertical Double Slit
Figure 6. Vertical Double Slit

Fresnel Zone
Figure 7. Fresnel Zone

Mesh
Figure 8. Mesh

Aliaksei Petsiuk, 2019
โ€” end โ€”

4f-optical-correlator-simulation's People

Contributors

apetsiuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.