automatic commit
[folded-ctf.git] / pose.cc
diff --git a/pose.cc b/pose.cc
index f0aa9d3..3e30e56 100644 (file)
--- a/pose.cc
+++ b/pose.cc
@@ -12,7 +12,9 @@
 // You should have received a copy of the GNU General Public License     //
 // along with this program. If not, see <http://www.gnu.org/licenses/>.  //
 //                                                                       //
-// Written by Francois Fleuret, (C) IDIAP                                //
+// Written by Francois Fleuret                                           //
+// (C) Idiap Research Institute                                          //
+//                                                                       //
 // Contact <francois.fleuret@idiap.ch> for comments & bug reports        //
 ///////////////////////////////////////////////////////////////////////////
 
@@ -29,29 +31,6 @@ void Pose::horizontal_flip(scalar_t scene_width) {
   _belly_xc = scene_width - 1 - _belly_xc;
 }
 
-void Pose::translate(scalar_t dx, scalar_t dy) {
-  _bounding_box_xmin += dx;
-  _bounding_box_ymin += dy;
-  _bounding_box_xmax += dx;
-  _bounding_box_ymax += dy;
-  _head_xc += dx;
-  _head_yc += dy;
-  _belly_xc += dx;
-  _belly_yc += dy;
-}
-
-void Pose::scale(scalar_t factor) {
-  _bounding_box_xmin *= factor;
-  _bounding_box_ymin *= factor;
-  _bounding_box_xmax *= factor;
-  _bounding_box_ymax *= factor;
-  _head_xc *= factor;
-  _head_yc *= factor;
-  _head_radius *= factor;
-  _belly_xc *= factor;
-  _belly_yc *= factor;
-}
-
 const scalar_t tolerance_scale_ratio_for_hit = 1.5;
 const scalar_t tolerance_distance_factor_for_hit = 1.0;