Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Re: 3D meshing of multidomain segmented images with sharp features
Chronological Thread
- From: David Bernstein <>
- To:
- Subject: Re: [cgal-discuss] Re: 3D meshing of multidomain segmented images with sharp features
- Date: Tue, 21 May 2013 16:25:01 -0700
Hi Andreas, If I have an image created by
CGAL::Image_3 image(_createImage(mXdim, mYdim, mZdim, data_vector_size,
mVX, mVY, mVZ,
word_size_bytes,
word_kind,
sgn));
and then filled with data what would be the way to write it to an inr file?
Sorry, I looked through the code and the online manuals but couldn't find an
answer to this.
Thanks,
Dave
On May 21, 2013, at 1:57 PM, Andreas Fabri
<>
wrote:
> On 21/05/2013 19:39, David Bernstein wrote:
>> Hi Andreas, Thanks for your response. I think perhaps that the part
>> about the sphere surface is not right but the interior
>> subdomain_index seems to be a real issue.
>>
>> I'm setting the image data manually through function (a red flag I
>> know, I checked it many times and as far as I can tell it's working
>> correctly). If I can write this to an inr file I'll send it to you.
>
> yes please.
>
> andreas
>
>
>>
>> Dave
>>
>> On May 21, 2013, at 3:02 AM, Andreas Fabri
>> <>
>> wrote:
>>
>>>
>>> Hi David,
>>>
>>> Is your post in the right thread? I can't see sharp features in
>>> your spheres.
>>>
>>> Can you provide the data set of the sphere, and the call to the
>>> mesh generator (plus the #includes and typedefs) so that we can try
>>> to reproduce and fix it.
>>>
>>> The same for a multidomain segmented image.
>>>
>>> best,
>>>
>>> andreas
>>>
>>>
>>> On 21/05/2013 03:40, David Bernstein wrote:
>>>> Here's an example of something I've been encountering. The image
>>>> has voxels set to one value in the interior of a small sphere
>>>> (the sphere is a few dozen voxels in diameter) and another value
>>>> outside. The mesh appears to be ok except many of the elements
>>>> on the sphere surface and inside the sphere have the subdomain
>>>> index set to the wrong value. Oddly this happens in some cases
>>>> (consistently in this one) and not others.
>>>>
>>>> For instance, if I make the image smaller but with same size
>>>> voxels and same size sphere, the mesh is fine. (This case has
>>>> about 12 million voxels, the small case where it works has about
>>>> 1 million).
>>>>
>>>> Dave
>>>> <http://cgal-discuss.949826.n4.nabble.com/file/n4657522/tmp1.png>
>>>>
>>>>
> <http://cgal-discuss.949826.n4.nabble.com/file/n4657522/tmp2.png>
>>>>
>>>>
>>>>
>>>> -- View this message in context:
>>>> http://cgal-discuss.949826.n4.nabble.com/3D-meshing-of-multidomain-segmented-images-with-sharp-features-tp4657504p4657522.html
>>>>
>>>>
> Sent from the cgal-discuss mailing list archive at Nabble.com.
>>>>
>>>
>>>
>>> -- Andreas Fabri, PhD Chief Officer, GeometryFactory Editor, The
>>> CGAL Project
>>>
>>> phone: +33.492.954.912 skype: andreas.fabri
>>>
>>> -- You are currently subscribed to cgal-discuss. To unsubscribe or
>>> access the archives, go to
>>> https://sympa.inria.fr/sympa/info/cgal-discuss
>>>
>>>
>>
>>
>
>
> --
> Andreas Fabri, PhD
> Chief Officer, GeometryFactory
> Editor, The CGAL Project
>
> phone: +33.492.954.912 skype: andreas.fabri
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://sympa.inria.fr/sympa/info/cgal-discuss
>
>
--
This e-mail contains privileged and confidential information intended for
the use of the addressees named above. If you are not the intended
recipient for this e-mail, you are hereby notified that you must not
disseminate, copy or take action in respect of any information contained in
it. If you have received this e-mail in error, please notify the sender
immediately by e-mail and destroy this e-mail and its attachments.
- [cgal-discuss] 3D meshing of multidomain segmented images with sharp features, Jack Lee, 05/20/2013
- [cgal-discuss] Re: 3D meshing of multidomain segmented images with sharp features, David Bernstein, 05/20/2013
- [cgal-discuss] Re: 3D meshing of multidomain segmented images with sharp features, David Bernstein, 05/21/2013
- Re: [cgal-discuss] Re: 3D meshing of multidomain segmented images with sharp features, Andreas Fabri, 05/21/2013
- Re: [cgal-discuss] Re: 3D meshing of multidomain segmented images with sharp features, David Bernstein, 05/21/2013
- Re: [cgal-discuss] Re: 3D meshing of multidomain segmented images with sharp features, Andreas Fabri, 05/21/2013
- Re: [cgal-discuss] Re: 3D meshing of multidomain segmented images with sharp features, David Bernstein, 05/22/2013
- Re: Re: [cgal-discuss] Re: 3D meshing of multidomain segmented images with sharp features, Laurent Rineau (CGAL/GeometryFactory), 05/22/2013
- Re: Re: [cgal-discuss] Re: 3D meshing of multidomain segmented images with sharp features, David Bernstein, 05/22/2013
- Re: [cgal-discuss] Re: 3D meshing of multidomain segmented images with sharp features, David Bernstein, 05/22/2013
- Re: [cgal-discuss] Re: 3D meshing of multidomain segmented images with sharp features, Andreas Fabri, 05/21/2013
- Re: [cgal-discuss] Re: 3D meshing of multidomain segmented images with sharp features, David Bernstein, 05/21/2013
- Re: [cgal-discuss] Re: 3D meshing of multidomain segmented images with sharp features, Andreas Fabri, 05/21/2013
- [cgal-discuss] Re: 3D meshing of multidomain segmented images with sharp features, David Bernstein, 05/21/2013
- [cgal-discuss] Re: 3D meshing of multidomain segmented images with sharp features, David Bernstein, 05/20/2013
- Re: [cgal-discuss] 3D meshing of multidomain segmented images with sharp features, Laurent Rineau (CGAL/GeometryFactory), 05/21/2013
- [cgal-discuss] Re: 3D meshing of multidomain segmented images with sharp features, ChaoM, 05/21/2013
- Re: [cgal-discuss] Re: 3D meshing of multidomain segmented images with sharp features, Laurent Rineau (CGAL/GeometryFactory), 05/21/2013
- [cgal-discuss] Re: 3D meshing of multidomain segmented images with sharp features, ChaoM, 05/21/2013
Archive powered by MHonArc 2.6.18.