X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=pose_cell_hierarchy.h;h=3165eb223b139571750a28d578e1a3e4ff5bd249;hb=bd7db9aaf937bdba66445231a39518f2ae30b0d3;hp=f89512d27534770f2470c6609769769fa88bce7c;hpb=20ec321944108cd1fe74b37ea45db3ba1a2d526a;p=folded-ctf.git
diff --git a/pose_cell_hierarchy.h b/pose_cell_hierarchy.h
index f89512d..3165eb2 100644
--- a/pose_cell_hierarchy.h
+++ b/pose_cell_hierarchy.h
@@ -1,22 +1,35 @@
-
-///////////////////////////////////////////////////////////////////////////
-// 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 Research Institute //
-// //
-// 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 .
+ *
+ */
+
+/*
+
+ A PoseCellHierarchy provides the necessary methods to visit a
+ recursive partitioning of the pose space. The two main methods can
+ give you an root partitioning, or compute a finer partitioning from
+ an existing one.
+
+ */
#ifndef POSE_CELL_HIERARCHY_H
#define POSE_CELL_HIERARCHY_H
@@ -40,7 +53,7 @@ class PoseCellHierarchy {
int _nb_levels;
scalar_t _min_head_radius;
scalar_t _max_head_radius;
- int _root_cell_nb_xy_per_scale;
+ int _root_cell_nb_xy_per_radius;
int _nb_belly_cells;