OpenCV for Unity 2.6.4
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
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...

Public Member Functions

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

Static Public Member Functions

static new HistogramPhaseUnwrapping __fromPtr__ (IntPtr addr)
 
static HistogramPhaseUnwrapping create ()
 Constructor.
 
static HistogramPhaseUnwrapping create (HistogramPhaseUnwrapping_Params parameters)
 Constructor.
 
- 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.CoreModule.Algorithm
- Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject
 DisposableOpenCVObject ()
 
 DisposableOpenCVObject (bool isEnabledDispose)
 
 DisposableOpenCVObject (IntPtr ptr)
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableObject
 DisposableObject ()
 
 DisposableObject (bool isEnabledDispose)
 

Additional Inherited Members

- Package Functions inherited from OpenCVForUnity.Phase_unwrappingModule.PhaseUnwrapping
- Package Functions inherited from OpenCVForUnity.CoreModule.Algorithm
- Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject
- 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 ( )
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 ( HistogramPhaseUnwrapping_Params parameters)
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: