[vtkusers] closed meshes from vtkDiscreteMarchingCubes?

Bill Lorensen bill.lorensen at gmail.com
Mon Aug 17 08:20:04 EDT 2009


Dominik,

I did use your code and data but could not reproduce your problem.

Sorry,

Bill

On Sun, Aug 16, 2009 at 3:32 PM, Dominik Szczerba<dominik at itis.ethz.ch> wrote:
> Dear Bill,
>
> The code and the dataset to reproduce the problem has been posted in some of
> me previous emails. Of course, the main point is it happens on one system,
> but not on the other, which at least to some extent proves my innocence.
> Have you tried the pipeline/dataset on a platform with similar
> characteristics?
>
> Also: you know the marching code far better than I do. Perhaps you can
> suggest where it may potentially go broken (i.e. where merging points may
> fail or not be invoked). I will be happy to add a couple of breakpoints and
> deliver some debugging information.
>
> - Dominik
>
>
>
> Bill Lorensen wrote:
>>
>> Dominik,
>>
>> I was never able to reproduce your problem with disconnected meshes.
>>
>> Bill
>>
>> On Sun, Aug 16, 2009 at 5:13 AM, Dominik Szczerba<dominik at itis.ethz.ch>
>> wrote:
>>>
>>> lynx.abraxas at freenet.de wrote:
>>>>
>>>> On 16/08/09 09:41:46, Dominik Szczerba wrote:
>>>>>
>>>>> You can of course close the holes with a filter, but you can also pad
>>>>> the image to be contoured to avoid their formation.
>>>>
>>>> Padding,  great idea! vtkImageConstantPad is the one to use for that? I
>>>> assume
>>>> an extention by one voxel at each side is enough?
>>>> Can I be sure then that any  mesh  from  vtkDiscreteMarchingCubes  of
>>>>  only  a
>>>> single label is a manifold on its own and suitable for
>>>> vtkMassProperties?
>>>
>>> No. As I recently discovered, in some cases you can get a series of
>>> geometrically continuous but topologically disconnected regions (instead
>>> of
>>> the expected one region) that you have to glue together before.
>>>
>>> Dominik
>>>
>>>> Thanks a lot for the padding tip.
>>>> Lynx
>>>> _______________________________________________
>>>> Powered by www.kitware.com
>>>>
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/opensource/opensource.html
>>>>
>>>> Please keep messages on-topic and check the VTK FAQ at:
>>>> http://www.vtk.org/Wiki/VTK_FAQ
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>>
>>>
>>> --
>>> d o m i n i k   s z c z e r b a ,   p h d . . . . . . . . . . .
>>> c o m p u t a t i o n a l   l i f e   s c i e n c e   g r o u p
>>> . . . . . . . i t ' i s   r e s e a r c h   f o u n d a t i o n
>>> . . . . . . . . . . . . . . . . . . . . http://www.itis.ethz.ch
>>>
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the VTK FAQ at:
>>> http://www.vtk.org/Wiki/VTK_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>
>>
>
>
> --
> d o m i n i k   s z c z e r b a ,   p h d . . . . . . . . . . .
> c o m p u t a t i o n a l   l i f e   s c i e n c e   g r o u p
> . . . . . . . i t ' i s   r e s e a r c h   f o u n d a t i o n
> . . . . . . . . . . . . . . . . . . . . http://www.itis.ethz.ch
>
>



More information about the vtkusers mailing list