summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/ovision/see/ovision.cc
diff options
context:
space:
mode:
authordufourj2005-05-07 01:36:46 +0000
committerdufourj2005-05-07 01:36:46 +0000
commit3ece446c2a9198b4b50323cd1b3a5182114c26df (patch)
tree923e40413c7efe5570d30659245c24137ae7c55f /2005/i/robert/src/ovision/see/ovision.cc
parenta32c76bb0347d70c321957d26ca9b4df19778030 (diff)
M2ga commit bordelique du vendredi à 3h du matin avec un gars lourd
Diffstat (limited to '2005/i/robert/src/ovision/see/ovision.cc')
-rw-r--r--2005/i/robert/src/ovision/see/ovision.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/2005/i/robert/src/ovision/see/ovision.cc b/2005/i/robert/src/ovision/see/ovision.cc
index 8b7b28d..220bd89 100644
--- a/2005/i/robert/src/ovision/see/ovision.cc
+++ b/2005/i/robert/src/ovision/see/ovision.cc
@@ -4,7 +4,7 @@
/// Constructeur
OVision::OVision (bool useSocket)
: oconfig_ (0), img_ (0), colorTab_ (0), segm_ (0), eraser_ (0),
- group_ (0), mag_ (0), step_ (0), aim_ (Group::undefined) //map_ (0),
+ group_ (0), mag_ (0), v4l_ (0), step_ (0), aim_ (Group::undefined) //map_ (0),
{
// socket_ = 0;
}
@@ -31,18 +31,18 @@ OVision::init (const Group::ZoneType aim)
// Initialisation des classes
if (aim == Group::redSkittle)
{
- colorTab_ = new ColorTable ("../runtime/rc/colortableGreen.z");
+ colorTab_ = new ColorTable ("../runtime/rc/colortableRed.z");
oconfig_->nnInfluLum = 0.4;
oconfig_->groupColor.clear ();
ObjectColor tmp;
tmp.label = "redSkittle";
- tmp.color = 0;
+ tmp.color = 3;
tmp.type = aim;
oconfig_->groupColor.push_back (tmp);
}
else
{
- colorTab_ = new ColorTable ("../runtime/rc/colortableRed.z");
+ colorTab_ = new ColorTable ("../runtime/rc/colortableGreen.z");
oconfig_->nnInfluLum = 0.4;
ObjectColor tmp;
oconfig_->groupColor.clear ();