summaryrefslogtreecommitdiff
path: root/2004/i/nono/src/ovision/img.h
diff options
context:
space:
mode:
authorgaillaro2004-08-04 18:46:55 +0000
committergaillaro2004-08-04 18:46:55 +0000
commitde8a31213c284ad6b8e0f46c78e58260a58e8816 (patch)
tree56ea8043fd3fc394ee203a4775f34125346249d2 /2004/i/nono/src/ovision/img.h
parent2e1bc9aa83b1ac8139a4cbd2d54e1e4a5002ecc9 (diff)
Version été 2004 n°1
Diffstat (limited to '2004/i/nono/src/ovision/img.h')
-rw-r--r--2004/i/nono/src/ovision/img.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/2004/i/nono/src/ovision/img.h b/2004/i/nono/src/ovision/img.h
index daeae77..c5c06cb 100644
--- a/2004/i/nono/src/ovision/img.h
+++ b/2004/i/nono/src/ovision/img.h
@@ -1,8 +1,27 @@
+// nono2 - programme du robot 2005
+//
+// Copyright (C) 2004 Olivier Gaillard
+//
+// Robot APB Team/Efrei 2004.
+// Web: http://assos.efrei.fr/robot/
+// Email: robot AT efrei DOT fr
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
#ifndef img_h
#define img_h
-// img.h - classe Image
-// nono - Programme du robot Efrei Robotique I1-I2 2004
-// Copyright (C) 2004 Olivier Gaillard
#include "image/image_loader.h"
#include "oconfig.h"
@@ -33,26 +52,7 @@ class Img
Img (void);
/// Destructeur
- virtual ~Img (void);
-
- /// Lis une image en utilisant le peripherique adequate (fichier, cam usb, cam)
-#if 0
- virtual int ReadRaw(char *sourcePath) = 0;
-
- /// Ecriture de l'image sur le disque
- virtual void WriteSegm(char *filename, unsigned char *tabSegm) = 0;
- virtual void WriteSegm(char *filename) = 0;
-#endif
-
- /// Conversion en YUV
- void RGBtoYUV();
-
- /// Conversion en HSI
- void RGBtoHSI();
-
- /// Conversion de YUV en RGB
- void YUVtoRGB();
-
+ ~Img (void);
/// Ecrite des valeurs RGB dans un fichier
void WriteRGB(char *filename);