HistogramPhaseUnwrapping

Objective-C

@interface HistogramPhaseUnwrapping : PhaseUnwrapping

Swift

class HistogramPhaseUnwrapping : PhaseUnwrapping

Class implementing two-dimensional phase unwrapping based on CITE: 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 of Phase_unwrapping

Methods

  • Constructor

    Declaration

    Objective-C

    + (nonnull HistogramPhaseUnwrapping *)create:
        (nonnull HistogramPhaseUnwrappingParams *)parameters;

    Swift

    class func create(parameters: HistogramPhaseUnwrappingParams) -> HistogramPhaseUnwrapping

    Parameters

    parameters

    HistogramPhaseUnwrapping parameters HistogramPhaseUnwrapping::Params: width,height of the phase map and histogram characteristics.

  • Constructor

    Declaration

    Objective-C

    + (nonnull HistogramPhaseUnwrapping *)create;

    Swift

    class func create() -> HistogramPhaseUnwrapping
  • Get the reliability map computed from the wrapped phase map.

    Declaration

    Objective-C

    - (void)getInverseReliabilityMap:(nonnull Mat *)reliabilityMap;

    Swift

    func getInverseReliabilityMap(reliabilityMap: Mat)

    Parameters

    reliabilityMap

    Image where the reliability map is stored.