Hi Hila,

you can simply initialize a FiberBundleX using a vtkPolyData and use the 
itkTractDensityImageFilter to generate a binary image from the input 
fiber bundle. Just set m_BinaryOutput to true ("SetBinaryOutput(true)").

Best
Peter

On 08.04.2012 21:06, Hila Hiler wrote:
> Hi All,
>
> I'd like to get a binary image of my fibers  that were written by 
> vtkPolyDataWriter, in order to write it as a nifti or other image data 
> file.
> Those fibers are actually a vtkPolyData that consists of cellArray, 
> vtkPolyLine, points etc. (as were suggested in previous emails..).
>
> Thanks in advance,
> Hila

-- 
Dipl.-Inform. Peter Neher
German Cancer Research Centre
(DKFZ, Deutsches Krebsforschungszentrum in der Helmholtz-Gemeinschaft, Stiftung 
des öffentlichen Rechts)
Division of Medical and Biological Informatics
Im Neuenheimer Feld 280, D-69120 Heidelberg

Phone: 49-(0)6221-42-3552, Fax: 49-(0)6221-42-2345
E-Mail: [email protected], Web: www.dkfz.de

The information contained in this message may be confidential and legally 
protected under applicable law. The message is intended solely for the 
addressee(s). If you are not the intended recipient, you are hereby notified 
that any use, forwarding, dissemination, or reproduction of this message is 
strictly prohibited and may be unlawful. If you are not the intended recipient, 
please contact the sender by return e-mail and destroy all copies of the 
original message.


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to