38 #ifndef PCL_TRAJKOVIC_KEYPOINT_2D_H_
39 #define PCL_TRAJKOVIC_KEYPOINT_2D_H_
41 #include <pcl/keypoints/keypoint.h>
42 #include <pcl/common/intensity.h>
54 template <
typename Po
intInT,
typename Po
intOutT,
typename IntensityT = pcl::common::IntensityFieldAccessor<Po
intInT> >
58 typedef boost::shared_ptr<TrajkovicKeypoint2D<PointInT, PointOutT, IntensityT> >
Ptr;
59 typedef boost::shared_ptr<const TrajkovicKeypoint2D<PointInT, PointOutT, IntensityT> >
ConstPtr;
79 float first_threshold = 0.1,
80 float second_threshold = 100.0)
82 , window_size_ (window_size)
83 , first_threshold_ (first_threshold)
84 , second_threshold_ (second_threshold)
87 name_ =
"TrajkovicKeypoint2D";
150 greaterCornernessAtIndices (
int a,
int b)
const
160 int half_window_size_;
162 IntensityT intensity_;
164 float first_threshold_;
166 float second_threshold_;
168 unsigned int threads_;
174 #include <pcl/keypoints/impl/trajkovic_2d.hpp>
176 #endif // #ifndef PCL_TRAJKOVIC_KEYPOINT_2D_H_