[vtkusers] Creating Models from Segmented Volume Data

Bill Lorensen bill.lorensen at gmail.com
Tue Aug 11 15:48:08 EDT 2009


How did you create ctifs_stack_ws01.raw? Does it have discrete
(integer) labels? Are you sure of the
 ElementByteOrderMSB = False?

Maybe it is  ElementByteOrderMSB = True?

Bill

On Tue, Aug 11, 2009 at 2:53 PM, <lynx.abraxas at freenet.de> wrote:
> Thanks   a   lot   Bill   for  the  examples.  It's  a  big  help.  I  created
> ctifs_stack_ws01.mhd:
>
> ObjectType = Image
> NDims = 3
> DimSize = 518 229 393
> ElementType = MET_USHORT
> HeaderSize = -1
> ElementByteOrderMSB = False
> ElementDataFile = ctifs_stack_ws01.raw
>
> and called marching_surf ctifs_stack_ws01.mhd 100 110
> ERROR:  In  /usr/src/vtk/VTK/Graphics/vtkWindowedSincPolyDataFilter.cxx,  line
> 113
> vtkWindowedSincPolyDataFilter (0x8061e80): No data to smooth!
>
> If  I  use  vtkTIFFReader  instead I get a segmentation fault. ImageJ is happy
> with both the 3D-TIFF or the raw-file. What might be the problem here?
>
> I also wonder why
> +    selector->SetInputArrayToProcess(0, 0, 0,
> +        vtkDataObject::FIELD_ASSOCIATION_CELLS,
> +        vtkDataSetAttributes::SCALARS);
>
> would  change  the  surface  to  be  cube-like  (Lego-like).  selector  is   a
> vtkThreshold, isn't it?
>
>
> Many thanks for the examples.
> Regards
> Lynx
>
>
>
> On 11/08/09 13:59:21, Bill Lorensen wrote:
>> Folks,
>>
>> I've added two examples to the vtk wiki that create models from
>> segmented volume data. The results of each can be displayed with
>> Paraview: http://paraview.org.
>>
>> 1) Create cubical polydata models from labeled volume data
>> http://www.vtk.org/Wiki/Create_cubes_from_labeled_volume_data
>>
>> 2) Create smoothed polydata models from labeled volume data (Discrete
>> MarchingCubes) http://www.vtk.org/Wiki/Create_models_from_labeled_volume_data_(Discrete_MarchingCubes)
>>
>> Bill
>> _______________________________________________
>> 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
> _______________________________________________
> 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
>



More information about the vtkusers mailing list