Commit Graph

299 Commits

Author SHA1 Message Date
Simon Giraudot 4c99c7be33 Fix doc 2017-08-01 15:47:58 +02:00
Simon Giraudot be69b2bdd9 Update doc and API 2017-08-01 15:47:58 +02:00
Simon Giraudot 6a119fef11 Unify APIs of structuring and regularization 2017-08-01 15:47:58 +02:00
Simon Giraudot fd241cf918 Fix parameter in plane regularization 2017-08-01 15:45:38 +02:00
Simon Giraudot c1309bd35a Improve seed picking for region growing 2017-08-01 15:45:38 +02:00
Simon Giraudot a3b70e0fee Some fixes and improvements in Region growing 2017-08-01 15:45:38 +02:00
Simon Giraudot 7a2ee4bc02 Add Plane_range access in RANSAC 2017-08-01 15:45:38 +02:00
Simon Giraudot 47f42f63f1 Provide property maps to easily handle shape detection output 2017-08-01 15:45:37 +02:00
Simon Giraudot f3763c3456 Generalize plane regularization API 2017-08-01 15:45:37 +02:00
Simon Giraudot 1f439643f4 Add Region_growing as friend class of Shape_base 2017-08-01 15:45:06 +02:00
Simon Giraudot abda210b66 First version of region growing algorithm 2017-08-01 15:45:06 +02:00
Simon Giraudot b88deb3759 Rename Efficient_RANSAC_traits as Shape_detection_traits (same for concept) 2017-08-01 15:45:06 +02:00
Simon Giraudot 3fdcff513c Bugfix: do not keep track of if connected components were already computed or not 2017-06-20 14:04:07 +02:00
Andreas Fabri d9c634e63f Remove unused variables 2017-05-11 16:12:56 +02:00
Sébastien Loriot c360e025a1 Merge remote-tracking branch 'cgal/releases/CGAL-4.9-branch' into HEAD 2017-03-16 10:41:40 +01:00
Simon Giraudot 24ff167b72 Fix incomplete clear 2017-03-16 10:37:21 +01:00
Sébastien Loriot 50510c05ea add include directive for license of all GPL header files
done using:
ack-grep "^GPL" */package_info/*/license.txt -l | awk -F "/" '{print $1}' > /tmp/gpl_packages
for i in `cat /tmp/gpl_packages | \
          grep -v Operations_on_polyhedra | \
          grep -v Algebraic_kernel_for_circles | \
          grep -v Algebraic_kernel_for_spheres | \
          grep -v Polyhedron_IO`;
do
  echo $i
  python Scripts/developer_scripts/add_license_in_pkg_header.py $i
done
python Scripts/developer_scripts/add_license_in_pkg_header.py Operations_on_polyhedra Polygon_mesh_processing
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_circles Circular_kernel_2
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_spheres Circular_kernel_3
python Scripts/developer_scripts/add_license_in_pkg_header.py Polyhedron_IO Polyhedron
2017-01-19 15:20:25 +01:00
Simon Giraudot 94b0157563 Only check if other shape is the same if inliers not empty 2017-01-11 11:36:35 +01:00
Simon Giraudot 0df67413eb Fix EfficientRANSACTraits requirements 2016-10-31 15:11:55 +01:00
Simon Giraudot db30ed1a82 Update with remarks from code review 2016-10-31 12:38:18 +01:00
Simon Giraudot f65db046b1 Merge branch 'Point_set_processing_3-Point_set_structuring-GF-old' into Point_set_processing_3-Point_set_structuring-GF 2016-10-28 15:02:48 +02:00
Andreas Fabri d1f882c23f Fix package Point_set_shape_detection_3: include headers 2016-09-30 15:22:30 +02:00
Andreas Fabri d42bf64426 Fix package Point_set_shape_detection_3: include headers 2016-09-30 15:22:27 +02:00
Simon Giraudot 9fa12bf982 Merge branch 'Point_set_processing_3-Point_set_structuring-GF-old' into Point_set_processing_3-Point_set_structuring-GF 2016-07-19 14:50:15 +02:00
Simon Giraudot cd28623422 Add Line_2 to Efficient RANSAC traits 2016-07-05 14:16:28 +02:00
Guillaume Damiand 10469f9c4e Update with master 2016-05-25 10:58:55 +02:00
Simon Giraudot a6b11751b1 Merge branch 'Point_set_processing_3-Point_set_structuring-GF-old' into Point_set_processing_3-Point_set_structuring-GF 2016-05-17 10:00:03 +02:00
Sebastien Loriot 54b244c430 Merge pull request #914 from sgiraudot/Point_set_shape_detection_3-Plane_regularization-GF
Point set shape detection: Plane regularization
2016-04-29 13:08:44 +02:00
Simon Giraudot 763fd28a69 Warning fix: explicit conversion from double to FT 2016-04-25 10:05:47 +02:00
Simon Giraudot d04378bc7a Update doc with latest review 2016-04-21 09:57:16 +02:00
Simon Giraudot 5d5778f58e Fix symmetry regularization 2016-04-21 09:41:03 +02:00
Simon Giraudot abf2070f77 Clean up code 2016-04-21 07:56:03 +02:00
Simon Giraudot 18a3db0014 Use plane.d() to update m_d in Plane_shape 2016-04-20 15:34:58 +02:00
Simon Giraudot f28b7adc7b Some additional fixes 2016-04-20 15:34:39 +02:00
Simon Giraudot fc7d47e8d7 Add condition for subgraphing mutually orthogonal clusters 2016-04-20 12:57:13 +02:00
Simon Giraudot 5252b4ef36 Bugfix: bad index copy-paste 2016-04-20 12:35:30 +02:00
Simon Giraudot 238510c27e Remove warning 2016-04-20 11:55:29 +02:00
Simon Giraudot 55b9d92fc9 Bugfix: convert angle to radians 2016-04-20 11:33:46 +02:00
Simon Giraudot dc1aae87bd Bugfix: propagate property maps to regularization function 2016-04-20 11:33:10 +02:00
Simon Giraudot 372b2d161a Merge branch 'Point_set_processing_3-Point_set_structuring-GF-old-old' into Point_set_processing_3-Point_set_structuring-GF-old 2016-04-12 14:01:45 +02:00
Simon Giraudot aaa2a41e01 Explicit propagations of property maps to Octree structures 2016-03-30 14:08:28 +02:00
Simon Giraudot be5a66ef63 Add property maps as parameters of Octree constructor 2016-03-30 14:08:00 +02:00
Simon Giraudot b98dc48a61 Windows warning fix: explicit conversion to FT 2016-03-21 10:49:59 +01:00
Simon Giraudot 7276c06c36 Merge branch 'Point_set_shape_detection_3-Plane_regularization-GF-old' into Point_set_shape_detection_3-Plane_regularization-GF 2016-03-15 10:37:02 +01:00
Simon Giraudot 24d1c662ce Update doc with new API 2016-03-14 11:53:41 +01:00
Simon Giraudot cab047817a Clarify API of plane regularization 2016-03-14 10:16:43 +01:00
Simon Giraudot e30e2e278f Propagate name change (Plane_regularization -> regularize_planes) 2016-03-14 09:06:45 +01:00
Simon Giraudot 03decddb0b Plane_regularization class is now a simple function regularize_planes 2016-03-11 15:29:15 +01:00
Clement Jamin 9a61b23b55 Use get_default_random() instead of default_random 2016-03-09 10:35:21 +01:00
Maxime Gimeno 5ffc01f1a1 indentation warnings fix 2016-01-28 14:17:11 +01:00
Simon Giraudot cf7d88c475 Explicit cast to FT for constructor point 2016-01-06 08:08:26 +01:00
Simon Giraudot 3ba780f49c Warning fix: explicit conversion of float to FT 2016-01-05 10:33:45 +01:00
Simon Giraudot a0853b21a8 Authors 2016-01-04 11:54:38 +01:00
Simon Giraudot 467e599257 Explicit conversion of double/floats to FT 2016-01-04 11:39:05 +01:00
Simon Giraudot 91aa735745 Bugfix: assigned -1 to unsigned and test if <0 never works 2015-12-30 13:52:46 +01:00
Simon Giraudot 4cd4d02b18 Declare floats explicitly to avoid warnings on Visual Studio 2015-12-30 13:44:02 +01:00
Simon Giraudot ad1feb89e1 Warning corrections: incorrect types 2015-12-30 09:16:31 +01:00
Simon Giraudot bb169a00d0 Remove extra semicolon after namespace (pedantic error) 2015-12-30 08:31:02 +01:00
Simon Giraudot 7b034b534b RANSAC plane: check if normal orientation is consistent with data 2015-11-30 14:34:08 +01:00
Simon Giraudot c5a1621ff7 Add access to base kernel in Efficient RANSAC traits 2015-11-27 11:51:55 +01:00
Simon Giraudot dcf06b4a13 Creation of edge points and anchor points 2015-11-12 14:58:43 +01:00
Simon Giraudot 192d8c00b4 Additional functions in plane shape to avoid constructing Plane_3 object 2015-11-09 12:26:40 +01:00
Simon Giraudot 939e541ba5 More on manual and improve clarity of parameters 2015-11-06 18:02:19 +01:00
Simon Giraudot 82ee9c8ce0 Default behavior: no symmetry required 2015-11-06 14:36:22 +01:00
Simon Giraudot 06fb8a7916 Generalize symmetry from Z-axis to any user-given vector 2015-11-06 14:16:53 +01:00
Simon Giraudot 1d44ead4bc Documentation of plane regularization 2015-11-05 13:52:46 +01:00
Simon Giraudot 2f2910dd50 Bugfix (0/0 makes NaN) + adding parameters + start writing doc 2015-11-05 11:09:46 +01:00
Simon Giraudot 58f4a7b74f Correction of variable name and meaning 2015-11-04 15:08:59 +01:00
Simon Giraudot 7559892be3 Remove useless vectors and apply directly transformations to planes 2015-11-04 12:04:21 +01:00
Simon Giraudot 752d9f2d16 More reorganization 2015-11-04 11:23:39 +01:00
Simon Giraudot 536abe1f3f Reorganize and simplify code 2015-11-03 18:02:15 +01:00
Simon Giraudot 25e65415e5 Introduce Plane_cluster structure for clearer notations 2015-11-02 16:41:53 +01:00
Simon Giraudot 9d5c13c94c Simplify storage of parallel planes 2015-11-02 15:40:11 +01:00
Simon Giraudot e1ff4f68c7 Remove wrapper completely 2015-11-02 15:34:56 +01:00
Simon Giraudot a49b440ba0 Use RANSAC planes directly (reduce wrapper) 2015-11-02 15:15:40 +01:00
Simon Giraudot ebb3dc18b9 Add some useful methods for RANSAC Planes 2015-11-02 15:15:27 +01:00
Simon Giraudot 455e341731 Bugfix in wrapper for regularization 2015-11-02 11:36:10 +01:00
Simon Giraudot 20c95612d0 Improve code readability 2015-11-02 11:17:34 +01:00
Simon Giraudot 9c50ea1070 Wrapper for raw code done + some errors corrected 2015-10-30 15:38:56 +01:00
Simon Giraudot 971f445093 Dump raw research code (wrapper not complete yet) 2015-10-30 14:38:15 +01:00
Simon Giraudot 49017ae7b4 Commented structure of algorithm + two useful functions 2015-10-30 13:23:32 +01:00
Simon Giraudot 4c601e00db Plug RANSAC in plane regularization class 2015-10-30 13:00:21 +01:00
Simon Giraudot cea079532a Plane regularization file and basic structure 2015-10-30 11:35:10 +01:00
Sébastien Loriot 277c7b562a move test file out of the include dir 2015-07-31 09:56:52 +02:00
Clement Jamin 98e36704f7 Make connected_component virtual 2015-07-17 14:16:28 +02:00
Clement Jamin 3b29aeef2d We must never call the Point_3/Vector_3 constructor directly
+ avoid having uninitialized variables
2015-07-17 12:25:17 +02:00
Sébastien Loriot 3ccb377f14 fix the uncatchable bug with spheres 2015-07-17 11:55:26 +02:00
Sven Oesau 5767aad9b3 bugfixes
and some warnings removed
2015-07-16 18:16:50 +02:00
Sven Oesau f1a36e891b bugfix 2015-07-16 15:45:45 +02:00
Sven Oesau d2ad8565a3 check vector size before access 2015-07-16 11:16:39 +02:00
Clement Jamin 86a5b78992 Use CGAL::default_random everywhere 2015-07-15 15:20:13 +02:00
Clement Jamin 1fd6e64737 More protection when accessing "bitmap" 2015-07-15 10:58:48 +02:00
Sven Oesau 6babcf966f fixed warnings 2015-07-11 12:24:10 +02:00
Sven Oesau 3f96610bcb checking range for bitmap access in connected component
shortening some lines
2015-07-10 23:17:42 +02:00
Clement Jamin c419bd1246 Added some "using" for the exact same reason 2015-07-10 10:47:12 +02:00
Clement Jamin 580211cc6a Added some this-> to make GCC happy again
I know, he's right to be angry...
2015-07-10 10:41:10 +02:00
Clement Jamin 870a49b868 Removed temporary testing code 2015-07-10 10:37:10 +02:00
Clement Jamin 0f17afa049 Octree: bugfix + use of Construct_xxx 2015-07-10 10:00:45 +02:00
Clement Jamin f4f9a75c44 Let's get back to the real traits class 2015-07-10 09:08:54 +02:00
Clement Jamin bb5b745d98 The torus is working fine, now 2015-07-10 09:08:07 +02:00