diff options
| author | Tim Redfern <tim@eclectronics.org> | 2014-01-23 14:03:07 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2014-01-23 14:03:07 +0000 |
| commit | efebf20348daca798c22cbac770d47e9151f941f (patch) | |
| tree | 05c1a4148047d89271b2566c8924d872ad023938 /rotord/src/cvimage.h | |
| parent | a897d2e0ba7744c818eed46441347cfb4f384613 (diff) | |
NT logging structure
Diffstat (limited to 'rotord/src/cvimage.h')
| -rw-r--r-- | rotord/src/cvimage.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rotord/src/cvimage.h b/rotord/src/cvimage.h index 2374e5b..b356f82 100644 --- a/rotord/src/cvimage.h +++ b/rotord/src/cvimage.h @@ -82,6 +82,7 @@ namespace Rotor { }; static pixeltables pixels; class Image{ + //transform should be a method of image public: Image(){ zero(); @@ -217,6 +218,11 @@ namespace Rotor { */ return t; } + void crop(int _w,int _h){ //change borders, crop/ extend + if ( _w<w||_h<h){ + + } + } Image & operator=(const Image &other); //believe these still work, don't know if these optimisations are better than opencvs.. Image & operator+=(const Image &other); |
