40#include <pcl/range_image/range_image.h>
57 return std::atan2(y, x);
72 int x,
int y,
int offset_x,
int offset_y,
int pixel_radius)
const
77 if (std::isinf(neighbor.
range))
79 if (neighbor.
range < 0.0f)
157 direction.normalize();
237 for (
int y2=y-1;
y2<=y+1; ++
y2)
239 for (
int x2=x-1; x2<=x+1; ++x2)
327 for (
int step=1; step<=radius; ++step)
330 for (
int y2=y-step;
y2<=y+step;
y2+=step)
332 for (
int x2=x-step; x2<=x+step; x2+=step)
376 magnitude = std::sqrt (eigen_values[2]);
395 return std::isfinite(magnitude);
Iterator class for point clouds with or without given indices.
std::bitset< 32 > BorderTraits
Data type to store extended information about a transition from foreground to backgroundSpecification...
@ BORDER_TRAIT__OBSTACLE_BORDER_TOP
@ BORDER_TRAIT__OBSTACLE_BORDER_LEFT
@ BORDER_TRAIT__OBSTACLE_BORDER_RIGHT
@ BORDER_TRAIT__OBSTACLE_BORDER_BOTTOM
@ BORDER_TRAIT__OBSTACLE_BORDER
@ BORDER_TRAIT__SHADOW_BORDER
@ BORDER_TRAIT__VEIL_POINT
float squaredEuclideanDistance(const PointType1 &p1, const PointType2 &p2)
Calculate the squared euclidean distance between the two given points.
std::ostream & operator<<(std::ostream &os, const BivariatePolynomialT< real > &p)
A structure to store if a point in a range image lies on a border between an obstacle and the backgro...
A point structure representing Euclidean xyz coordinates, padded with an extra range float.