summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/ovision/see/img.hh
diff options
context:
space:
mode:
Diffstat (limited to '2005/i/robert/src/ovision/see/img.hh')
-rw-r--r--2005/i/robert/src/ovision/see/img.hh9
1 files changed, 8 insertions, 1 deletions
diff --git a/2005/i/robert/src/ovision/see/img.hh b/2005/i/robert/src/ovision/see/img.hh
index 43c6c76..5033bbf 100644
--- a/2005/i/robert/src/ovision/see/img.hh
+++ b/2005/i/robert/src/ovision/see/img.hh
@@ -43,6 +43,9 @@ class Img
friend class Skittle;
friend class OVision;
+ /// premier pixel de chaque ligne Y
+ int *tabY_;
+
public:
/// Constructeur
Img (void);
@@ -60,7 +63,11 @@ class Img
inline int minWithBorder (int n, int min) {return n > min ? n : min;}
/// Renvoie le maximum en fonction d'une bordure
inline int maxWithBorder (int n, int max) {return n < max ? n : max;}
-
+
+ private:
+ /// Crée le tableau Y
+ void doTabY ();
+
protected:
/// tableau des couleurs bruts
unsigned char *tabData_;