OpenCV for Unity  2.6.0
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.9.0/index.html ) for the details of the argument of the method.
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
OpenCVForUnity.Phase_unwrappingModule.HistogramPhaseUnwrapping Class Reference

Class implementing two-dimensional phase unwrapping based on [histogramUnwrapping] This algorithm belongs to the quality-guided 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...

Inheritance diagram for OpenCVForUnity.Phase_unwrappingModule.HistogramPhaseUnwrapping:
OpenCVForUnity.Phase_unwrappingModule.PhaseUnwrapping OpenCVForUnity.CoreModule.Algorithm OpenCVForUnity.DisposableOpenCVObject OpenCVForUnity.DisposableObject

Public Member Functions

void getInverseReliabilityMap (Mat reliabilityMap)
 Get the reliability map computed from the wrapped phase map. More...
 
- Public Member Functions inherited from OpenCVForUnity.Phase_unwrappingModule.PhaseUnwrapping
void unwrapPhaseMap (Mat wrappedPhaseMap, Mat unwrappedPhaseMap, Mat shadowMask)
 Unwraps a 2D phase map. More...
 
void unwrapPhaseMap (Mat wrappedPhaseMap, Mat unwrappedPhaseMap)
 Unwraps a 2D phase map. More...
 
- Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
IntPtr getNativeObjAddr ()
 
virtual void clear ()
 Clears the algorithm state. More...
 
virtual bool empty ()
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. More...
 
void save (string filename)
 
virtual string getDefaultName ()
 
- Public Member Functions inherited from OpenCVForUnity.DisposableObject
void Dispose ()
 
void ThrowIfDisposed ()
 

Static Public Member Functions

static new HistogramPhaseUnwrapping __fromPtr__ (IntPtr addr)
 
static HistogramPhaseUnwrapping create (HistogramPhaseUnwrapping_Params parameters)
 Constructor. More...
 
static HistogramPhaseUnwrapping create ()
 Constructor. More...
 
- Static Public Member Functions inherited from OpenCVForUnity.Phase_unwrappingModule.PhaseUnwrapping
static new PhaseUnwrapping __fromPtr__ (IntPtr addr)
 
- Static Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
static Algorithm __fromPtr__ (IntPtr addr)
 
- Static Public Member Functions inherited from OpenCVForUnity.DisposableObject
static IntPtr ThrowIfNullIntPtr (IntPtr ptr)
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from OpenCVForUnity.Phase_unwrappingModule.PhaseUnwrapping
override void Dispose (bool disposing)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject
 DisposableOpenCVObject ()
 
 DisposableOpenCVObject (IntPtr ptr)
 
 DisposableOpenCVObject (bool isEnabledDispose)
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableObject
 DisposableObject ()
 
 DisposableObject (bool isEnabledDispose)
 

Additional Inherited Members

- Properties inherited from OpenCVForUnity.DisposableObject
bool IsDisposed [get, protected set]
 
bool IsEnabledDispose [get, set]
 

Detailed Description

Class implementing two-dimensional phase unwrapping based on [histogramUnwrapping] This algorithm belongs to the quality-guided 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.

Member Function Documentation

◆ __fromPtr__()

static new HistogramPhaseUnwrapping OpenCVForUnity.Phase_unwrappingModule.HistogramPhaseUnwrapping.__fromPtr__ ( IntPtr  addr)
static

◆ create() [1/2]

static HistogramPhaseUnwrapping OpenCVForUnity.Phase_unwrappingModule.HistogramPhaseUnwrapping.create ( HistogramPhaseUnwrapping_Params  parameters)
static

Constructor.

Parameters
parametersHistogramPhaseUnwrapping parameters HistogramPhaseUnwrapping::Params: width,height of the phase map and histogram characteristics.

◆ create() [2/2]

static HistogramPhaseUnwrapping OpenCVForUnity.Phase_unwrappingModule.HistogramPhaseUnwrapping.create ( )
static

Constructor.

Parameters
parametersHistogramPhaseUnwrapping parameters HistogramPhaseUnwrapping::Params: width,height of the phase map and histogram characteristics.

◆ Dispose()

override void OpenCVForUnity.Phase_unwrappingModule.HistogramPhaseUnwrapping.Dispose ( bool  disposing)
protectedvirtual

◆ getInverseReliabilityMap()

void OpenCVForUnity.Phase_unwrappingModule.HistogramPhaseUnwrapping.getInverseReliabilityMap ( Mat  reliabilityMap)

Get the reliability map computed from the wrapped phase map.

Parameters
reliabilityMapImage where the reliability map is stored.

The documentation for this class was generated from the following file: