GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - PavanMohanN/FringeLib: FringeLib: Extracting Key Features from Holographic Images

BranchesTags
Open more actions menu

Latest commit

 

History

34 Commits
34 Commits

Folders and files

NameName
Last commit message
Last commit date
dist
dist
 
 
src/fringe_pack
src/fringe_pack
 
 
Amplitude_Dataset.zip
Amplitude_Dataset.zip
 
 
Phase_Dataset.zip
Phase_Dataset.zip
 
 
README.md
README.md
 
 
license.txt
license.txt
 
 
setup.py
setup.py
 
 
whl_implementation.ipynb
whl_implementation.ipynb
 
 

Repository files navigation

image

FringeLib: Extracting Key Features from Holographic Images

FringeLib is a Python library designed for extracting the main context from holographic images that require amplitude or phase correction. This library provides functionalities to enhance the quality and interpretability of such images, catering to both amplitude and phase correction needs.

Features

  • frng_a: Function to extract main context from images requiring amplitude correction. (both the functions can be called from FringeLib.pyc)
  • frng_p: Function to extract main context from images requiring phase correction.
  • Synthetic Datasets: Includes two synthetic datasets:
    • Amplitude Dataset: 100 images requiring amplitude correction.
    • Phase Dataset: 100 images requiring phase correction.

Library Installation

pip install numpy
pip install matplotlib
pip install opencv-python

Importing the libraries

import numpy as np
import matplotlib.pyplot as plt
import cv2

Installation

You can utilize FringeLib using the repo:

!git clone https://github.com/PavanMohanN/fringe_pack.git

Usage

Example Usage

import FringeLib

Example usage for image needing amplitude correction

result_a = FringeLib.frng_a(img) plt.imshow(result_a,cmap='gray')

Example usage for image needing phase correction

result_p = FringeLib.frng_p(img) plt.imshow(result_p,cmap='gray')

[whl_implementation.ipynb illustrates the utilization of the executable with os, numpy, matplotlib and cv2 as dependencies]

Project Directory Structure

FringeLib/ ├── dist/ │ └── fringe_pack-1.0-py3-none-any.whl # Distribution package (example) └── src/ └── fringe_pack/ ├── FringeLib.pyc # Package └── fringe_pack.egg-info/ # Package metadata ├── dependency_links.txt ├── PKG-INFO ├── requires.txt ├── SOURCES.txt └── top_level.txt

dist/: Contains distribution packages (whl files) generated for deployment.

src/: Directory containing the source code for the project.

fringe_pack/: Package directory where your library's modules and initialization reside.

fringe_pack.egg-info/: Directory containing metadata generated by packaging tools (setuptools, wheel). It includes dependency information and other package details.

image

Created in Jul 2024

@author: Pavan Mohan Neelamraju

Affiliation: Indian Institute of Technology Madras

Email: [email protected]

Personal Website 🔴🔵: [pavanmohan.netlify.app]


About

FringeLib: Extracting Key Features from Holographic Images

pavanmohann.github.io/

Topics

amplitude-distortionfringe-pattern-analysisimage-processingimage-rectificationphase-distortion

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.