OpenCV for Unity
2.6.3
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.
|
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. 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] |
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.
|
static |
|
static |
Constructor.
parameters | HistogramPhaseUnwrapping parameters HistogramPhaseUnwrapping::Params: width,height of the phase map and histogram characteristics. |
|
static |
Constructor.
parameters | HistogramPhaseUnwrapping parameters HistogramPhaseUnwrapping::Params: width,height of the phase map and histogram characteristics. |
|
protectedvirtual |
Reimplemented from OpenCVForUnity.CoreModule.Algorithm.
void OpenCVForUnity.Phase_unwrappingModule.HistogramPhaseUnwrapping.getInverseReliabilityMap | ( | Mat | reliabilityMap | ) |
Get the reliability map computed from the wrapped phase map.
reliabilityMap | Image where the reliability map is stored. |