summaryrefslogtreecommitdiff
path: root/2003/i/buzz/src/vision/image.h
diff options
context:
space:
mode:
authorschodet2003-05-05 18:34:25 +0000
committerschodet2003-05-05 18:34:25 +0000
commit356a80697a3268aae77681b055e5e835aa2d1a71 (patch)
treea6b29b19760e77be6889401e437efc311a3b4919 /2003/i/buzz/src/vision/image.h
parent631d7502c6cdee8aceb95de8bf9526b3b1dd421e (diff)
Add: Support de la camera.
Sub: size_thresholds.
Diffstat (limited to '2003/i/buzz/src/vision/image.h')
-rw-r--r--2003/i/buzz/src/vision/image.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/2003/i/buzz/src/vision/image.h b/2003/i/buzz/src/vision/image.h
index eae1d20..cbee54e 100644
--- a/2003/i/buzz/src/vision/image.h
+++ b/2003/i/buzz/src/vision/image.h
@@ -3,8 +3,9 @@
// image.h - Image class
// buzz - Programme du robot Efrei Robotique I1-I2 2003
// Copyright (C) 2003 Nicolas Schodet
+
#include "thresholds.h"
-#include "size_thresholds.h"
+#include "camera/camera.h"
struct ImageGroup
{
@@ -19,14 +20,14 @@ class Image
unsigned char *m_image;
unsigned char *m_zones;
ImageGroup *m_groups;
- Thresholds *m_thresholds;
- SizeThresholds *m_sizeThresholds;
+ const Thresholds *m_thresholds;
public:
- // Constructeur.
- Image (const char *filename, Thresholds *thresholds,
- SizeThresholds *sizeThresholds);
+ // Constructeurs.
+ Image (const char *filename, const Thresholds *thresholds);
+ Image (const Camera &camera, const Thresholds *thresholds);
// Destructeur.
~Image (void);
+ // Filtre l'image pour trouver les zones.
void filter (void);
// Fait des packets de pixels.
void group (void);