OpenCV
4.1.1
Open Source Computer Vision

Class implementing twodimensional phase unwrapping based on [120] This algorithm belongs to the qualityguided phase unwrapping methods. First, it computes a reliability map from second differences between a pixel and its eight neighbours. Reliability values lie between 0 and 16*pi*pi. Then, this reliability map is used to compute the reliabilities of "edges". An edge is an entity defined by two pixels that are connected horizontally or vertically. Its reliability is found by adding the the reliabilities of the two pixels connected through it. Edges are sorted in a histogram based on their reliability values. This histogram is then used to unwrap pixels, starting from the highest quality pixel. More...
#include <opencv2/phase_unwrapping/histogramphaseunwrapping.hpp>
Classes  
struct  Params 
Parameters of phaseUnwrapping constructor. More...  
Public Member Functions  
virtual void  getInverseReliabilityMap (OutputArray reliabilityMap)=0 
Get the reliability map computed from the wrapped phase map. More...  
Public Member Functions inherited from cv::phase_unwrapping::PhaseUnwrapping  
virtual void  unwrapPhaseMap (InputArray wrappedPhaseMap, OutputArray unwrappedPhaseMap, InputArray shadowMask=noArray())=0 
Unwraps a 2D phase map. More...  
Public Member Functions inherited from cv::Algorithm  
Algorithm ()  
virtual  ~Algorithm () 
virtual void  clear () 
Clears the algorithm state. More...  
virtual bool  empty () const 
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. More...  
virtual String  getDefaultName () const 
virtual void  read (const FileNode &fn) 
Reads algorithm parameters from a file storage. More...  
virtual void  save (const String &filename) const 
virtual void  write (FileStorage &fs) const 
Stores algorithm parameters in a file storage. More...  
void  write (const Ptr< FileStorage > &fs, const String &name=String()) const 
simplified API for language bindings This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...  
Static Public Member Functions  
static Ptr< HistogramPhaseUnwrapping >  create (const HistogramPhaseUnwrapping::Params ¶meters=HistogramPhaseUnwrapping::Params()) 
Constructor. More...  
Static Public Member Functions inherited from cv::Algorithm  
template<typename _Tp >  
static Ptr< _Tp >  load (const String &filename, const String &objname=String()) 
Loads algorithm from the file. More...  
template<typename _Tp >  
static Ptr< _Tp >  loadFromString (const String &strModel, const String &objname=String()) 
Loads algorithm from a String. More...  
template<typename _Tp >  
static Ptr< _Tp >  read (const FileNode &fn) 
Reads algorithm from the file node. More...  
Additional Inherited Members  
Protected Member Functions inherited from cv::Algorithm  
void  writeFormat (FileStorage &fs) const 
Class implementing twodimensional phase unwrapping based on [120] This algorithm belongs to the qualityguided phase unwrapping methods. First, it computes a reliability map from second differences between a pixel and its eight neighbours. Reliability values lie between 0 and 16*pi*pi. Then, this reliability map is used to compute the reliabilities of "edges". An edge is an entity defined by two pixels that are connected horizontally or vertically. Its reliability is found by adding the the reliabilities of the two pixels connected through it. Edges are sorted in a histogram based on their reliability values. This histogram is then used to unwrap pixels, starting from the highest quality pixel.
The wrapped phase map and the unwrapped result are stored in CV_32FC1 Mat.

static 
Constructor.
parameters  HistogramPhaseUnwrapping parameters HistogramPhaseUnwrapping::Params: width,height of the phase map and histogram characteristics. 

pure virtual 
Python:  

reliabilityMap  =  cv.phase_unwrapping_HistogramPhaseUnwrapping.getInverseReliabilityMap(  [, reliabilityMap]  ) 
Get the reliability map computed from the wrapped phase map.
reliabilityMap  Image where the reliability map is stored. 