<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi,<div><br></div><div>In addition to what Neil said, to convert images from PNG to DICOM (and generally from</div><div><br></div><div>most image formats to others) you can use the ITK itself.</div><div><br></div><div>Take a look at the examples included in the "IO" directory of the ITK, in particular "Examples/IO/ImageReadCastWrite.cxx"</div><div><br></div><div>Chapter 7 of the ITK software guide has more details on these kind of
operations.</div><div><br></div><div>Regards,</div><div><br></div><div>Dawood</div><div><br></div><div><br></div><div>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<</div><div><br></div><div>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<</div><div><br></div><div><br></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, clean, sans-serif; line-height: 15px; ">Hello, <br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "> <br style="line-height:
1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">Thanks for your reply,, I used it and was able to view the image. <br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "> <br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">I am stuggling actually with the whole idea of using the label overlap measure, there are no good explanation about this class !<br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "> <br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">does it only take .nii images ?? it is not working with my .png images.. not sure i might have problem with my image.. <br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "> <br
style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">I am also using ITK Snap .. and trying to convert my png images to nii .. can this be done? how? cant find good results in google.<br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "> <br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">i tried to download Sante editor to convert my png image to dicom so i can use it in ITK Snap .. was not able to view the image properly as the image loaded is greater than 16 bit used by ITK Snap .. <br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "> <br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">sorry about this,, im new to this and trying to do too many things in a short period
of time <br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "> <br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">Thanks in advance :)<br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "> <br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">Regards, <br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "> <br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><hr id="yiv1411806856stopSpelling" style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">From: paniwani@gmail.com<br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">Date: Thu, 19 May 2011
18:00:39 -0400<br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">Subject: Re: [Insight-users] label overlap measure test images<br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">To: xlolla28x@hotmail.com<br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">CC: insight-users@itk.org<br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">.gz is a compression format like .zip<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><br style="line-height: 1.2em;
outline-style: none; outline-width: initial; outline-color: initial; "></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">.nii is nifti: <a rel="nofollow" target="_blank" href="http://nifti.nimh.nih.gov/nifti-1/" style="line-height: 1.2em; text-decoration: underline; color: rgb(0, 51, 153); outline-style: none; outline-width: initial; outline-color: initial; ">http://nifti.nimh.nih.gov/nifti-1/</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color:
initial; "></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><a rel="nofollow" target="_blank" href="http://nifti.nimh.nih.gov/nifti-1/" style="line-height: 1.2em; text-decoration: underline; color: rgb(0, 51, 153); outline-style: none; outline-width: initial; outline-color: initial; "></a>i recommend using fiji (<a rel="nofollow" target="_blank" href="http://pacific.mpi-cbg.de/wiki/index.php/Fiji" style="line-height: 1.2em; text-decoration: underline; color: rgb(0, 51, 153); outline-style: none; outline-width: initial; outline-color: initial; ">http://pacific.mpi-cbg.de/wiki/index.php/Fiji</a>) with a nifti plugin (<a rel="nofollow" target="_blank" href="http://rsbweb.nih.gov/ij/plugins/nifti.html" style="line-height: 1.2em; text-decoration:
underline; color: rgb(0, 51, 153); outline-style: none; outline-width: initial; outline-color: initial; ">http://rsbweb.nih.gov/ij/plugins/nifti.html</a>) to view .nii files</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><div class="yiv1411806856ecxgmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">2011/5/19 LaMoOsH .. <span dir="ltr" style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial;
"><<a rel="nofollow" ymailto="mailto:xlolla28x@hotmail.com" target="_blank" href="http://us.mc1302.mail.yahoo.com/mc/compose?to=xlolla28x@hotmail.com" style="line-height: 1.2em; text-decoration: underline; color: rgb(0, 51, 153); outline-style: none; outline-width: initial; outline-color: initial; ">xlolla28x@hotmail.com</a>></span><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><blockquote class="yiv1411806856ecxgmail_quote" style="margin-top: 1em; margin-right: 40px; margin-bottom: 1em; margin-left: 40px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1ex; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: block; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right:
0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">hello, <br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "> <br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">I am using the <font color="#a31515" size="2" style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><font color="#a31515" size="2" style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">itkLabelOverlapMeasuresImageFilter<br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "> <br style="line-height: 1.2em; outline-style: none; outline-width: initial;
outline-color: initial; "><font color="#000000" style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">i did test the program, and it works well. </font><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><font color="#000000" style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">but i want to have a look at the images to know what kind of images it needs as an input.. </font><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><font color="#000000" style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">i cant view the images .. it is in .nii.gz format and struggling to view them. any help?</font><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><font color="#000000"
style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "></font> <br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><font color="#000000" style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">Thanks</font></font></font></div></blockquote></div></div></span></div></td></tr></table>