Commit Graph

  • 57a1484d85 Remove unused code in persistence_utils.h Heiko Thiel 2020-11-09 11:39:37 +01:00
  • 2f556f7a9c Organized nearest k search: better container for results Using a vector (ordered by distance) instead of a priority queue makes the nearest k search faster: - with a vector, it is possible to reserve() the needed space, but not with a priority queue - adding a new element to the priority queue is done with push(). In contrast, inserting a new element into the ordered vector is done by first determining the correct place with upper_bound(), and then calling emplace - removing the element with the largest distance (to make sure that there are at most k entries) is done with pop() for the priority queue (logarithmic complexity), and with pop_back() for the vector (constant complexity) - in the end, when k_indices and k_sqr_distances are filled with the info from results, it is faster to use a vector, since the pop() of priority queue (logarithmic complexity) can be avoided - also: caching the size instead of calling size() over and over To compare the speed of this new implementation with the current one, I measured the time that NormalEstimation needs because it spends most of its time searching the neighbors of each point. I used the datasets milk_cartoon_all_small_clorox.pcd and table_scene_mug_stereo_textured.pcd, each with k=50 and k=100. With this new organized search, NormalEstimation needs only about 80% of the time it took before, so I estimate the nearest k search takes only about three quarters of the time it took before. Markus Vieth 2020-11-08 17:30:40 +01:00
  • a3204d7bed Merge pull request #4395 from kunaltyagi/release-ci Kunal Tyagi 2020-11-09 00:48:43 +09:00
  • ba3dbd3e83 Merge pull request #4450 from JStech/format-registration-src Kunal Tyagi 2020-11-09 00:27:08 +09:00
  • 2649cbd406 Organized search: make squared_radius a const float Markus Vieth 2020-11-07 18:27:17 +01:00
  • f55ed83abc Merge pull request #4466 from kunaltyagi/voxelgrid.cov Kunal Tyagi 2020-11-07 20:56:16 +09:00
  • 5e005f68c6 Merge pull request #4495 from SunBlack/replace_stringstream_visualization Kunal Tyagi 2020-11-07 20:24:45 +09:00
  • 871250d341 Applying clang-format on the files touched Kunal Tyagi 2020-05-16 09:40:41 +09:00
  • 1c634a22a2 formatting registration/src John Stechschulte 2020-10-15 22:14:50 -06:00
  • 541bd51820 Replace std::stringstream by std::string [visualization] Heiko Thiel 2020-11-06 20:37:18 +01:00
  • b6e8eff374 Replace std::stringstream by std::string [tools] Heiko Thiel 2020-11-06 19:50:25 +01:00
  • daf887c8e8 Fix compile error Heiko Thiel 2020-11-06 15:57:24 +01:00
  • 6f74155f62 * Use static constexpr * Use array access without exception handling Heiko Thiel 2020-11-06 11:00:08 +01:00
  • eebd3018e5 Format include/pcl/registration/*.h (#4449) John Stechschulte 2020-11-05 16:52:08 -07:00
  • 1c044911c1 Merge pull request #4430 from JStech/kdtree_knn_when_k_is_0 Kunal Tyagi 2020-11-06 08:39:51 +09:00
  • 9e90c89257 Merge pull request #4484 from SunBlack/libusb_claim_interface_fix Kunal Tyagi 2020-11-06 08:35:09 +09:00
  • 4b1d355ecd added callback for uint index type for ply_parser Daniil Nikulin 2020-11-05 20:33:27 +03:00
  • f6843e52c8 Use std::array in ColorLUT Heiko Thiel 2020-11-05 17:12:19 +01:00
  • 89bad57cd6 Merge pull request #4141 from kunaltyagi/throw-no-segfault Kunal Tyagi 2020-11-05 16:46:13 +09:00
  • 06a07484f4 Deprecating API with unused parameter Kunal Tyagi 2020-05-16 09:39:00 +09:00
  • e5f4a176ed Merge pull request #4470 from keineahnung2345/fix_euclidean_clustering_tutorial_fnc_name Kunal Tyagi 2020-11-04 23:37:40 +09:00
  • 09f705ec40 Replace Ubuntu 16.04 docker builds with 20.10 (#4479) Kunal Tyagi 2020-11-04 11:16:44 +09:00
  • 10b24668f7 Fix crash in libusb_claim_interface due to missing initialization of device_handle_ Heiko Thiel 2020-11-03 14:06:28 +01:00
  • d55c07c809 Merge pull request #4481 from 1r0b1n0/add_missing_linebreak Kunal Tyagi 2020-11-03 10:14:33 +09:00
  • 7576efb099 Merge pull request #4482 from mvieth/documentation2 Kunal Tyagi 2020-11-03 10:05:40 +09:00
  • 1d2c4ae3fd Refactor cmake find script oft libusb Heiko Thiel 2020-11-02 23:01:54 +01:00
  • 69732f4298 Fix typos Markus Vieth 2020-11-02 18:52:43 +01:00
  • b881b7d068 Fix hyperlink in doxygen Broken by commit 70d6897eb6 Markus Vieth 2020-11-02 18:45:40 +01:00
  • beda525810 Remove wrong quotation marks in doxygen Markus Vieth 2020-11-02 18:40:57 +01:00
  • f982495a58 add missing \n in PCL_WARN and PCL_ERROR Robin Vanhove 2020-11-02 18:27:07 +01:00
  • 79da8112ae Merge pull request #4477 from mvieth/macos_fix Markus Vieth 2020-11-02 09:54:47 +01:00
  • 117d235b0e Use more auto in range-for-loops to fix macos builds Markus Vieth 2020-11-01 12:26:44 +01:00
  • 8e763bdabc Fix normal similarity condition keineahnung2345 2020-11-01 11:27:14 +08:00
  • a7647fa0ac Change a function's name in conditional euclidean clustering tutorial keineahnung2345 2020-10-27 17:25:09 +08:00
  • bc1cb2c2ab reformatting include/pcl/registration/impl (#4448) John Stechschulte 2020-10-29 03:07:57 -06:00
  • ed0a395fcb Merge pull request #4471 from SunBlack/librealsense_support Kunal Tyagi 2020-10-29 18:06:58 +09:00
  • e4ab9dbeed Merge pull request #4295 from mvieth/documentation Kunal Tyagi 2020-10-29 17:59:42 +09:00
  • 686f304020 Remove limitation of librealsense 2.x to Windows only, including several fixes: * Fix warning: function previously declared with an explicit exception specification redeclared with an implicit exception specification [-Wimplicit-exception-spec-mismatch] RealSense2Grabber::~RealSense2Grabber () * Fix warning: comparison of integers of different signs: 'int' and 'std::size_t' * Fix error: use of undeclared identifier 'size' (issue introduced in #4190) * Fix error: variable 'cloud_texture_ptr' must have explicitly specified data sharing attributes Heiko Thiel 2020-10-27 18:15:49 +01:00
  • 7c8db4e1c2 Merge pull request #4435 from PerceptMD/UniformSampling_comment_patch Kunal Tyagi 2020-10-28 00:01:35 +09:00
  • 007041bc18 Merge pull request #4469 from keineahnung2345/fix_euclidean_clustering_tutorial_typo Kunal Tyagi 2020-10-28 00:00:56 +09:00
  • fa12ac5eb6 Fix the covariance calculation as suggested by @zxd123 Kunal Tyagi 2020-10-27 13:23:51 +09:00
  • d6609860e1 Fix typo in conditional euclidean clustering tutorial keineahnung2345 2020-10-27 17:18:34 +08:00
  • c7e35fa264 Removed file file_io.cpp (#4454) Felipe Ximenes 2020-10-20 21:01:12 -03:00
  • 9c592cb116 Merge pull request #4408 from mvieth/segmentation_indices Markus Vieth 2020-10-17 10:28:43 +02:00
  • a0e2874fd7 Optimize includes As recommended by include-what-you-use Markus Vieth 2020-10-16 20:20:47 +02:00
  • 7ee908e608 Merge pull request #4447 from JTrantow/TypoCorrection Markus Vieth 2020-10-16 10:54:52 +02:00
  • 1db7d95be7 Merge pull request #4419 from koide3/ndt-mt-condition Kunal Tyagi 2020-10-16 15:05:34 +09:00
  • 1d928d6efa Simple typo fix. jtrantow 2020-10-15 15:24:06 -05:00
  • a66ad2d61e Merge pull request #4445 from JStech/contributing-link-fixes Kunal Tyagi 2020-10-15 10:42:11 +09:00
  • ac5f90a89b Merge pull request #4407 from mvieth/filters_indices Kunal Tyagi 2020-10-15 08:47:13 +09:00
  • 6b17611dec link fixes in CONTRIBUTING.md John Stechschulte 2020-10-14 15:21:00 -06:00
  • 9e2297c388 Merge pull request #4441 from koide3/size_check Kunal Tyagi 2020-10-14 21:37:34 +09:00
  • b740b97197 add a size check for Registration::setInputSource k.koide 2020-10-13 11:29:20 +09:00
  • 3906e52ee7 Merge pull request #4341 from larshg/Remove1.12Depcrecated Kunal Tyagi 2020-10-10 11:57:38 +09:00
  • e3ac902619 Remove deprecated in visualization Lars Glud 2020-08-20 15:15:26 +02:00
  • 36d9ef957b Remove deprecated in surface Lars Glud 2020-08-20 15:15:15 +02:00
  • 613062f3f1 Remove deprecated in segmentation Lars Glud 2020-08-20 15:14:59 +02:00
  • 752c9bda1f Remove deprecated in registration Lars Glud 2020-08-20 15:14:34 +02:00
  • b091a1331f Remove deprecated in recognition Lars Glud 2020-08-20 15:14:13 +02:00
  • 937eeb788e Remove deprecated in octree Lars Glud 2020-08-20 15:13:56 +02:00
  • 8329e01c42 Remove deprecated in I/O. Lars Glud 2020-08-20 15:13:40 +02:00
  • 2c358f510c Remove deprecated in filters Lars Glud 2020-08-20 15:13:23 +02:00
  • 17fc27ef50 Remove deprecated in features Lars Glud 2020-08-20 15:13:10 +02:00
  • 769b9b505a Remove depecrated in common Lars Glud 2020-08-20 15:12:43 +02:00
  • 30d6a04128 Merge pull request #4339 from kunaltyagi/pcd_omp Kunal Tyagi 2020-10-09 23:27:53 +09:00
  • b8820860e9 make total_nr_points_ a uindex_t John Stechschulte 2020-10-08 12:30:04 -06:00
  • 14791f3857 Deprecate TransformationEstimationDQ in favor of TransformationEstimationDualQuaternion (#4425) John Stechschulte 2020-10-08 01:41:59 -06:00
  • 871342292c handle 0 or negative k John Stechschulte 2020-10-07 22:16:43 -06:00
  • 5f80d044bf removing trailing whitespace John Stechschulte 2020-10-07 22:16:20 -06:00
  • 629c1e7d74 Update uniform_sampling.h PerceptMD 2020-10-07 11:50:41 +02:00
  • 3fab805ae7 Merge pull request #4432 from larshg/FixYouTubeLinks Kunal Tyagi 2020-10-05 18:17:31 +09:00
  • 934e0c437f Fix http to be https youtube iframe src links. Lars Glud 2020-10-04 10:36:50 +02:00
  • 2cf2a28fd5 Remove redundant comments k.koide 2020-10-04 23:35:49 +09:00
  • e81ce537fb Added docstring Kunal Tyagi 2020-10-01 13:07:33 +09:00
  • 2b726e5912 Use iota in extract_indices.hpp Markus Vieth 2020-09-27 11:59:04 +02:00
  • 55d9b74e03 Use squaredNorm instead of norm to avoid sqrt Markus Vieth 2020-09-24 20:28:10 +02:00
  • 4367d95342 Separate MT line search conditions k.koide 2020-09-25 20:38:02 +09:00
  • 67d7a4affa Merge pull request #4413 from mvieth/optimize_includes7 Markus Vieth 2020-09-25 09:46:01 +02:00
  • f67ff90193 Make SampleConsensusModelFromNormals appear in sample_consensus doc Markus Vieth 2020-09-24 20:26:58 +02:00
  • bd6911da6e Update NDT's MT trial value selection for multi-threading k.koide 2020-09-24 17:12:41 +09:00
  • 24dbd9b8d3 Optimize includes As recommended by include-what-you-use Markus Vieth 2020-09-19 17:31:38 +02:00
  • 9dfb9934c0 Change some loops to work with index_t and Indices Markus Vieth 2020-09-16 17:21:26 +02:00
  • 5658458830 Merge pull request #3519 from mvieth/sac_model_simd Markus Vieth 2020-09-18 11:10:36 +02:00
  • 3857f23fa1 Merge pull request #4409 from mvieth/forloops2 Markus Vieth 2020-09-17 16:03:36 +02:00
  • 6ed6e1e668 Change some loops to work with index_t and Indices Markus Vieth 2020-09-16 14:01:57 +02:00
  • 15f02d6417 Use auto in more range-for loops Markus Vieth 2020-09-16 18:49:24 +02:00
  • 04c79e3168 Change types of indices in segmentation module Markus Vieth 2020-09-16 16:42:39 +02:00
  • feb6d20076 Change indices type of segmentation function parameters Markus Vieth 2020-09-16 16:12:59 +02:00
  • 6bd65ab917 Add a better error message in pcl::gpu::Octree if not built with proper CUDA support (#4402) Mitchell Spryn 2020-09-15 10:53:43 -07:00
  • 6cbc12b554 Change types of indices variables in filters module Markus Vieth 2020-09-15 16:06:06 +02:00
  • 5bc5a959f1 Change indices type in more filter functions Markus Vieth 2020-09-15 15:54:50 +02:00
  • c0ee0f799f Change indices type of filter, applyFilter, applyFilterIndices functions Markus Vieth 2020-09-15 15:46:14 +02:00
  • b6f785f679 Merge branch 'master' into sac_model_simd Markus Vieth 2020-09-14 16:38:23 +02:00
  • 916b04b4bd Make inline functions dist4, dist8 available Markus Vieth 2020-09-14 16:18:22 +02:00
  • 226541a167 Update pcl_find_cuda.cmake to contain all supported architectures (#4400) Mitchell Spryn 2020-09-14 05:09:16 -07:00
  • 819d7f134e Add macros to improve readability Markus Vieth 2020-09-14 12:19:32 +02:00
  • 7702697823 Merge pull request #4381 from mvieth/sac_model_registration Kunal Tyagi 2020-09-14 17:40:39 +09:00
  • bff09b1e9f Merge pull request #4396 from kunaltyagi/tf_plae Kunal Tyagi 2020-09-14 01:39:49 +09:00
  • 603316e493 Merge pull request #4398 from mvieth/transform Kunal Tyagi 2020-09-14 01:38:28 +09:00
  • 0816a8cec2 Allow user to apply arbitrary constraint on models in sample consensus (#4260) Markus Vieth 2020-09-12 22:07:35 +02:00