X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=pose.h;h=d509d04a05b2fc52ac13877d4809b1ef3e701bb0;hb=b8222ae1fb874f0783803f55e0bc4c4b9ffca8b2;hp=acd7884179922b888273ac572b705eb430cce998;hpb=d922ad61d35e9a6996730bec24b16f8bf7bc426c;p=folded-ctf.git
diff --git a/pose.h b/pose.h
index acd7884..d509d04 100644
--- a/pose.h
+++ b/pose.h
@@ -12,10 +12,20 @@
// You should have received a copy of the GNU General Public License //
// along with this program. If not, see . //
// //
-// Written by Francois Fleuret, (C) IDIAP //
+// Written by Francois Fleuret //
+// (C) Idiap Research Institute //
+// //
// Contact for comments & bug reports //
///////////////////////////////////////////////////////////////////////////
+/*
+
+ This the pose of a target. In the case of cats, we have a bounding
+ box, the head location and scale, and the body location. All are
+ given in the image coordinate system.
+
+ */
+
#ifndef POSE_H
#define POSE_H
@@ -27,7 +37,7 @@ public:
scalar_t _bounding_box_xmin, _bounding_box_ymin;
scalar_t _bounding_box_xmax, _bounding_box_ymax;
scalar_t _head_xc, _head_yc, _head_radius;
- scalar_t _body_xc, _body_yc;
+ scalar_t _belly_xc, _belly_yc;
Pose();
@@ -35,8 +45,6 @@ public:
bool collide(int level, Pose *pose);
void horizontal_flip(scalar_t scene_width);
- void translate(scalar_t dx, scalar_t dy);
- void scale(scalar_t factor);
void draw(int thickness, int r, int g, int b, int level, RGBImage *image);