X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=folded-ctf.git;a=blobdiff_plain;f=pose.h;h=d110c1203649ad8444c1f65673bad7595c088853;hp=8362d1d1b1345e2bd0d15034fa0727cce4f5d4fa;hb=HEAD;hpb=f7e3efe41ffb65d89e8f2ce814c23ff90ad24f34 diff --git a/pose.h b/pose.h index 8362d1d..d110c12 100644 --- a/pose.h +++ b/pose.h @@ -1,20 +1,34 @@ - -/////////////////////////////////////////////////////////////////////////// -// This program is free software: you can redistribute it and/or modify // -// it under the terms of the version 3 of the GNU General Public License // -// as published by the Free Software Foundation. // -// // -// 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, see . // -// // -// Written by Francois Fleuret, (C) IDIAP // -// Contact for comments & bug reports // -/////////////////////////////////////////////////////////////////////////// +/* + * folded-ctf is an implementation of the folded hierarchy of + * classifiers for object detection, developed by Francois Fleuret + * and Donald Geman. + * + * Copyright (c) 2008 Idiap Research Institute, http://www.idiap.ch/ + * Written by Francois Fleuret + * + * This file is part of folded-ctf. + * + * folded-ctf is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 3 as + * published by the Free Software Foundation. + * + * folded-ctf 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 folded-ctf. If not, see . + * + */ + +/* + + 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 @@ -35,8 +49,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);