Openholo  v4.2
Open Source Digital Holographic Library
Phase Shifting
Collaboration diagram for Phase Shifting:

Functions

bool ophSig::getComplexHFromPSDH (const char *fname0, const char *fname90, const char *fname180, const char *fname270)
 Extraction of complex field from 4 phase shifted interference patterns. More...
 
bool ophSig::getComplexHFrom3ArbStepPSDH (const char *f0, const char *f1, const char *f2, const char *fOI, const char *fRI, int nIter)
 Extraction of complex field from 3 phase shifted interference patterns with arbitrary unknown shifts. More...
 

Detailed Description

Algorithm

Reference

[ref] L.Z. CAi, Q. Liu, and X.L. Yang, Opt. Lett. 28(19) 1808 (2003)

Function Documentation

◆ getComplexHFrom3ArbStepPSDH()

bool ophSig::getComplexHFrom3ArbStepPSDH ( const char *  f0,
const char *  f1,
const char *  f2,
const char *  fOI,
const char *  fRI,
int  nIter 
)

Extraction of complex field from 3 phase shifted interference patterns with arbitrary unknown shifts.

Parameters
f0,f1,f2Input image files for 3 interference patterns
fOI,Inputimage file for object wave intensity
nIterThe number of the iterations in estimating the phase shift
Returns
if works well return 0 or error occurs return -1

temporary. only because save function clamps negative values to zero.

Definition at line 1729 of file ophSig.cpp.

◆ getComplexHFromPSDH()

bool ophSig::getComplexHFromPSDH ( const char *  fname0,
const char *  fname90,
const char *  fname180,
const char *  fname270 
)

Extraction of complex field from 4 phase shifted interference patterns.

Parameters
fname0,fname90,fname180,fname270Input image files for 4 interference patterns
Returns
if works well return 0 or error occurs return -1

Definition at line 1553 of file ophSig.cpp.