Jane Tournois
c0b76f22ad
merge postprocessing weights function in feature detection
...
to avoid duplicating code
- clean example code
- remove all feature detection includes from generate_label_weights.h
- duplicate polylines_to_protect() to make its name more explicit
polylines_to_protect_on_bbox()
2023-02-24 17:28:30 +01:00
Jane Tournois
e2296b581f
fix the postprocessing weights function
...
add a parameter to generate_label_weights() to postprocess weights
and fix example code
2023-02-23 10:19:40 +01:00
Jane Tournois
6a1977c2c2
Merge branch 'Mesh_3-triple_line_extraction-GF' into Mesh_3-triple_line_extraction_and_weights-GF
...
# Conflicts:
# Mesh_3/include/CGAL/Labeled_mesh_domain_3.h
# Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Mesh_3_plugin.cpp
# Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Mesh_3_plugin_cgal_code.cpp
and fix compilation of mesh_3D_image_with_detection_of_features.cpp
2023-02-21 11:22:09 +01:00
Laurent Rineau
d24b180293
Merge branch 'master' into gsoc2022-boost_np
2022-10-28 15:39:36 +02:00
Laurent Rineau
2454bf45c3
Merge pull request #6864 from janetournois/Mesh_3-fix_weighted_images-GF
...
Mesh 3 - fix construction of weights image for labeled image input
2022-10-13 15:17:48 +02:00
Sébastien Loriot
b0a144c6e7
update examples to the new API
2022-09-26 20:14:26 +02:00
Jane Tournois
0640664129
clean examples and separate with/without features
2022-09-26 09:49:30 +02:00
Jane Tournois
372b7617b0
use weights and features in example
2022-09-23 17:21:14 +02:00
Jane Tournois
77a121c1a6
Merge branch 'Mesh_3-fix_weighted_images-GF' into Mesh_3-triple_line_extraction_and_weights-GF
2022-09-23 15:53:14 +01:00
Jane Tournois
6175050c90
Merge branch 'Mesh_3-triple_line_extraction-GF' into Mesh_3-triple_line_extraction_and_weights-GF
...
# Conflicts:
# Mesh_3/examples/Mesh_3/mesh_3D_image_with_detection_of_features.cpp
2022-09-23 16:26:49 +02:00
Jane Tournois
0f4ac2bd04
remove debug macro from example code
2022-09-22 14:05:59 +02:00
Jane Tournois
af908bea25
use ITK DiscreteGaussianImageFilter with variance = 1 voxel
...
sigma parameter is difficult to use for end user
2022-09-22 12:48:46 +02:00
Jane Tournois
55728c5042
avoid using deprecated output_to_medit() function
2022-06-08 22:57:24 +02:00
Jane Tournois
f7aef4aaca
experiments to deal with triple lines extraction and weights
2022-02-15 18:30:57 +01:00
Sébastien Loriot
3cf45cb83b
update image path
2021-10-29 17:24:44 +02:00
Sébastien Loriot
fab7c364fd
function is in the IO namespace
2021-10-13 17:49:50 +02:00
Jane Tournois
bddb4fcdc6
remove debug code
...
Co-authored-by: Laurent Rineau <Laurent.Rineau@cgal.org>
2021-09-23 10:54:31 +02:00
Jane Tournois
8bfb4e4464
avoid all triple for loops on i,j,k
2021-09-21 19:45:51 +02:00
Jane Tournois
e516b194b9
use Parallel_if_available_tag
2021-09-20 12:00:25 +02:00
Jane Tournois
e1d4c0df80
rename generate_weights() to generate_label_weights()
2021-08-31 14:58:21 +02:00
Jane Tournois
77152be776
uncomment the use of weights in example
2021-07-29 15:22:05 +02:00
Jane Tournois
c133042598
refine less the surface
2021-07-29 10:43:56 +02:00
Jane Tournois
5edf9d4361
improve example for doc
2021-07-26 11:20:03 +02:00
Jane Tournois
d069c07b04
remove Image_word_type template parameter
2021-07-05 14:38:46 +02:00
Jane Tournois
89e9269c0d
use using instead of typedef and remove unused typedefs
2021-07-05 13:52:44 +02:00
Jane Tournois
89a227af80
make 'weights' a boost named parameter of create_labeled_image_mesh_domain()
2021-06-25 17:09:32 +02:00
Jane Tournois
445378f1c5
remove writeImage from example
2021-06-24 15:43:35 +02:00
Jane Tournois
3b23b5650d
generate_weights is now working
2021-06-21 09:59:25 +02:00
Jane Tournois
d831724b10
convert a CGAL::Image_3 to ITK format to generate weights for weighted images
...
- add ITK as a dependency for mesh_3D_weighted_image.cpp
- WIP
2021-06-14 16:49:43 +02:00
Laurent Rineau
a9c2e07584
Fix the runtime error without arguments
2021-04-13 11:03:19 +02:00
Laurent Rineau
a5aaab66cf
Add weighted images
...
The API is not final.
2021-04-08 18:29:04 +02:00