[vtkusers] Fixing vtkPolyDataToImageStencil

David Gobbi david.gobbi at gmail.com
Mon Jan 5 09:20:31 EST 2015


Hi Roman,

The .mha file that you attached is giving me an error:

  MetaImage: M_ReadElementsData: data not read completely
     ideal = 1316134911 : actual = 87431

Can you try sending it again, or send the problem slices as png files?

 - David


On Mon, Jan 5, 2015 at 5:55 AM, Dr. Roman Grothausmann <
grothausmann.roman at mh-hannover.de> wrote:

> Hi David,
>
>
> Many thanks for improving vtkPolyDataToImageStencil. I tested the git
> branch on 141229 in conjunction with my Voxelizer plug-in for Blender (
> http://www.midasjournal.org/browse/publication/882) and I still get some
> artifacts in the result (see first two slices of attached MHA) with e.g. an
> icosahedron (scale set to 100) as found in the attachment. Is that related
> to the bugs of vtkPolyDataToImageStencil?
>
> Kind regards,
> Roman
>
> On 15/12/14 17:20, David Gobbi wrote:
>
>> Hi Ricardo,
>>
>> Just a quick note, there was another bug with vtkPolyDataToImageStencil
>> (caused as a result of my fixes to earlier bugs).  The fix for this new
>> bug
>> was merged just last week:
>> http://review.source.kitware.com/#/c/18392/
>>
>>   - David
>>
>>
>> On Thu, Dec 4, 2014 at 11:17 AM, Ricardo A Corredor <
>> ra.corredor at gmail.com
>> <mailto:ra.corredor at gmail.com>> wrote:
>>
>>
>>     Well, actually it seems that it doesn't happen with every polydata or
>>     polyline. I have some similar polylines and it works as it should;
>> others
>>     that has not the same result. Let me verify and I will share with you
>> the
>>     cases where it has this behavior.
>>
>>     RaC
>>
>>
>>
>> _______________________________________________
>> 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://public.kitware.com/mailman/listinfo/vtkusers
>>
>>
> --
> Dr. Roman Grothausmann
>
> Tomographie und Digitale Bildverarbeitung
> Tomography and Digital Image Analysis
>
> Institut für Funktionelle und Angewandte Anatomie, OE 4120
> Medizinische Hochschule Hannover
> Carl-Neuberg-Str. 1
> D-30625 Hannover
>
> Tel. +49 511 532-9574
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150105/cd218294/attachment.html>


More information about the vtkusers mailing list