<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Merhaba Selim,&nbsp;<div>follow "&nbsp;<span class="Apple-style-span" style="font-size: 11px; ">4.1.1 Creating an Image <span class="Apple-style-span" style="font-size: 12px; ">" Software manual to create an image.&nbsp;</span></span></div><div>Then iterate on the image you just created and follow&nbsp;<span class="Apple-style-span" style="font-size: 11px; ">4.1.3 Accessing Pixel Data&nbsp;<span class="Apple-style-span" style="font-size: 12px; "></span></span></div><div><span class="Apple-style-span" style="font-size: 11px; "><span class="Apple-style-span" style="font-size: 12px; ">to write the pixel values you read from the text file. Make sure the spacing&nbsp;</span></span></div><div>values and the order you iterate (row,col,depth vs col,row,depth...)are consistent&nbsp;</div><div>with the given input.&nbsp;</div><div><br></div><div>Regards,&nbsp;</div><div>C. Cagatay Bilgin</div><div><br><div><div>On Apr 30, 2009, at 3:04 AM, Selim Hasan wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hello all,</div> <div>&nbsp;</div> <div>I have a problem for writing an image(3D). I have an 144*144*60 values inside a 3-D image, those values are writen in a txt file.</div> <div>&nbsp;</div> <div>I need to write a program that takes this .txt fıle as an input and writes the volume basically having the same image again. This input comes from an another software.</div> <div>&nbsp;</div> <div>Does anyone know how to write this to an image?<br clear="all"></div> <div>Thank You</div> <div></div><br>-- <br>Selim Hasan<br><br>Yeditepe University<br>Computer Science Engineering<br><br><a href="mailto:selimhasan@gmail.com">selimhasan@gmail.com</a><br> _____________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ<br><br>Follow this link to subscribe/unsubscribe:<br>http://www.itk.org/mailman/listinfo/insight-users<br></blockquote></div><br></div></body></html>