<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hello<br><br>I am quite new to ITK &amp; and VTK and have been seeing and practicing examples for both tool kits but ITK in particular.<br><br>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)<br><br>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.<br>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, <br>eg: region1 would be made up of ROI_1 to ROI_5 (z, x, y) as below:-<br><span style="font-family:
 courier,monaco,monospace,sans-serif;">370,168,372---+</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">370,169,371&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">370,170,370&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">370,169,367&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">370,168,367&nbsp;&nbsp; ROI_1</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">370,168,369&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family:
 courier,monaco,monospace,sans-serif;">370,168,370&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">370,168,371&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">370,168,372---+</span><br style="font-family: courier,monaco,monospace,sans-serif;"><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">368,169,375---+</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">368,172,371&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">368,171,367&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span
 style="font-family: courier,monaco,monospace,sans-serif;">368,168,361&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">&nbsp; "&nbsp; "&nbsp; "&nbsp;&nbsp;&nbsp;&nbsp; ROI_2</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">368,166,372&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">368,167,373&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">368,168,374&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">368,169,375---+</span><br style="font-family: courier,monaco,monospace,sans-serif;"><br style="font-family:
 courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">366,174,368---+</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">366,169,364&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">366,168,363&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">366,167,362&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">&nbsp;"&nbsp;&nbsp; "&nbsp;&nbsp; "&nbsp;&nbsp;&nbsp; ROI_3</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">366,171,371&nbsp;&nbsp; |</span><br style="font-family:
 courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">366,172,370&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">366,173,369&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">366,174,368---+</span><br style="font-family: courier,monaco,monospace,sans-serif;"><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">364,172,372---+</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">364,172,371&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">364,173,370&nbsp;&nbsp; |</span><br
 style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">364,173,369&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">&nbsp;"&nbsp;&nbsp; "&nbsp;&nbsp; "&nbsp;&nbsp;&nbsp; ROI_4</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">364,169,373&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">364,170,373&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">364,171,372&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">364,172,372---+</span><br
 style="font-family: courier,monaco,monospace,sans-serif;"><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">362,168,366---+</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">362,167,367&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">362,166,368&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">362,166,369&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">&nbsp;"&nbsp;&nbsp; "&nbsp;&nbsp; "&nbsp;&nbsp;&nbsp; ROI_5</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family:
 courier,monaco,monospace,sans-serif;">362,169,369&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">362,169,368&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">362,168,367&nbsp;&nbsp; |</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">362,168,366---+</span><br><br>Can you please advise;<br>1) How can I created a VTK file using info like the one shown above?<br>2) How can I see the generated VTK file using some connection between ITK and VTK (widget)?<br>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.<br><br>I look forward to hear from
 you.<br><br>Thanks<br>Brian<br></div></div></body></html>