Expand description
§Phase Unwrapping API
Two-dimensional phase unwrapping is found in different applications like terrain elevation estimation in synthetic aperture radar (SAR), field mapping in magnetic resonance imaging or as a way of finding corresponding pixels in structured light reconstruction with sinusoidal patterns.
Given a phase map, wrapped between [-pi; pi], phase unwrapping aims at finding the “true” phase map by adding the right number of 2*pi to each pixel.
The problem is straightforward for perfect wrapped phase map, but real data are usually not noise-free. Among the different algorithms that were developed, quality-guided phase unwrapping methods are fast and efficient. They follow a path that unwraps high quality pixels first, avoiding error propagation from the start.
In this module, a quality-guided phase unwrapping is implemented following the approach described in histogramUnwrapping .
Modules§
Structs§
- Histogram
Phase Unwrapping - 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 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 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.
- Histogram
Phase Unwrapping_ Params - Parameters of phaseUnwrapping constructor.
- Phase
Unwrapping - Abstract base class for phase unwrapping.
Traits§
- Histogram
Phase Unwrapping Trait - Mutable methods for crate::phase_unwrapping::HistogramPhaseUnwrapping
- Histogram
Phase Unwrapping Trait Const - Constant methods for crate::phase_unwrapping::HistogramPhaseUnwrapping
- Phase
Unwrapping Trait - Mutable methods for crate::phase_unwrapping::PhaseUnwrapping
- Phase
Unwrapping Trait Const - Constant methods for crate::phase_unwrapping::PhaseUnwrapping