MCPcopy Create free account
hub / github.com/PointCloudLibrary/pcl / compute

Function compute

tools/local_max.cpp:87–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void
88compute (ConstCloudPtr &input, Cloud &output, float radius)
89{
90 // Estimate
91 TicToc tt;
92 tt.tic ();
93
94 print_highlight (stderr, "Computing ");
95
96 LocalMaximum<PointType> lm;
97 lm.setInputCloud (input);
98 lm.setRadius (radius);
99 lm.filter (output);
100
101 print_info ("[done, "); print_value ("%g", tt.toc ()); print_info (" ms : "); print_value ("%d", output.width * output.height); print_info (" points]\n");
102}
103
104void
105saveCloud (const std::string &filename, const Cloud &output)

Callers 2

batchProcessFunction · 0.70
mainFunction · 0.70

Calls 6

print_valueFunction · 0.85
ticMethod · 0.80
tocMethod · 0.80
setInputCloudMethod · 0.45
setRadiusMethod · 0.45
filterMethod · 0.45

Tested by

no test coverage detected