Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] how to mesh medical image with multiple domains with features ??
Chronological Thread
- From: Pádraig Ó Conbhuí <>
- To:
- Subject: Re: [cgal-discuss] how to mesh medical image with multiple domains with features ??
- Date: Thu, 12 Nov 2015 17:02:40 +0000
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:yPBBIRNpobxwQLsvdrYl6mtUPXoX/o7sNwtQ0KIMzox0KPX8rarrMEGX3/hxlliBBdydsKIZzbaH+PG6EUU7or+/81k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i760zceF13FOBZvIaytQ8iJ35nxi7H5qsebSj4LrQT+SIs6FA+xowTVu5teqqpZAYF19CH0pGBVcf9d32JiKAHbtR/94sCt4MwrqHwI6Lpyv/NGSrjwKqQkUaRDXnNhKHEw/MSttB/ZTALJ6GFbSXQTihMPAg7L61bxUZ719yf7reFgwzLJAcqjRr89XXGu7rxgVQTzoCYBLT8wtm/N2eJqi6cOmJutvRV+zMZvKKqSMvB+YyaVKcsdTm1HVMZMVgROB4q9a80ECO9XbrUQlJX0u1Zb9Uj2PgKrHu66kjI=
Hi kostados,
There are a couple of potential reasons you're not getting good surfaces.
If it's the actual position of the surface that seems strange, make sure the error_bound value when you generate the domain is much smaller than the facet size you're using. If it's not, you can get all sorts of weird and wonderful problems.
If it's not preserving sharp features, like corners and edges, try adding "features" to the domain.
Assuming you're using the Labeled_image_mesh_domain_3 (http://doc.cgal.org/latest/Mesh_3/classCGAL_1_1Labeled__image__mesh__domain__3.html), you could use the Mesh_domain_with_polyline_features_3 (http://doc.cgal.org/latest/Mesh_3/classCGAL_1_1Mesh__domain__with__polyline__features__3.html) to add some information about your domain.
It would look something like
typedef CGAL::Mesh_domain_with_polyline_features_3< CGAL::Labeled_image_mesh_domain_3<CGAL::Image_3,K> > Mesh_domain;
and would be used the same as the regular Labeled_image_mesh_domain_3..
This gives you the ability to set some vertices and some lines that the final mesh will conform to. If you know where the sharp edges are (or do some processing on your image to find where they are), you can use this to make sure they are represented in the final mesh.
Regards,
Paddy
On Wed, Nov 4, 2015 at 4:20 PM, kostadus <> wrote:
Dear all,
I am trying to generate a mesh ( a tissue block with different organs
inside) from segmented medical images. I am following the examples in the
documentation however the surfaces of the mesh cant be accurately generated.
Does anyone know how to generate a mesh with maintaining the features of the
segmented organs for the case of medical images?
Best regards,
Konstantinos
--
View this message in context: http://cgal-discuss.949826.n4.nabble.com/how-to-mesh-medical-image-with-multiple-domains-with-features-tp4661320.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- [cgal-discuss] how to mesh medical image with multiple domains with features ??, kostadus, 11/04/2015
- Re: [cgal-discuss] how to mesh medical image with multiple domains with features ??, Pádraig Ó Conbhuí, 11/12/2015
Archive powered by MHonArc 2.6.18.