Hello Nawel,<br><br>I am actually just starting to implement some of the Chan-Vese papers using ITK myself.&nbsp; Please feel free to contact me, and perhaps we can help each other work through our respective implementations.<br>
<br>Cheers<br><br>Ben<br><br><div><span class="gmail_quote">On 10/13/06, <b class="gmail_sendername"><a href="mailto:insight-users-request@itk.org">insight-users-request@itk.org</a></b> &lt;<a href="mailto:insight-users-request@itk.org">
insight-users-request@itk.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Send Insight-users mailing list submissions to
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users
</a><br>or, via email, send a message with subject or body 'help' to<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:insight-users-request@itk.org">insight-users-request@itk.org</a><br><br>You can reach the person managing the list at<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="mailto:insight-users-owner@itk.org">insight-users-owner@itk.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than &quot;Re: Contents of Insight-users digest...&quot;<br><br><br>
Today's Topics:<br><br>&nbsp;&nbsp; 1. Re: I need help (garzo)<br>&nbsp;&nbsp; 2. Re: I need help (garzo)<br>&nbsp;&nbsp; 3. Re: Talairach Normalization (Vladimir FONOV)<br>&nbsp;&nbsp; 4. RE: Getting at private dicom tags (Kris Thielemans)<br>&nbsp;&nbsp; 5. Re: ITK Level Set Questions&nbsp;&nbsp;(nawel h)
<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Thu, 12 Oct 2006 11:25:08 -0700 (PDT)<br>From: garzo &lt;<a href="mailto:adrian_prieto_jimenez@hotmail.com">adrian_prieto_jimenez@hotmail.com
</a>&gt;<br>Subject: Re: [Insight-users] I need help<br>To: <a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>Message-ID: &lt;<a href="mailto:6781854.post@talk.nabble.com">6781854.post@talk.nabble.com</a>
&gt;<br>Content-Type: text/plain; charset=UTF-8<br><br><br>-First:<br><br>Thank you very much for your help. I used CMake correctly with ITK (without<br>errors or warnings)<br><br>-Second:<br><br>Now, when I try to use &quot;make&quot; in the BIN directory of my ITK, 1 error and 2
<br>warnings happen (after that the system works 1 or 2 minutes):<br><br>******************************************************************<br>C:\itk\src\InsightToolkit-2.8.1\Utilities\gdcm\src\gdcmVR.cxx:<br>Error E2285 C:\itk\src\InsightToolkit-
2.8.1\Utilities\gdcm\src\gdcmVR.cxx<br>122: C<br>ould not find a match for 'std::binary_search&lt;ForwardIterator,T&gt;(const<br>std::stri<br>ng *,const std::string *,const std::string)' in function<br>VR::IsVROfStringReprese
<br>ntable(const std::string &amp;)<br>Warning W8004 C:\itk\src\InsightToolkit-2.8.1\Utilities\gdcm\src\gdcmVR.cxx<br>123:<br> 'end' is assigned a value that is never used in function<br>VR::IsVROfStringRepres<br>entable(const std::string &amp;)
<br>Warning W8057 C:\itk\src\InsightToolkit-2.8.1\Utilities\gdcm\src\gdcmVR.cxx<br>123:<br> Parameter 'tested' is never used in function<br>VR::IsVROfStringRepresentable(cons<br>t std::string &amp;)<br>*** 1 errors in Compile ***
<br><br>** error 1 ** deleting Utilities\gdcm\src\CMakeFiles\itkgdcm.dir\gdcmVR.obj<br><br>** error 1 ** deleting Utilities\gdcm\src\CMakeFiles\itkgdcm.dir\all<br><br>** error 1 ** deleting all<br>********************************************************************
<br><br>What can I do now?<br><br>Thanks.<br><br>Adrian Prieto.<br><br><br>Luis Ibanez wrote:<br>&gt;<br>&gt;<br>&gt; Hi Garzo,<br>&gt;<br>&gt; It may seem that your Borland compiler<br>&gt; has not been configured correctly
<br>&gt;<br>&gt; Please take a look at the following instructions:<br>&gt; <a href="http://community.borland.com/article/0,1410,21205,00.html">http://community.borland.com/article/0,1410,21205,00.html</a><br>&gt;<br>&gt; In particular the second part: &quot;Creating the configuration files&quot;
<br>&gt; where you have to create the files:<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ILINK32.CFG<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BCC32.CFG<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;Please let us know if that help,<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Thanks<br>&gt;<br>&gt;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Luis<br>&gt;<br>&gt;<br>&gt; --------------------<br>&gt; Garzo Garzo wrote:<br>&gt;&gt; Hi,<br>&gt;&gt;<br>&gt;&gt; I´m trying to build ITK in my Computer, but I can´t... I don´t know what<br>&gt;&gt; is going wrong... I need help.
<br>&gt;&gt;<br>&gt;&gt; My System has:<br>&gt;&gt;<br>&gt;&gt; -Windows XP<br>&gt;&gt; -Borland C++ Compiler 5.5<br>&gt;&gt; -Cmake 2.2<br>&gt;&gt; -InsightToolkit-2.8.1&nbsp;&nbsp;(without build, of course)<br>&gt;&gt;<br>&gt;&gt; My steps were the next:
<br>&gt;&gt;<br>&gt;&gt; 1º: I configure the PATH variable with the Borland 5.5 address<br>&gt;&gt; (C:\Borland\BCC55\Bin)<br>&gt;&gt; 2º: I create a Binary and a Source Folder (&quot;C:\itk\src\&quot; and<br>&gt;&gt; &quot;C:\itk\bin\&quot;)
<br>&gt;&gt; 3º: I copy &quot;InsightToolkit-2.8.1&quot; in the Source folder<br>&gt;&gt; (&quot;C:\itk\src\InsightToolkit-2.8.1&quot;)<br>&gt;&gt; 4º: I install Cmake 2.2<br>&gt;&gt; 5º: I run Cmake 2.2<br>&gt;&gt; 6º: I select &quot;C:\itk\src\InsightToolkit-
2.8.1&quot; for SOURCE CODE and<br>&gt;&gt; &quot;C:\itk\bin\&quot; for BINARIES<br>&gt;&gt; 7º: I press the &quot;Configure&quot; button<br>&gt;&gt; 8º: And then a Error Message success (The ErrorMessage is too big, I<br>
&gt;&gt; write only the &quot;error&quot; part):<br>&gt;&gt;<br>&gt;&gt; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>&gt;&gt; ........<br>&gt;&gt; ........<br>&gt;&gt; Borland C++ 5.5 for Win32 Copyright (c) 1993, 2000 Borland
<br>&gt;&gt; Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland<br>&gt;&gt; Fatal: Unable to open file 'C0X32.OBJ'<br>&gt;&gt;<br>&gt;&gt; ** error 1 ** deleting cmTryCompileExec.exe<br>&gt;&gt; ** error 1 ** deleting CMakeFiles\cmTryCompileExec.dir\all
<br>&gt;&gt; ** error 1 ** deleting CMakeFiles\cmTryCompileExec.dir\rule<br>&gt;&gt; ** error 1 ** deleting cmTryCompileExec<br>&gt;&gt;<br>&gt;&gt; CMake will not be able to correctly generate this project.<br>&gt;&gt;<br>
&gt;&gt; (Press Cancel to suppress any further messages.)<br>&gt;&gt; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>&gt;&gt;<br>&gt;&gt; May you help me, please?<br>&gt;&gt;<br>&gt;&gt; Thanks.<br>&gt;&gt;
<br>&gt;&gt; P.D: if you need more info about the ErrorMessage, I can write all the<br>&gt;&gt; message.<br>&gt;&gt;<br>&gt;&gt; _________________________________________________________________<br>&gt;&gt; Descubre la descarga digital con MSN Music. Más de un millón de
<br>&gt;&gt; canciones. <a href="http://music.msn.es/">http://music.msn.es/</a><br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; Insight-users mailing list<br>&gt;&gt; <a href="mailto:Insight-users@itk.org">
Insight-users@itk.org</a><br>&gt;&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________
<br>&gt; Insight-users mailing list<br>&gt; <a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br>&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users
</a><br>&gt;<br>&gt;<br><br>--<br>View this message in context: <a href="http://www.nabble.com/I-need-help-tf2414777.html#a6781854">http://www.nabble.com/I-need-help-tf2414777.html#a6781854</a><br>Sent from the ITK - Users mailing list archive at 
<a href="http://Nabble.com">Nabble.com</a>.<br><br><br><br>------------------------------<br><br>Message: 2<br>Date: Thu, 12 Oct 2006 11:30:16 -0700 (PDT)<br>From: garzo &lt;<a href="mailto:adrian_prieto_jimenez@hotmail.com">
adrian_prieto_jimenez@hotmail.com</a>&gt;<br>Subject: Re: [Insight-users] I need help<br>To: <a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>Message-ID: &lt;<a href="mailto:6781948.post@talk.nabble.com">
6781948.post@talk.nabble.com</a>&gt;<br>Content-Type: text/plain; charset=UTF-8<br><br><br>I don´t know if this info is important or not for my new problem, but I<br>configured CMake Cache Values like this:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;BUILD_EXAMPLES = ON
<br>&nbsp;&nbsp;&nbsp;&nbsp;BUILD_SHARED_LIBS = OFF<br>&nbsp;&nbsp;&nbsp;&nbsp;BUILD_TESTING = ON<br><br>Thanks another time.<br><br>Adrian Prieto.<br><br><br>garzo wrote:<br>&gt;<br>&gt; -First:<br>&gt;<br>&gt; Thank you very much for your help. I used CMake correctly with ITK
<br>&gt; (without errors or warnings)<br>&gt;<br>&gt; -Second:<br>&gt;<br>&gt; Now, when I try to use &quot;make&quot; in the BIN directory of my ITK, 1 error and<br>&gt; 2 warnings happen (after that the system works 1 or 2 minutes):
<br>&gt;<br>&gt; ******************************************************************<br>&gt; C:\itk\src\InsightToolkit-2.8.1\Utilities\gdcm\src\gdcmVR.cxx:<br>&gt; Error E2285 C:\itk\src\InsightToolkit-2.8.1\Utilities\gdcm\src\gdcmVR.cxx
<br>&gt; 122: C<br>&gt; ould not find a match for 'std::binary_search&lt;ForwardIterator,T&gt;(const<br>&gt; std::stri<br>&gt; ng *,const std::string *,const std::string)' in function<br>&gt; VR::IsVROfStringReprese<br>&gt; ntable(const std::string &amp;)
<br>&gt; Warning W8004<br>&gt; C:\itk\src\InsightToolkit-2.8.1\Utilities\gdcm\src\gdcmVR.cxx 123:<br>&gt;&nbsp;&nbsp;'end' is assigned a value that is never used in function<br>&gt; VR::IsVROfStringRepres<br>&gt; entable(const std::string &amp;)
<br>&gt; Warning W8057<br>&gt; C:\itk\src\InsightToolkit-2.8.1\Utilities\gdcm\src\gdcmVR.cxx 123:<br>&gt;&nbsp;&nbsp;Parameter 'tested' is never used in function<br>&gt; VR::IsVROfStringRepresentable(cons<br>&gt; t std::string &amp;)
<br>&gt; *** 1 errors in Compile ***<br>&gt;<br>&gt; ** error 1 ** deleting<br>&gt; Utilities\gdcm\src\CMakeFiles\itkgdcm.dir\gdcmVR.obj<br>&gt;<br>&gt; ** error 1 ** deleting Utilities\gdcm\src\CMakeFiles\itkgdcm.dir\all
<br>&gt;<br>&gt; ** error 1 ** deleting all<br>&gt; ********************************************************************<br>&gt;<br>&gt; What can I do now?<br>&gt;<br>&gt; Thanks.<br>&gt;<br>&gt; Adrian Prieto.<br>&gt;<br>
&gt;<br>&gt; Luis Ibanez wrote:<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Hi Garzo,<br>&gt;&gt;<br>&gt;&gt; It may seem that your Borland compiler<br>&gt;&gt; has not been configured correctly<br>&gt;&gt;<br>&gt;&gt; Please take a look at the following instructions:
<br>&gt;&gt; <a href="http://community.borland.com/article/0,1410,21205,00.html">http://community.borland.com/article/0,1410,21205,00.html</a><br>&gt;&gt;<br>&gt;&gt; In particular the second part: &quot;Creating the configuration files&quot;
<br>&gt;&gt; where you have to create the files:<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ILINK32.CFG<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BCC32.CFG<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;Please let us know if that help,<br>&gt;&gt;<br>&gt;&gt;
<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Thanks<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Luis<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; --------------------<br>&gt;&gt; Garzo Garzo wrote:<br>&gt;&gt;&gt; Hi,<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; I´m trying to build ITK in my Computer, but I can´t... I don´t know what
<br>&gt;&gt;&gt; is going wrong... I need help.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; My System has:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; -Windows XP<br>&gt;&gt;&gt; -Borland C++ Compiler 5.5<br>&gt;&gt;&gt; -Cmake 2.2<br>&gt;&gt;&gt; -
InsightToolkit-2.8.1&nbsp;&nbsp;(without build, of course)<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; My steps were the next:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; 1º: I configure the PATH variable with the Borland 5.5 address<br>&gt;&gt;&gt; (C:\Borland\BCC55\Bin)
<br>&gt;&gt;&gt; 2º: I create a Binary and a Source Folder (&quot;C:\itk\src\&quot; and<br>&gt;&gt;&gt; &quot;C:\itk\bin\&quot;)<br>&gt;&gt;&gt; 3º: I copy &quot;InsightToolkit-2.8.1&quot; in the Source folder<br>&gt;&gt;&gt; (&quot;C:\itk\src\InsightToolkit-
2.8.1&quot;)<br>&gt;&gt;&gt; 4º: I install Cmake 2.2<br>&gt;&gt;&gt; 5º: I run Cmake 2.2<br>&gt;&gt;&gt; 6º: I select &quot;C:\itk\src\InsightToolkit-2.8.1&quot; for SOURCE CODE and<br>&gt;&gt;&gt; &quot;C:\itk\bin\&quot; for BINARIES
<br>&gt;&gt;&gt; 7º: I press the &quot;Configure&quot; button<br>&gt;&gt;&gt; 8º: And then a Error Message success (The ErrorMessage is too big, I<br>&gt;&gt;&gt; write only the &quot;error&quot; part):<br>&gt;&gt;&gt;<br>
&gt;&gt;&gt; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>&gt;&gt;&gt; ........<br>&gt;&gt;&gt; ........<br>&gt;&gt;&gt; Borland C++ 5.5 for Win32 Copyright (c) 1993, 2000 Borland<br>&gt;&gt;&gt; Turbo Incremental Link 
5.00 Copyright (c) 1997, 2000 Borland<br>&gt;&gt;&gt; Fatal: Unable to open file 'C0X32.OBJ'<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; ** error 1 ** deleting cmTryCompileExec.exe<br>&gt;&gt;&gt; ** error 1 ** deleting CMakeFiles\cmTryCompileExec.dir\all
<br>&gt;&gt;&gt; ** error 1 ** deleting CMakeFiles\cmTryCompileExec.dir\rule<br>&gt;&gt;&gt; ** error 1 ** deleting cmTryCompileExec<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; CMake will not be able to correctly generate this project.
<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; (Press Cancel to suppress any further messages.)<br>&gt;&gt;&gt; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; May you help me, please?<br>
&gt;&gt;&gt;<br>&gt;&gt;&gt; Thanks.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; P.D: if you need more info about the ErrorMessage, I can write all the<br>&gt;&gt;&gt; message.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; _________________________________________________________________
<br>&gt;&gt;&gt; Descubre la descarga digital con MSN Music. Más de un millón de<br>&gt;&gt;&gt; canciones. <a href="http://music.msn.es/">http://music.msn.es/</a><br>&gt;&gt;&gt;<br>&gt;&gt;&gt; _______________________________________________
<br>&gt;&gt;&gt; Insight-users mailing list<br>&gt;&gt;&gt; <a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br>&gt;&gt;&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users
</a><br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; Insight-users mailing list<br>&gt;&gt; <a href="mailto:Insight-users@itk.org">Insight-users@itk.org
</a><br>&gt;&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;<br><br>--<br>View this message in context: <a href="http://www.nabble.com/I-need-help-tf2414777.html#a6781948">
http://www.nabble.com/I-need-help-tf2414777.html#a6781948</a><br>Sent from the ITK - Users mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br><br><br><br>------------------------------<br><br>Message: 3
<br>Date: Thu, 12 Oct 2006 14:10:12 -0400<br>From: Vladimir FONOV &lt;<a href="mailto:vladimir.fonov@gmail.com">vladimir.fonov@gmail.com</a>&gt;<br>Subject: [Insight-users] Re: Talairach Normalization<br>To: <a href="mailto:insight-users@itk.org">
insight-users@itk.org</a><br>Message-ID: &lt;<a href="mailto:egm0e5$ob6$1@sea.gmane.org">egm0e5$ob6$1@sea.gmane.org</a>&gt;<br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>advanced math wrote:<br>&gt;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Does anybody know any software which can perform Talairach<br>&gt; Normalization of the MRI volume data?<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Thank you.<br>&gt;<br>Minc software can do talairach-like normalization:<br><a href="http://www.bic.mni.mcgill.ca/software/">
http://www.bic.mni.mcgill.ca/software/</a><br><br>The process described here:<br><a href="http://wiki.bic.mni.mcgill.ca/index.php/mni_autoreg">http://wiki.bic.mni.mcgill.ca/index.php/mni_autoreg</a> , all software is<br>available at 
<a href="http://packages.bic.mni.mcgill.ca/">http://packages.bic.mni.mcgill.ca/</a> . There are sources at<br><a href="http://packages.bic.mni.mcgill.ca/tgz/">http://packages.bic.mni.mcgill.ca/tgz/</a> and precompiled packages
<br>for Debian Linux: <a href="http://packages.bic.mni.mcgill.ca/deb/">http://packages.bic.mni.mcgill.ca/deb/</a><br>for Mac OS X : <a href="http://packages.bic.mni.mcgill.ca/osx">http://packages.bic.mni.mcgill.ca/osx</a>
<br>and for Cygwin there is one big package which includes all the tools:<br><a href="http://packages.bic.mni.mcgill.ca/cygwin/mni_cygwin_tar-1.3.tar.gz">http://packages.bic.mni.mcgill.ca/cygwin/mni_cygwin_tar-1.3.tar.gz</a>
<br><br>+ You would need models :<br><a href="http://packages.bic.mni.mcgill.ca/tgz/mni-models_icbm152-lin-1.0.tar.gz">http://packages.bic.mni.mcgill.ca/tgz/mni-models_icbm152-lin-1.0.tar.gz</a><br><br><br>P.S. This would imply that you will have to convert your data into minc
<br>data format.<br>--<br>Best regards,<br>Vladimir S. Fonov ~ vladimir dot fonov&nbsp;&nbsp;at gmail dot com<br><br><br><br>------------------------------<br><br>Message: 4<br>Date: Fri, 13 Oct 2006 10:05:34 +0100<br>From: &quot;Kris Thielemans&quot; &lt;
<a href="mailto:kris.thielemans@csc.mrc.ac.uk">kris.thielemans@csc.mrc.ac.uk</a>&gt;<br>Subject: [Insight-users] RE: Getting at private dicom tags<br>To: &quot;'Kris Thielemans'&quot; &lt;<a href="mailto:kris.thielemans@csc.mrc.ac.uk">
kris.thielemans@csc.mrc.ac.uk</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<a href="mailto:insight-users@itk.org">insight-users@itk.org</a>&gt;<br>Message-ID: &lt;003601c6eea6$be2efc90$0d0a10ac@bach&gt;<br>Content-Type: text/plain;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; charset=&quot;us-ascii&quot;
<br><br>Hi<br><br><br><br>I solved my own problem (original post of 1 month ago quoted below). I just<br>thought to let you know.<br><br>The bit that I didn't tell you was that I had to read one of the files in<br>the series to get at the value of the tags, which I do as follows:
<br><br>&nbsp;&nbsp;typedef itk::GDCMImageIO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ImageIOType;<br>&nbsp;&nbsp;ImageIOType::Pointer dicomIO = ImageIOType::New();<br>&nbsp;&nbsp;typedef itk::Image&lt; float, 2 &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ImageType2D;<br>&nbsp;&nbsp;typedef itk::ImageFileReader&lt; ImageType2D &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ReaderType2D;
<br>&nbsp;&nbsp;ReaderType2D::Pointer reader = ReaderType2D::New();<br>&nbsp;&nbsp;reader-&gt;SetImageIO( dicomIO );<br>&nbsp;&nbsp;typedef std::vector&lt;std::string&gt;&nbsp;&nbsp;&nbsp;&nbsp;FileNamesContainer;<br>&nbsp;&nbsp;FileNamesContainer fileNames =<br>&nbsp;&nbsp;&nbsp;&nbsp;nameGenerator-&gt;GetFileNames( seriesItr-&gt;c_str());
<br>&nbsp;&nbsp;reader-&gt;SetFileName( fileNames[0].c_str() );<br>&nbsp;&nbsp;reader-&gt;Update();<br><br>Only then can I call dicomIO-&gt;GetMetaDataDictionary() as I said in my<br>original post.<br><br>So, where was the problem?<br><br>I had set
<br>&nbsp;&nbsp; nameGenerator-&gt;SetLoadPrivateTags ( true );<br><br>But I had NOT set<br>&nbsp;&nbsp;dicomIO-&gt;SetLoadPrivateTags(true);<br><br>I guess I thought that this was done by the nameGenerator business but as<br>that one doesn't know about dicomIO, that was rather stupid.
<br><br>Now you know.<br><br>Kris<br><br>&gt; -----Original Message-----<br>&gt; From: Thielemans, Kris [mailto:<a href="mailto:kris.thielemans@imperial.ac.uk">kris.thielemans@imperial.ac.uk</a>]<br>&gt; Sent: 15 September 2006 18:07
<br>&gt; To: <a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>&gt; Subject: Getting at private dicom tags<br>&gt;<br>&gt; Hi<br>&gt;<br>&gt; I need to get the value of a private tag (frame number in GE gated PET
<br>&gt; data). I know for sure that the tag is there (for instance using<br>&gt; dcmtk's dcmdump).<br>&gt;<br>&gt; I've modified the example IO/DicomSeriesReadPrintTags to what's<br>&gt; happening, e.g. I've added<br>&gt;
<br>&gt;&nbsp;&nbsp; nameGenerator-&gt;SetLoadPrivateTags ( true );<br>&gt;&nbsp;&nbsp; nameGenerator-&gt;AddSeriesRestriction(&quot;0009|10D8&quot; );<br>&gt;<br>&gt; This works in the sense that the value of the frame_number now gets<br>&gt; added to the 'seriesIdentifier'. However, when I try to get at its
<br>&gt; value using<br>&gt;<br>&gt;&nbsp;&nbsp; typedef itk::MetaDataDictionary&nbsp;&nbsp; DictionaryType;<br>&gt;&nbsp;&nbsp; const&nbsp;&nbsp;DictionaryType &amp; dictionary =<br>&gt; dicomIO-&gt;GetMetaDataDictionary();<br>&gt;&nbsp;&nbsp; DictionaryType::ConstIterator tagItr = 
dictionary.Find( &quot;0009|10D8&quot;<br>&gt; );<br>&gt;<br>&gt; this function tells me that it cannot find the tag. (It can find some<br>&gt; e.g. &quot;0020|0011&quot; SeriesNumber or patientName.<br>&gt;<br>&gt; Indeed, the output of (my modified) DicomSeriesReadPrintTags shows no
<br>&gt; private tags.<br>&gt;<br>&gt; Is there a way around this?<br>&gt;<br>&gt; Thanks<br>&gt;<br>&gt; Kris Thielemans<br>&gt; Hammersmith Imanet, part of GE Healthcare<br>&gt;<br><br><br><br>------------------------------
<br><br>Message: 5<br>Date: Fri, 13 Oct 2006 11:36:25 +0200<br>From: &quot;nawel h&quot; &lt;<a href="mailto:nawel_h5@hotmail.com">nawel_h5@hotmail.com</a>&gt;<br>Subject: [Insight-users] Re: ITK Level Set Questions<br>To: 
<a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>Message-ID: &lt;<a href="mailto:BAY108-F210C81597E8CD4F34D7401BC0A0@phx.gbl">BAY108-F210C81597E8CD4F34D7401BC0A0@phx.gbl</a>&gt;<br>Content-Type: text/plain; charset=iso-8859-1; format=flowed
<br><br>Hi<br>I was wondering if there hasn't been any answers to the mail of Pingkun. I<br>didn't find anything on the web and I am plannig to implement the<br>multi-phase Level Set of Chan and Vese<br>Thanks in advance!
<br>nawel<br><br>&gt;Hi Luis,<br>&gt;<br>&gt;Can you give some suggestions on implementing multi-phase level sets<br>&gt;based on current itk level set methods?<br>&gt;<br>&gt;I think the most naive approach may be evolving several active
<br>&gt;contours (embedded in different level set maps) simultaneously and<br>&gt;minimizing the overlapping areas between them. What do you think of<br>&gt;it?<br>&gt;<br>&gt;Pingkun<br><br><br><br><br>------------------------------
<br><br>_______________________________________________<br>Insight-users mailing list<br><a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br><a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users
</a><br><br><br>End of Insight-users Digest, Vol 30, Issue 25<br>*********************************************<br></blockquote></div><br>