|
OpenCV for Unity 3.0.0
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.12.0/index.html ) for the details of the argument of the method.
|
Class implementing Fourier transform profilometry (FTP) , phase-shifting profilometry (PSP) and Fourier-assisted phase-shifting profilometry (FAPS) based on [faps]. More...
Public Member Functions | |
| void | computeDataModulationTerm (List< Mat > patternImages, Mat dataModulationTerm, Mat shadowMask) |
| compute the data modulation term. | |
| void | computePhaseMap (List< Mat > patternImages, Mat wrappedPhaseMap) |
| Compute a wrapped phase map from sinusoidal patterns. | |
| void | computePhaseMap (List< Mat > patternImages, Mat wrappedPhaseMap, Mat shadowMask) |
| Compute a wrapped phase map from sinusoidal patterns. | |
| void | computePhaseMap (List< Mat > patternImages, Mat wrappedPhaseMap, Mat shadowMask, Mat fundamental) |
| Compute a wrapped phase map from sinusoidal patterns. | |
| void | findProCamMatches (Mat projUnwrappedPhaseMap, Mat camUnwrappedPhaseMap, List< Mat > matches) |
| Find correspondences between the two devices thanks to unwrapped phase maps. | |
| void | unwrapPhaseMap (Mat wrappedPhaseMap, Mat unwrappedPhaseMap, in Vec2d camSize) |
| Unwrap the wrapped phase map to remove phase ambiguities. | |
| void | unwrapPhaseMap (Mat wrappedPhaseMap, Mat unwrappedPhaseMap, in Vec2d camSize, Mat shadowMask) |
| Unwrap the wrapped phase map to remove phase ambiguities. | |
| void | unwrapPhaseMap (Mat wrappedPhaseMap, Mat unwrappedPhaseMap, in(double width, double height) camSize) |
| Unwrap the wrapped phase map to remove phase ambiguities. | |
| void | unwrapPhaseMap (Mat wrappedPhaseMap, Mat unwrappedPhaseMap, in(double width, double height) camSize, Mat shadowMask) |
| Unwrap the wrapped phase map to remove phase ambiguities. | |
| void | unwrapPhaseMap (Mat wrappedPhaseMap, Mat unwrappedPhaseMap, Size camSize) |
| Unwrap the wrapped phase map to remove phase ambiguities. | |
| void | unwrapPhaseMap (Mat wrappedPhaseMap, Mat unwrappedPhaseMap, Size camSize, Mat shadowMask) |
| Unwrap the wrapped phase map to remove phase ambiguities. | |
Public Member Functions inherited from OpenCVForUnity.Structured_lightModule.StructuredLightPattern | |
| bool | generate (List< Mat > patternImages) |
| Generates the structured light pattern to project. | |
Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
| virtual void | clear () |
| Clears the algorithm state. | |
| virtual bool | empty () |
| Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. | |
| virtual string | getDefaultName () |
| IntPtr | getNativeObjAddr () |
| void | save (string filename) |
Public Member Functions inherited from OpenCVForUnity.DisposableObject | |
| void | Dispose () |
| void | ThrowIfDisposed () |
Static Public Member Functions | |
| static new SinusoidalPattern | __fromPtr__ (IntPtr addr) |
| static SinusoidalPattern | create () |
| Constructor. | |
| static SinusoidalPattern | create (SinusoidalPattern_Params parameters) |
| Constructor. | |
Static Public Member Functions inherited from OpenCVForUnity.Structured_lightModule.StructuredLightPattern | |
| static new StructuredLightPattern | __fromPtr__ (IntPtr addr) |
Static Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
| static Algorithm | __fromPtr__ (IntPtr addr) |
Static Public Member Functions inherited from OpenCVForUnity.DisposableObject | |
| static IntPtr | ThrowIfNullIntPtr (IntPtr ptr) |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.Structured_lightModule.StructuredLightPattern | |
| override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject | |
| DisposableOpenCVObject () | |
| DisposableOpenCVObject (bool isEnabledDispose) | |
| DisposableOpenCVObject (IntPtr ptr) | |
| DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose) | |
Protected Member Functions inherited from OpenCVForUnity.DisposableObject | |
| DisposableObject () | |
| DisposableObject (bool isEnabledDispose) | |
Additional Inherited Members | |
Package Functions inherited from OpenCVForUnity.Structured_lightModule.StructuredLightPattern | |
Package Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject | |
Properties inherited from OpenCVForUnity.DisposableObject | |
| bool | IsDisposed [get, protected set] |
| bool | IsEnabledDispose [get, set] |
Class implementing Fourier transform profilometry (FTP) , phase-shifting profilometry (PSP) and Fourier-assisted phase-shifting profilometry (FAPS) based on [faps].
This class generates sinusoidal patterns that can be used with FTP, PSP and FAPS.
|
static |
| void OpenCVForUnity.Structured_lightModule.SinusoidalPattern.computeDataModulationTerm | ( | List< Mat > | patternImages, |
| Mat | dataModulationTerm, | ||
| Mat | shadowMask ) |
compute the data modulation term.
| patternImages | captured images with projected patterns. |
| dataModulationTerm | Mat where the data modulation term is saved. |
| shadowMask | Mask used to discard shadow regions. |
| void OpenCVForUnity.Structured_lightModule.SinusoidalPattern.computePhaseMap | ( | List< Mat > | patternImages, |
| Mat | wrappedPhaseMap ) |
Compute a wrapped phase map from sinusoidal patterns.
| 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. |
| void OpenCVForUnity.Structured_lightModule.SinusoidalPattern.computePhaseMap | ( | List< Mat > | patternImages, |
| Mat | wrappedPhaseMap, | ||
| Mat | shadowMask ) |
Compute a wrapped phase map from sinusoidal patterns.
| 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. |
| void OpenCVForUnity.Structured_lightModule.SinusoidalPattern.computePhaseMap | ( | List< Mat > | patternImages, |
| Mat | wrappedPhaseMap, | ||
| Mat | shadowMask, | ||
| Mat | fundamental ) |
Compute a wrapped phase map from sinusoidal patterns.
| 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. |
|
static |
Constructor.
| parameters | SinusoidalPattern parameters SinusoidalPattern::Params: width, height of the projector and patterns parameters. |
|
static |
Constructor.
| parameters | SinusoidalPattern parameters SinusoidalPattern::Params: width, height of the projector and patterns parameters. |
|
protectedvirtual |
Reimplemented from OpenCVForUnity.CoreModule.Algorithm.
| void OpenCVForUnity.Structured_lightModule.SinusoidalPattern.findProCamMatches | ( | Mat | projUnwrappedPhaseMap, |
| Mat | camUnwrappedPhaseMap, | ||
| List< Mat > | matches ) |
Find correspondences between the two devices thanks to unwrapped phase maps.
| projUnwrappedPhaseMap | Projector's unwrapped phase map. |
| camUnwrappedPhaseMap | Camera's unwrapped phase map. |
| matches | Images used to display correspondences map. |
| void OpenCVForUnity.Structured_lightModule.SinusoidalPattern.unwrapPhaseMap | ( | Mat | wrappedPhaseMap, |
| Mat | unwrappedPhaseMap, | ||
| in Vec2d | camSize ) |
Unwrap the wrapped phase map to remove phase ambiguities.
| 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. |
| void OpenCVForUnity.Structured_lightModule.SinusoidalPattern.unwrapPhaseMap | ( | Mat | wrappedPhaseMap, |
| Mat | unwrappedPhaseMap, | ||
| in Vec2d | camSize, | ||
| Mat | shadowMask ) |
Unwrap the wrapped phase map to remove phase ambiguities.
| 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. |
| void OpenCVForUnity.Structured_lightModule.SinusoidalPattern.unwrapPhaseMap | ( | Mat | wrappedPhaseMap, |
| Mat | unwrappedPhaseMap, | ||
| in(double width, double height) | camSize ) |
Unwrap the wrapped phase map to remove phase ambiguities.
| 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. |
| void OpenCVForUnity.Structured_lightModule.SinusoidalPattern.unwrapPhaseMap | ( | Mat | wrappedPhaseMap, |
| Mat | unwrappedPhaseMap, | ||
| in(double width, double height) | camSize, | ||
| Mat | shadowMask ) |
Unwrap the wrapped phase map to remove phase ambiguities.
| 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. |
| void OpenCVForUnity.Structured_lightModule.SinusoidalPattern.unwrapPhaseMap | ( | Mat | wrappedPhaseMap, |
| Mat | unwrappedPhaseMap, | ||
| Size | camSize ) |
Unwrap the wrapped phase map to remove phase ambiguities.
| 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. |
| void OpenCVForUnity.Structured_lightModule.SinusoidalPattern.unwrapPhaseMap | ( | Mat | wrappedPhaseMap, |
| Mat | unwrappedPhaseMap, | ||
| Size | camSize, | ||
| Mat | shadowMask ) |
Unwrap the wrapped phase map to remove phase ambiguities.
| 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. |