@Namespace(value="cv::phase_unwrapping") public static class opencv_phase_unwrapping.HistogramPhaseUnwrapping extends opencv_phase_unwrapping.PhaseUnwrapping
/** \brief 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.
| Modifier and Type | Class and Description |
|---|---|
static class |
opencv_phase_unwrapping.HistogramPhaseUnwrapping.Params
\brief Parameters of phaseUnwrapping constructor.
|
| Constructor and Description |
|---|
HistogramPhaseUnwrapping(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static opencv_phase_unwrapping.HistogramPhaseUnwrapping |
create() |
static opencv_phase_unwrapping.HistogramPhaseUnwrapping |
create(opencv_phase_unwrapping.HistogramPhaseUnwrapping.Params parameters)
\brief Constructor
|
void |
getInverseReliabilityMap(opencv_core.GpuMat reliabilityMap) |
void |
getInverseReliabilityMap(opencv_core.Mat reliabilityMap)
\brief Get the reliability map computed from the wrapped phase map.
|
void |
getInverseReliabilityMap(opencv_core.UMat reliabilityMap) |
unwrapPhaseMap, unwrapPhaseMap, unwrapPhaseMap, unwrapPhaseMap, unwrapPhaseMap, unwrapPhaseMapclear, empty, getDefaultName, position, read, save, save, write, write, writeaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic HistogramPhaseUnwrapping(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).@opencv_core.Ptr public static opencv_phase_unwrapping.HistogramPhaseUnwrapping create(@Const @ByRef(nullValue="cv::phase_unwrapping::HistogramPhaseUnwrapping::Params()") opencv_phase_unwrapping.HistogramPhaseUnwrapping.Params parameters)
parameters - HistogramPhaseUnwrapping parameters HistogramPhaseUnwrapping::Params: width,height of the phase map and histogram characteristics.@opencv_core.Ptr public static opencv_phase_unwrapping.HistogramPhaseUnwrapping create()
public void getInverseReliabilityMap(@ByVal
opencv_core.Mat reliabilityMap)
reliabilityMap - Image where the reliability map is stored.public void getInverseReliabilityMap(@ByVal
opencv_core.UMat reliabilityMap)
public void getInverseReliabilityMap(@ByVal
opencv_core.GpuMat reliabilityMap)
Copyright © 2018. All rights reserved.