Class HistogramPhaseUnwrapping
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Class implementing two-dimensional phase unwrapping based on the quality-guided phase unwrapping method. First, it computes a reliability map from second differences between a pixel and its eight neighbours. Reliability values lie between 0 and 16pipi. 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 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.
public class HistogramPhaseUnwrapping : PhaseUnwrapping, IDisposable
- Inheritance
-
HistogramPhaseUnwrapping
- Implements
- Inherited Members
Methods
Create(Params?)
Constructor.
public static HistogramPhaseUnwrapping Create(HistogramPhaseUnwrapping.Params? parameters = null)
Parameters
parametersHistogramPhaseUnwrapping.Params?HistogramPhaseUnwrapping parameters: width, height of the phase map and histogram characteristics. If not specified, the default parameters are used.
Returns
GetInverseReliabilityMap(OutputArray)
Get the reliability map computed from the wrapped phase map.
public virtual void GetInverseReliabilityMap(OutputArray reliabilityMap)
Parameters
reliabilityMapOutputArrayImage where the reliability map is stored.