@Namespace(value="cv::structured_light") @Properties(inherit=opencv_structured_light.class) public class SinusoidalPattern extends StructuredLightPattern
This class generates sinusoidal patterns that can be used with FTP, PSP and FAPS.
Modifier and Type | Class and Description |
---|---|
static class |
SinusoidalPattern.Params
\brief Parameters of SinusoidalPattern constructor
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
SinusoidalPattern(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
computeDataModulationTerm(GpuMatVector patternImages,
GpuMat dataModulationTerm,
GpuMat shadowMask) |
void |
computeDataModulationTerm(GpuMatVector patternImages,
Mat dataModulationTerm,
Mat shadowMask) |
void |
computeDataModulationTerm(GpuMatVector patternImages,
UMat dataModulationTerm,
UMat shadowMask) |
void |
computeDataModulationTerm(MatVector patternImages,
GpuMat dataModulationTerm,
GpuMat shadowMask) |
void |
computeDataModulationTerm(MatVector patternImages,
Mat dataModulationTerm,
Mat shadowMask)
\brief compute the data modulation term.
|
void |
computeDataModulationTerm(MatVector patternImages,
UMat dataModulationTerm,
UMat shadowMask) |
void |
computeDataModulationTerm(UMatVector patternImages,
GpuMat dataModulationTerm,
GpuMat shadowMask) |
void |
computeDataModulationTerm(UMatVector patternImages,
Mat dataModulationTerm,
Mat shadowMask) |
void |
computeDataModulationTerm(UMatVector patternImages,
UMat dataModulationTerm,
UMat shadowMask) |
void |
computePhaseMap(GpuMatVector patternImages,
GpuMat wrappedPhaseMap) |
void |
computePhaseMap(GpuMatVector patternImages,
GpuMat wrappedPhaseMap,
GpuMat shadowMask,
GpuMat fundamental) |
void |
computePhaseMap(GpuMatVector patternImages,
Mat wrappedPhaseMap) |
void |
computePhaseMap(GpuMatVector patternImages,
Mat wrappedPhaseMap,
Mat shadowMask,
Mat fundamental) |
void |
computePhaseMap(GpuMatVector patternImages,
UMat wrappedPhaseMap) |
void |
computePhaseMap(GpuMatVector patternImages,
UMat wrappedPhaseMap,
UMat shadowMask,
UMat fundamental) |
void |
computePhaseMap(MatVector patternImages,
GpuMat wrappedPhaseMap) |
void |
computePhaseMap(MatVector patternImages,
GpuMat wrappedPhaseMap,
GpuMat shadowMask,
GpuMat fundamental) |
void |
computePhaseMap(MatVector patternImages,
Mat wrappedPhaseMap) |
void |
computePhaseMap(MatVector patternImages,
Mat wrappedPhaseMap,
Mat shadowMask,
Mat fundamental)
\brief Compute a wrapped phase map from sinusoidal patterns.
|
void |
computePhaseMap(MatVector patternImages,
UMat wrappedPhaseMap) |
void |
computePhaseMap(MatVector patternImages,
UMat wrappedPhaseMap,
UMat shadowMask,
UMat fundamental) |
void |
computePhaseMap(UMatVector patternImages,
GpuMat wrappedPhaseMap) |
void |
computePhaseMap(UMatVector patternImages,
GpuMat wrappedPhaseMap,
GpuMat shadowMask,
GpuMat fundamental) |
void |
computePhaseMap(UMatVector patternImages,
Mat wrappedPhaseMap) |
void |
computePhaseMap(UMatVector patternImages,
Mat wrappedPhaseMap,
Mat shadowMask,
Mat fundamental) |
void |
computePhaseMap(UMatVector patternImages,
UMat wrappedPhaseMap) |
void |
computePhaseMap(UMatVector patternImages,
UMat wrappedPhaseMap,
UMat shadowMask,
UMat fundamental) |
static SinusoidalPattern |
create() |
static SinusoidalPattern |
create(SinusoidalPattern.Params parameters)
\brief Constructor.
|
void |
findProCamMatches(GpuMat projUnwrappedPhaseMap,
GpuMat camUnwrappedPhaseMap,
GpuMatVector matches) |
void |
findProCamMatches(GpuMat projUnwrappedPhaseMap,
GpuMat camUnwrappedPhaseMap,
MatVector matches) |
void |
findProCamMatches(GpuMat projUnwrappedPhaseMap,
GpuMat camUnwrappedPhaseMap,
UMatVector matches) |
void |
findProCamMatches(Mat projUnwrappedPhaseMap,
Mat camUnwrappedPhaseMap,
GpuMatVector matches) |
void |
findProCamMatches(Mat projUnwrappedPhaseMap,
Mat camUnwrappedPhaseMap,
MatVector matches)
\brief Find correspondences between the two devices thanks to unwrapped phase maps.
|
void |
findProCamMatches(Mat projUnwrappedPhaseMap,
Mat camUnwrappedPhaseMap,
UMatVector matches) |
void |
findProCamMatches(UMat projUnwrappedPhaseMap,
UMat camUnwrappedPhaseMap,
GpuMatVector matches) |
void |
findProCamMatches(UMat projUnwrappedPhaseMap,
UMat camUnwrappedPhaseMap,
MatVector matches) |
void |
findProCamMatches(UMat projUnwrappedPhaseMap,
UMat camUnwrappedPhaseMap,
UMatVector matches) |
void |
unwrapPhaseMap(GpuMat wrappedPhaseMap,
GpuMat unwrappedPhaseMap,
Size camSize) |
void |
unwrapPhaseMap(GpuMat wrappedPhaseMap,
GpuMat unwrappedPhaseMap,
Size camSize,
GpuMat shadowMask) |
void |
unwrapPhaseMap(Mat wrappedPhaseMap,
Mat unwrappedPhaseMap,
Size camSize) |
void |
unwrapPhaseMap(Mat wrappedPhaseMap,
Mat unwrappedPhaseMap,
Size camSize,
Mat shadowMask)
\brief Unwrap the wrapped phase map to remove phase ambiguities.
|
void |
unwrapPhaseMap(UMat wrappedPhaseMap,
UMat unwrappedPhaseMap,
Size camSize) |
void |
unwrapPhaseMap(UMat wrappedPhaseMap,
UMat unwrappedPhaseMap,
Size camSize,
UMat shadowMask) |
decode, decode, decode, decode, decode, decode, decode, decode, decode, decode, decode, decode, generate, generate, generate
clear, empty, getDefaultName, position, read, save, save, write, write, write
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public SinusoidalPattern(Pointer p)
Pointer.Pointer(Pointer)
.@opencv_core.Ptr public static SinusoidalPattern create(@opencv_core.Ptr SinusoidalPattern.Params parameters)
parameters
- SinusoidalPattern parameters SinusoidalPattern::Params: width, height of the projector and patterns parameters.@opencv_core.Ptr public static SinusoidalPattern create()
public void computePhaseMap(@ByVal MatVector patternImages, @ByVal Mat wrappedPhaseMap, @ByVal(nullValue="cv::OutputArray(cv::noArray())") Mat shadowMask, @ByVal(nullValue="cv::InputArray(cv::noArray())") Mat fundamental)
patternImages
- Input data to compute the wrapped phase map.wrappedPhaseMap
- Wrapped phase map obtained through one of the three methods.shadowMask
- Mask used to discard shadow regions.fundamental
- Fundamental matrix used to compute epipolar lines and ease the matching step.public void computePhaseMap(@ByVal MatVector patternImages, @ByVal Mat wrappedPhaseMap)
public void computePhaseMap(@ByVal UMatVector patternImages, @ByVal Mat wrappedPhaseMap, @ByVal(nullValue="cv::OutputArray(cv::noArray())") Mat shadowMask, @ByVal(nullValue="cv::InputArray(cv::noArray())") Mat fundamental)
public void computePhaseMap(@ByVal UMatVector patternImages, @ByVal Mat wrappedPhaseMap)
public void computePhaseMap(@ByVal GpuMatVector patternImages, @ByVal Mat wrappedPhaseMap, @ByVal(nullValue="cv::OutputArray(cv::noArray())") Mat shadowMask, @ByVal(nullValue="cv::InputArray(cv::noArray())") Mat fundamental)
public void computePhaseMap(@ByVal GpuMatVector patternImages, @ByVal Mat wrappedPhaseMap)
public void computePhaseMap(@ByVal MatVector patternImages, @ByVal UMat wrappedPhaseMap, @ByVal(nullValue="cv::OutputArray(cv::noArray())") UMat shadowMask, @ByVal(nullValue="cv::InputArray(cv::noArray())") UMat fundamental)
public void computePhaseMap(@ByVal MatVector patternImages, @ByVal UMat wrappedPhaseMap)
public void computePhaseMap(@ByVal UMatVector patternImages, @ByVal UMat wrappedPhaseMap, @ByVal(nullValue="cv::OutputArray(cv::noArray())") UMat shadowMask, @ByVal(nullValue="cv::InputArray(cv::noArray())") UMat fundamental)
public void computePhaseMap(@ByVal UMatVector patternImages, @ByVal UMat wrappedPhaseMap)
public void computePhaseMap(@ByVal GpuMatVector patternImages, @ByVal UMat wrappedPhaseMap, @ByVal(nullValue="cv::OutputArray(cv::noArray())") UMat shadowMask, @ByVal(nullValue="cv::InputArray(cv::noArray())") UMat fundamental)
public void computePhaseMap(@ByVal GpuMatVector patternImages, @ByVal UMat wrappedPhaseMap)
public void computePhaseMap(@ByVal MatVector patternImages, @ByVal GpuMat wrappedPhaseMap, @ByVal(nullValue="cv::OutputArray(cv::noArray())") GpuMat shadowMask, @ByVal(nullValue="cv::InputArray(cv::noArray())") GpuMat fundamental)
public void computePhaseMap(@ByVal MatVector patternImages, @ByVal GpuMat wrappedPhaseMap)
public void computePhaseMap(@ByVal UMatVector patternImages, @ByVal GpuMat wrappedPhaseMap, @ByVal(nullValue="cv::OutputArray(cv::noArray())") GpuMat shadowMask, @ByVal(nullValue="cv::InputArray(cv::noArray())") GpuMat fundamental)
public void computePhaseMap(@ByVal UMatVector patternImages, @ByVal GpuMat wrappedPhaseMap)
public void computePhaseMap(@ByVal GpuMatVector patternImages, @ByVal GpuMat wrappedPhaseMap, @ByVal(nullValue="cv::OutputArray(cv::noArray())") GpuMat shadowMask, @ByVal(nullValue="cv::InputArray(cv::noArray())") GpuMat fundamental)
public void computePhaseMap(@ByVal GpuMatVector patternImages, @ByVal GpuMat wrappedPhaseMap)
public void unwrapPhaseMap(@ByVal Mat wrappedPhaseMap, @ByVal Mat unwrappedPhaseMap, @ByVal Size camSize, @ByVal(nullValue="cv::InputArray(cv::noArray())") Mat shadowMask)
wrappedPhaseMap
- The wrapped phase map computed from the pattern.unwrappedPhaseMap
- The unwrapped phase map used to find correspondences between the two devices.camSize
- Resolution of the camera.shadowMask
- Mask used to discard shadow regions.public void unwrapPhaseMap(@ByVal Mat wrappedPhaseMap, @ByVal Mat unwrappedPhaseMap, @ByVal Size camSize)
public void unwrapPhaseMap(@ByVal UMat wrappedPhaseMap, @ByVal UMat unwrappedPhaseMap, @ByVal Size camSize, @ByVal(nullValue="cv::InputArray(cv::noArray())") UMat shadowMask)
public void unwrapPhaseMap(@ByVal UMat wrappedPhaseMap, @ByVal UMat unwrappedPhaseMap, @ByVal Size camSize)
public void unwrapPhaseMap(@ByVal GpuMat wrappedPhaseMap, @ByVal GpuMat unwrappedPhaseMap, @ByVal Size camSize, @ByVal(nullValue="cv::InputArray(cv::noArray())") GpuMat shadowMask)
public void unwrapPhaseMap(@ByVal GpuMat wrappedPhaseMap, @ByVal GpuMat unwrappedPhaseMap, @ByVal Size camSize)
public void findProCamMatches(@ByVal Mat projUnwrappedPhaseMap, @ByVal Mat camUnwrappedPhaseMap, @ByVal MatVector matches)
projUnwrappedPhaseMap
- Projector's unwrapped phase map.camUnwrappedPhaseMap
- Camera's unwrapped phase map.matches
- Images used to display correspondences map.public void findProCamMatches(@ByVal Mat projUnwrappedPhaseMap, @ByVal Mat camUnwrappedPhaseMap, @ByVal UMatVector matches)
public void findProCamMatches(@ByVal Mat projUnwrappedPhaseMap, @ByVal Mat camUnwrappedPhaseMap, @ByVal GpuMatVector matches)
public void findProCamMatches(@ByVal UMat projUnwrappedPhaseMap, @ByVal UMat camUnwrappedPhaseMap, @ByVal MatVector matches)
public void findProCamMatches(@ByVal UMat projUnwrappedPhaseMap, @ByVal UMat camUnwrappedPhaseMap, @ByVal UMatVector matches)
public void findProCamMatches(@ByVal UMat projUnwrappedPhaseMap, @ByVal UMat camUnwrappedPhaseMap, @ByVal GpuMatVector matches)
public void findProCamMatches(@ByVal GpuMat projUnwrappedPhaseMap, @ByVal GpuMat camUnwrappedPhaseMap, @ByVal MatVector matches)
public void findProCamMatches(@ByVal GpuMat projUnwrappedPhaseMap, @ByVal GpuMat camUnwrappedPhaseMap, @ByVal UMatVector matches)
public void findProCamMatches(@ByVal GpuMat projUnwrappedPhaseMap, @ByVal GpuMat camUnwrappedPhaseMap, @ByVal GpuMatVector matches)
public void computeDataModulationTerm(@ByVal MatVector patternImages, @ByVal Mat dataModulationTerm, @ByVal Mat shadowMask)
patternImages
- captured images with projected patterns.dataModulationTerm
- Mat where the data modulation term is saved.shadowMask
- Mask used to discard shadow regions.public void computeDataModulationTerm(@ByVal UMatVector patternImages, @ByVal Mat dataModulationTerm, @ByVal Mat shadowMask)
public void computeDataModulationTerm(@ByVal GpuMatVector patternImages, @ByVal Mat dataModulationTerm, @ByVal Mat shadowMask)
public void computeDataModulationTerm(@ByVal MatVector patternImages, @ByVal UMat dataModulationTerm, @ByVal UMat shadowMask)
public void computeDataModulationTerm(@ByVal UMatVector patternImages, @ByVal UMat dataModulationTerm, @ByVal UMat shadowMask)
public void computeDataModulationTerm(@ByVal GpuMatVector patternImages, @ByVal UMat dataModulationTerm, @ByVal UMat shadowMask)
public void computeDataModulationTerm(@ByVal MatVector patternImages, @ByVal GpuMat dataModulationTerm, @ByVal GpuMat shadowMask)
public void computeDataModulationTerm(@ByVal UMatVector patternImages, @ByVal GpuMat dataModulationTerm, @ByVal GpuMat shadowMask)
Copyright © 2020. All rights reserved.