[vtkusers] 3D surface mesh to vtkImageData
Bill Lorensen
bill.lorensen at gmail.com
Thu Jun 18 13:39:41 EDT 2009
Wilbur,
The usual medical imaging applications go from image data to poly
data. Your problem is commonly called voxelization.
So what is the source of the 3D surface mesh?
Bill
On Mon, Jun 15, 2009 at 12:13 AM, Wilbur C. K.
Wong<wilburckwong at gmail.com> wrote:
> Hi All,
>
> I would like to create a vtkImageData from a 3D surface mesh. The mesh is
> closed. It represents a 3D model in terms of the model volumetric outline.
> You can assume this mesh is smooth and triangular, but it can be concave. I
> want to have the output in vtkImageData having 0 voxel intensity if the
> whole voxel is outside the model, 1 if the whole voxel is lay inside the
> model, otherwise a value between 0 and 1 indicating the percentage of voxel
> volume that is inside the model.
>
> I know how to use vtkImageStencil to generate a binary vtkImageData from
> vtkPolyData, but this approach does not take into account the partial
> volume.
>
> May vtkProbeFilter help? It seems that I need to have a volumetric mesh in
> order to do so.
>
> Is there a combination of VTK filters that I can use to generate such
> vtkImageData? ITK filters or a combination of both are also fine.
>
> I believe this is a very fundamental problem in the medical imaging
> community. May someone share his/her brilliant idea in tackling this basic
> problem?
>
> Best regards,
> Wilbur
>
> _______________________________________________
> 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