75 const int iStep(
step);
76 const int nbPointsIn = cloud.
features.cols();
77 const int phase(rand() % iStep);
80 for (
int i = phase; i < nbPointsIn; i += iStep)
#define LOG_INFO_STREAM(args)
Parametrizable::Parameters Parameters
void setColFrom(Index thisCol, const DataPoints &that, Index thatCol)
Set column thisCol equal to column thatCol of that, copy features and descriptors if any...
FixStepSamplingDataPointsFilter(const Parameters ¶ms=Parameters())
Functions and classes that are dependant on scalar type are defined in this templatized class...
const M::mapped_type & get(const M &m, const typename M::key_type &k)
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy...
virtual void init()
Init this filter.
The superclass of classes that are constructed using generic parameters. This class provides the para...
void conservativeResize(Index pointCount)
Resize the cloud to pointCount points, conserving existing ones.
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
Matrix features
features of points in the cloud
PM::DataPointsFilter DataPointsFilter
Systematic sampling, with variation over time.