diff options
Diffstat (limited to 'rotord/src/cvimage.h')
| -rw-r--r-- | rotord/src/cvimage.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rotord/src/cvimage.h b/rotord/src/cvimage.h index bc9c13d..d3f824c 100644 --- a/rotord/src/cvimage.h +++ b/rotord/src/cvimage.h @@ -175,7 +175,7 @@ namespace Rotor { // Mat::Mat(int rows, int cols, int type, void* data, size_t step=AUTO_STEP) rgb=cv::Mat(_h,_w,CV_8UC3,pRGBdata,(_w*3)+linepadding); //std::cerr<<"created cv::Mat with step= "<<rgb.step<<",should be "<<((_w*3)+linepadding)<<std::endl; - + RGBdata=rgb.data; //can move to use the bare pointer eventually ownsRGBdata=false; //will not be necessary w=_w; @@ -299,4 +299,4 @@ namespace Rotor { }; } -#endif
\ No newline at end of file +#endif |
