Go to the documentation of this file.
9 #ifndef TRangeImageFilter_H
10 #define CObservation3DRangeScan_H
65 if (D <= .0f)
return false;
67 bool pass_gt =
true, pass_lt =
true;
68 bool has_min_filter =
false, has_max_filter =
false;
74 has_min_filter =
true;
75 pass_gt = (D >= min_d);
83 has_max_filter =
true;
84 pass_lt = (D <= max_d);
87 if (has_min_filter && has_max_filter)
90 : !(pass_gt && pass_lt);
93 return pass_gt && pass_lt;
const mrpt::math::CMatrix * rangeMask_max
Mainly for internal use within CObservation3DRangeScan::project3DPointsFromDepthImageInto()
bool rangeCheckBetween
Only used if both rangeMask_min and rangeMask_max are present.
bool do_range_filter(size_t r, size_t c, const float D) const
Returns true if the point (r,c) with depth D passes all filters.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
GLdouble GLdouble GLdouble r
const mrpt::math::CMatrix * rangeMask_min
(Default: nullptr) If provided, each data range will be tested to be greater-than (rangeMask_min) or ...
TRangeImageFilterParams()
TRangeImageFilter(const TRangeImageFilterParams &filter_params)
This class is a "CSerializable" wrapper for "CMatrixFloat".
TRangeImageFilterParams fp
Used in CObservation3DRangeScan::project3DPointsFromDepthImageInto()
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |