37 #ifndef PCL_SHOT_OMP_H_
38 #define PCL_SHOT_OMP_H_
64 template <
typename Po
intInT,
typename Po
intNT,
typename Po
intOutT = pcl::SHOT352,
typename Po
intRFT = pcl::ReferenceFrame>
104 threads_ = nr_threads;
125 template <
typename Po
intInT,
typename Po
intNT,
typename Po
intOutT = pcl::SHOT1344,
typename Po
intRFT = pcl::ReferenceFrame>
140 using SHOTColorEstimation<PointInT, PointNT, PointOutT, PointRFT>::descLength_;
141 using SHOTColorEstimation<PointInT, PointNT, PointOutT, PointRFT>::nr_grid_sector_;
142 using SHOTColorEstimation<PointInT, PointNT, PointOutT, PointRFT>::nr_shape_bins_;
143 using SHOTColorEstimation<PointInT, PointNT, PointOutT, PointRFT>::sqradius_;
144 using SHOTColorEstimation<PointInT, PointNT, PointOutT, PointRFT>::radius3_4_;
145 using SHOTColorEstimation<PointInT, PointNT, PointOutT, PointRFT>::radius1_4_;
146 using SHOTColorEstimation<PointInT, PointNT, PointOutT, PointRFT>::radius1_2_;
147 using SHOTColorEstimation<PointInT, PointNT, PointOutT, PointRFT>::b_describe_shape_;
148 using SHOTColorEstimation<PointInT, PointNT, PointOutT, PointRFT>::b_describe_color_;
149 using SHOTColorEstimation<PointInT, PointNT, PointOutT, PointRFT>::nr_color_bins_;
156 bool describe_color =
true,
157 unsigned int nr_threads = - 1)
158 : SHOTColorEstimation<PointInT, PointNT, PointOutT, PointRFT> (describe_shape, describe_color), threads_ ()
171 threads_ = nr_threads;
192 template <
typename Po
intInT,
typename Po
intNT,
typename Po
intRFT>
194 <PointInT, PointNT, pcl::SHOT, PointRFT>
198 using Feature<PointInT, pcl::SHOT>::feature_name_;
199 using Feature<PointInT, pcl::SHOT>::getClassName;
200 using Feature<PointInT, pcl::SHOT>::input_;
201 using Feature<PointInT, pcl::SHOT>::indices_;
202 using Feature<PointInT, pcl::SHOT>::k_;
203 using Feature<PointInT, pcl::SHOT>::search_parameter_;
204 using Feature<PointInT, pcl::SHOT>::search_radius_;
205 using Feature<PointInT, pcl::SHOT>::surface_;
206 using Feature<PointInT, pcl::SHOT>::fake_surface_;
207 using FeatureFromNormals<PointInT, PointNT, pcl::SHOT>::normals_;
208 using FeatureWithLocalReferenceFrames<PointInT, PointRFT>::frames_;
209 using SHOTEstimation<PointInT, PointNT, pcl::SHOT, PointRFT>::descLength_;
210 using SHOTEstimation<PointInT, PointNT, pcl::SHOT, PointRFT>::nr_grid_sector_;
211 using SHOTEstimation<PointInT, PointNT, pcl::SHOT, PointRFT>::nr_shape_bins_;
212 using SHOTEstimation<PointInT, PointNT, pcl::SHOT, PointRFT>::sqradius_;
213 using SHOTEstimation<PointInT, PointNT, pcl::SHOT, PointRFT>::radius3_4_;
214 using SHOTEstimation<PointInT, PointNT, pcl::SHOT, PointRFT>::radius1_4_;
215 using SHOTEstimation<PointInT, PointNT, pcl::SHOT, PointRFT>::radius1_2_;
256 template <
typename Po
intNT,
typename Po
intRFT>
257 class PCL_DEPRECATED_CLASS (
SHOTEstimationOMP, "
SHOTEstimationOMP<pcl::PointXYZRGBA,...,
pcl::SHOT,...> IS DEPRECATED, USE
SHOTEstimationOMP<pcl::PointXYZRGBA,...,pcl::SHOT352,...> FOR SHAPE AND SHOTColorEstimationOMP<pcl::PointXYZRGBA,...,pcl::SHOT1344,...> FOR SHAPE+COLOR INSTEAD")
258 <pcl::PointXYZRGBA, PointNT, pcl::SHOT, PointRFT>
259 :
public SHOTEstimation<pcl::PointXYZRGBA, PointNT, pcl::SHOT, PointRFT>
262 using SHOTEstimation<pcl::PointXYZRGBA, PointNT, pcl::SHOT, PointRFT>::feature_name_;
263 using SHOTEstimation<pcl::PointXYZRGBA, PointNT, pcl::SHOT, PointRFT>::getClassName;
264 using SHOTEstimation<pcl::PointXYZRGBA, PointNT, pcl::SHOT, PointRFT>::input_;
265 using SHOTEstimation<pcl::PointXYZRGBA, PointNT, pcl::SHOT, PointRFT>::indices_;
266 using SHOTEstimation<pcl::PointXYZRGBA, PointNT, pcl::SHOT, PointRFT>::k_;
267 using SHOTEstimation<pcl::PointXYZRGBA, PointNT, pcl::SHOT, PointRFT>::search_parameter_;
268 using SHOTEstimation<pcl::PointXYZRGBA, PointNT, pcl::SHOT, PointRFT>::search_radius_;
269 using SHOTEstimation<pcl::PointXYZRGBA, PointNT, pcl::SHOT, PointRFT>::surface_;
270 using FeatureFromNormals<pcl::PointXYZRGBA, PointNT, pcl::SHOT>::normals_;
271 using FeatureWithLocalReferenceFrames<pcl::PointXYZRGBA, PointRFT>::frames_;
272 using SHOTEstimation<pcl::PointXYZRGBA, PointNT, pcl::SHOT, PointRFT>::descLength_;
273 using SHOTEstimation<pcl::PointXYZRGBA, PointNT, pcl::SHOT, PointRFT>::nr_grid_sector_;
274 using SHOTEstimation<pcl::PointXYZRGBA, PointNT, pcl::SHOT, PointRFT>::nr_shape_bins_;
275 using SHOTEstimation<pcl::PointXYZRGBA, PointNT, pcl::SHOT, PointRFT>::sqradius_;
276 using SHOTEstimation<pcl::PointXYZRGBA, PointNT, pcl::SHOT, PointRFT>::radius3_4_;
277 using SHOTEstimation<pcl::PointXYZRGBA, PointNT, pcl::SHOT, PointRFT>::radius1_4_;
278 using SHOTEstimation<pcl::PointXYZRGBA, PointNT, pcl::SHOT, PointRFT>::radius1_2_;
279 using SHOTEstimation<pcl::PointXYZRGBA, PointNT, pcl::SHOT, PointRFT>::b_describe_shape_;
280 using SHOTEstimation<pcl::PointXYZRGBA, PointNT, pcl::SHOT, PointRFT>::b_describe_color_;
281 using SHOTEstimation<pcl::PointXYZRGBA, PointNT, pcl::SHOT, PointRFT>::nr_color_bins_;
288 bool describeColor =
false,
289 unsigned int nr_threads = - 1,
290 const int nr_shape_bins = 10,
291 const int nr_color_bins = 30)
292 : SHOTEstimation<pcl::PointXYZRGBA, PointNT, pcl::SHOT, PointRFT> (describeShape, describeColor, nr_shape_bins, nr_color_bins),
324 #endif //#ifndef PCL_SHOT_OMP_H_