35 #ifndef PCL_RANGE_IMAGE_PLANAR_H_
36 #define PCL_RANGE_IMAGE_PLANAR_H_
54 typedef boost::shared_ptr<RangeImagePlanar>
Ptr;
55 typedef boost::shared_ptr<const RangeImagePlanar>
ConstPtr;
85 float focal_length,
float base_line,
float desired_angular_resolution=-1);
100 setDepthImage (
const float* depth_image,
int di_width,
int di_height,
float di_center_x,
float di_center_y,
101 float di_focal_length_x,
float di_focal_length_y,
float desired_angular_resolution=-1);
116 setDepthImage (
const unsigned short* depth_image,
int di_width,
int di_height,
float di_center_x,
float di_center_y,
117 float di_focal_length_x,
float di_focal_length_y,
float desired_angular_resolution=-1);
132 template <
typename Po
intCloudType>
void
134 int di_width,
int di_height,
float di_center_x,
float di_center_y,
135 float di_focal_length_x,
float di_focal_length_y,
136 const Eigen::Affine3f& sensor_pose,
138 float min_range=0.0f);
152 calculate3DPoint (
float image_x,
float image_y,
float range, Eigen::Vector3f& point)
const;
162 getImagePoint (
const Eigen::Vector3f& point,
float& image_x,
float& image_y,
float& range)
const;
178 getSubImage (
int sub_image_image_offset_x,
int sub_image_image_offset_y,
int sub_image_width,
179 int sub_image_height,
int combine_pixels,
RangeImage& sub_image)
const;
186 float focal_length_x_, focal_length_y_;
187 float focal_length_x_reciprocal_, focal_length_y_reciprocal_;
188 float center_x_, center_y_;
195 #endif //#ifndef PCL_RANGE_IMAGE_H_