Skip to content

Commit 0833a78

Browse files
committed
Make getProjPixel output value available in python bindings
1 parent 2baed7e commit 0833a78

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/structured_light/include/opencv2/structured_light/graycodepattern.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ class CV_EXPORTS_W GrayCodePattern : public StructuredLightPattern
140140
* @param projPix Projector's pixel corresponding to the camera's pixel: projPix.x and projPix.y are the image coordinates of the projector's pixel corresponding to the pixel being decoded in a camera.
141141
*/
142142
CV_WRAP
143-
virtual bool getProjPixel( InputArrayOfArrays patternImages, int x, int y, Point &projPix ) const = 0;
143+
virtual bool getProjPixel( InputArrayOfArrays patternImages, int x, int y, CV_OUT Point &projPix ) const = 0;
144144
};
145145

146146
//! @}

modules/structured_light/src/graycodepattern.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class CV_EXPORTS_W GrayCodePattern_Impl CV_FINAL : public GrayCodePattern
7272
void getImagesForShadowMasks( InputOutputArray blackImage, InputOutputArray whiteImage ) const CV_OVERRIDE;
7373

7474
// For a (x,y) pixel of the camera returns the corresponding projector pixel
75-
bool getProjPixel(InputArrayOfArrays patternImages, int x, int y, Point &projPix) const CV_OVERRIDE;
75+
bool getProjPixel(InputArrayOfArrays patternImages, int x, int y, CV_OUT Point &projPix) const CV_OVERRIDE;
7676

7777
private:
7878
// Parameters

0 commit comments

Comments
 (0)