[vtkusers] Python Reading image voxels intensities in VTK
Matt McCormick
matt.mccormick at kitware.com
Sat Jan 17 10:46:40 EST 2015
Hi Shahrokh,
There are some instructions on how to get a NumPy array in Slicer here:
http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/Python_scripting
HTH,
Matt
On Fri, Jan 16, 2015 at 10:33 AM, Shahrokh Kamali <Shahrokh.Kamali at dal.ca>
wrote:
>
> Hi,
>
> I am new to VTK and I want to read image voxels intensities in VTK by
> Python and have a copy in a 3D array.
>
> I am doing some medical image processing in 3D Slicer (www.slicer.org) and
> I have access to VTK classes.
>
> I would appreciate it, if someone can give me any advice/sample code.
>
>
> Best Regards,
>
> Shahrokh
>
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150117/bc493486/attachment.html>
More information about the vtkusers
mailing list