14 #ifdef KJB_HAVE_UA_CARTWHEEL
15 #include <MathLib/Capsule.h>
16 #include <Control/CapsuleState.h>
26 #ifdef KJB_HAVE_UA_CARTWHEEL
27 typedef CartWheel::Math::Capsule Cw_capsule;
30 #ifdef KJB_HAVE_UA_CARTWHEEL
33 const CartWheel::CapsuleState& capsules,
39 const std::vector<kjb::Cylinder>& cylinders,
43 #ifdef KJB_HAVE_UA_CARTWHEEL
44 std::vector<kjb::Vector> capsules_to_3d_points(
const std::vector<Cw_capsule*>& capsules);
56 const std::vector<kjb::Vector>& points_3d,
59 #ifdef KJB_HAVE_UA_CARTWHEEL
62 std::vector<kjb::Vector> points_3d = capsules_to_3d_points(capsules);
kjb::Color_histogram compute_color_histogram_from_box(const Bbox &box, const kjb::Image &img, unsigned int num_bins)
Definition: psi_bbox.cpp:220
Class that represents an axis-aligned 2D rectangle. It is defined in terms of its (2D) center...
Definition: gr_2D_bounding_box.h:51
std::vector< Bbox > get_bounding_boxes(const std::vector< kjb::Cylinder > &cylinders, const kjb::Perspective_camera &cam)
Definition: psi_bbox.cpp:206
Definition: psi_weighted_box.h:43
std::vector< kjb::Vector > cylinder_to_3d_points(const kjb::Cylinder &cylinder, double scale_long, double angle_short)
Definition: psi_bbox.cpp:159
This class implements vectors, in the linear-algebra sense, with real-valued elements.
Definition: m_vector.h:87
std::vector< Vector > get_corners(const Cuboid &c)
Definition: psi_weighted_box.cpp:31
Vector projective_to_euclidean_2d(const Vector &v)
Converts coordinates in (2D) projective space to coordinates in (2D) euclidean space.
Definition: g_util.cpp:109
Bbox get_bounding_box(const std::vector< kjb::Vector > &points_3d, const kjb::Perspective_camera &cam)
Definition: psi_bbox.cpp:172
St_perspective_camera for modeling a perspective camera using the classic Forsyth and Ponce parametri...
Code for computing basic color histograms for an image.
Definition: perspective_camera.h:93
x
Definition: APPgetLargeConnectedEdges.m:100
Vector euclidean_to_projective(const Vector &v)
Converts coordinates in euclidean space to coordinates in projective space.
Definition: g_util.cpp:122
kjb::Vector project_point(const kjb::Perspective_camera &cam, const kjb::Vector &x)
Definition: psi_bbox.h:83
Definition: g_cylinder.h:32
Wrapped version of the C struct KJB_image.
Definition: i_image.h:76
const Matrix & build_camera_matrix() const
Definition: perspective_camera.h:487
std::vector< kjb::Vector > box_to_3d_points(const Cuboid &box)
Definition: psi_bbox.h:49
Definition for the Vector class, a thin wrapper on the KJB Vector struct and its related functionalit...
Class to compute an RGB colour histogram over an image or a rectangular portion of it...
Definition: i_color_histogram.h:40