diff options
| author | Tim Redfern <tim@eclectronics.org> | 2014-02-07 13:24:00 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2014-02-07 13:24:00 +0000 |
| commit | 22fd121880876005d312827a6a35c9f41c292bb2 (patch) | |
| tree | f7527a3ae626b8a5915da2a0a91e20a7958593cd /rotord/src/cvimage.h | |
| parent | 775dc6bcc5f5c23319bb92315140c154a79fe6f8 (diff) | |
curiouser and curiouser
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 |
