SinusoidalPattern
Objective-C
@interface SinusoidalPattern : StructuredLightPattern
Swift
class SinusoidalPattern : StructuredLightPattern
Class implementing Fourier transform profilometry (FTP) , phase-shifting profilometry (PSP) and Fourier-assisted phase-shifting profilometry (FAPS) based on CITE: faps.
This class generates sinusoidal patterns that can be used with FTP, PSP and FAPS.
Member of Structured_light
-
Constructor.
Declaration
Objective-C
+ (nonnull SinusoidalPattern *)create: (nonnull SinusoidalPatternParams *)parameters;Swift
class func create(parameters: SinusoidalPatternParams) -> SinusoidalPatternParameters
parametersSinusoidalPattern parameters SinusoidalPattern::Params: width, height of the projector and patterns parameters.
-
Constructor.
Declaration
Objective-C
+ (nonnull SinusoidalPattern *)create;Swift
class func create() -> SinusoidalPattern -
compute the data modulation term.
Declaration
Parameters
patternImagescaptured images with projected patterns.
dataModulationTermMat where the data modulation term is saved.
shadowMaskMask used to discard shadow regions.
-
Compute a wrapped phase map from sinusoidal patterns.
Declaration
Parameters
patternImagesInput data to compute the wrapped phase map.
wrappedPhaseMapWrapped phase map obtained through one of the three methods.
shadowMaskMask used to discard shadow regions.
fundamentalFundamental matrix used to compute epipolar lines and ease the matching step.
-
Compute a wrapped phase map from sinusoidal patterns.
Declaration
Parameters
patternImagesInput data to compute the wrapped phase map.
wrappedPhaseMapWrapped phase map obtained through one of the three methods.
shadowMaskMask used to discard shadow regions.
-
Compute a wrapped phase map from sinusoidal patterns.
Declaration
Parameters
patternImagesInput data to compute the wrapped phase map.
wrappedPhaseMapWrapped phase map obtained through one of the three methods.
-
Find correspondences between the two devices thanks to unwrapped phase maps.
Declaration
Parameters
projUnwrappedPhaseMapProjector’s unwrapped phase map.
camUnwrappedPhaseMapCamera’s unwrapped phase map.
matchesImages used to display correspondences map.
-
Unwrap the wrapped phase map to remove phase ambiguities.
Declaration
Parameters
wrappedPhaseMapThe wrapped phase map computed from the pattern.
unwrappedPhaseMapThe unwrapped phase map used to find correspondences between the two devices.
camSizeResolution of the camera.
shadowMaskMask used to discard shadow regions.
-
Unwrap the wrapped phase map to remove phase ambiguities.
Declaration
Parameters
wrappedPhaseMapThe wrapped phase map computed from the pattern.
unwrappedPhaseMapThe unwrapped phase map used to find correspondences between the two devices.
camSizeResolution of the camera.
View on GitHub
SinusoidalPattern Class Reference