[Insight-users] creating a 3D VTK file with predefined regions

Brian Schembri schembribrian at yahoo.com
Tue Feb 20 06:49:25 EST 2007


Hello

I am quite new to ITK & and VTK and have been seeing and practicing examples for both tool kits but ITK in particular.

I would like your advise about the following as I am facing difficulty to do this (I am sure this would be straight forward for you)

I want to generate a 3D RGB vtk file which would contain main regions from an other text file I have generated. I need to stick to VTK file format due to some other segmentation processing files I have generated.
At this stage of my development I need that these voxels be of one color but may need to have regions with different colors at a later stage. A region would be makde up of many ROI's, 
eg: region1 would be made up of ROI_1 to ROI_5 (z, x, y) as below:-
370,168,372---+
370,169,371   |
370,170,370   |
370,169,367   |
370,168,367   ROI_1
370,168,369   |
370,168,370   |
370,168,371   |
370,168,372---+

368,169,375---+
368,172,371   |
368,171,367   |
368,168,361   |
  "  "  "     ROI_2
368,166,372   |
368,167,373   |
368,168,374   |
368,169,375---+

366,174,368---+
366,169,364   |
366,168,363   |
366,167,362   |
 "   "   "    ROI_3
366,171,371   |
366,172,370   |
366,173,369   |
366,174,368---+

364,172,372---+
364,172,371   |
364,173,370   |
364,173,369   |
 "   "   "    ROI_4
364,169,373   |
364,170,373   |
364,171,372   |
364,172,372---+

362,168,366---+
362,167,367   |
362,166,368   |
362,166,369   |
 "   "   "    ROI_5
362,169,369   |
362,169,368   |
362,168,367   |
362,168,366---+

Can you please advise;
1) How can I created a VTK file using info like the one shown above?
2) How can I see the generated VTK file using some connection between ITK and VTK (widget)?
3) When compiling ITK I saw some neural network stuff. Is there some documentation about this? I will eventualy be using the generated VTK files as input and training to a neural network.

I look forward to hear from you.

Thanks
Brian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070220/ceb32098/attachment.htm


More information about the Insight-users mailing list