KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
psi_person_blob.h
Go to the documentation of this file.
1 /* $Id */
2 /* {{{=========================================================================== *
3  |
4  | Copyright (c) 1994-2011 by Kobus Barnard (author)
5  |
6  | Personal and educational use of this code is granted, provided that this
7  | header is kept intact, and that the authorship is not misrepresented, that
8  | its use is acknowledged in publications, and relevant papers are cited.
9  |
10  | For other use contact the author (kobus AT cs DOT arizona DOT edu).
11  |
12  | Please note that the code in this file has not necessarily been adequately
13  | tested. Naturally, there is no guarantee of performance, support, or fitness
14  | for any particular task. Nonetheless, I am interested in hearing about
15  | problems that you encounter.
16  |
17  | Author: Jinyan Guan
18  * =========================================================================== }}}*/
19 #ifndef PSI_PERSON_BLOB
20 #define PSI_PERSON_BLOB
21 
23 #include <psi_cpp/psi_util.h>
24 #include <vector>
25 #include <string>
26 
27 namespace kjb
28 {
29 namespace psi
30 {
31 
38 {
41  (
42  const Bbox& box_,
43  double velocity
44  ) : box(box_),
45  flow_velocity(velocity)
46  {}
47 
49  double flow_velocity;
50 };
51 
56 Person_flow_blob parse_person_blob(const std::string& line);
57 
58 std::vector<Person_flow_blob> parse_person_blobs(const std::string& fname);
59 
60 }
61 }
62 
63 #endif
Class that represents an axis-aligned 2D rectangle. It is defined in terms of its (2D) center...
Definition: gr_2D_bounding_box.h:51
Person_flow_blob()
Definition: psi_person_blob.h:39
std::vector< Person_flow_blob > parse_person_blobs(const std::string &fname)
Definition: psi_person_blob.cpp:51
A class represent the blob detection based on the optical flow magnitude images.
Definition: psi_person_blob.h:37
Person_flow_blob parse_person_blob(const std::string &line)
Parse the optical flow blob.
Definition: psi_person_blob.cpp:30
double flow_velocity
Definition: psi_person_blob.h:49
Class representing an axis-aligned, 2D rectangle.
Bbox box
Definition: psi_person_blob.h:48