From efebf20348daca798c22cbac770d47e9151f941f Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Thu, 23 Jan 2014 14:03:07 +0000 Subject: NT logging structure --- rotord/src/cvimage.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'rotord/src/cvimage.h') 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