Class implementing two-dimensional phase unwrapping based on [138] 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...
#include <opencv2/phase_unwrapping/histogramphaseunwrapping.hpp>
Class implementing two-dimensional phase unwrapping based on [138] 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.
◆ create()
Python: |
---|
| cv.phase_unwrapping.HistogramPhaseUnwrapping_create( | [, parameters] | ) -> | retval |
◆ getInverseReliabilityMap()
virtual void cv::phase_unwrapping::HistogramPhaseUnwrapping::getInverseReliabilityMap |
( |
OutputArray |
reliabilityMap | ) |
|
|
pure virtual |
Python: |
---|
| cv.phase_unwrapping_HistogramPhaseUnwrapping.getInverseReliabilityMap( | [, reliabilityMap] | ) -> | reliabilityMap |
Get the reliability map computed from the wrapped phase map.
- Parameters
-
reliabilityMap | Image where the reliability map is stored. |
The documentation for this class was generated from the following file: