Hello Nawel,<br><br>I am actually just starting to implement some of the Chan-Vese papers using ITK myself. 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> <<a href="mailto:insight-users-request@itk.org">
insight-users-request@itk.org</a>> 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> <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> <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> <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>
<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 "Re: Contents of Insight-users digest..."<br><br><br>
Today's Topics:<br><br> 1. Re: I need help (garzo)<br> 2. Re: I need help (garzo)<br> 3. Re: Talairach Normalization (Vladimir FONOV)<br> 4. RE: Getting at private dicom tags (Kris Thielemans)<br> 5. Re: ITK Level Set Questions (nawel h)
<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Thu, 12 Oct 2006 11:25:08 -0700 (PDT)<br>From: garzo <<a href="mailto:adrian_prieto_jimenez@hotmail.com">adrian_prieto_jimenez@hotmail.com
</a>><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: <<a href="mailto:6781854.post@talk.nabble.com">6781854.post@talk.nabble.com</a>
><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 "make" 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<ForwardIterator,T>(const<br>std::stri<br>ng *,const std::string *,const std::string)' in function<br>VR::IsVROfStringReprese
<br>ntable(const std::string &)<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 &)
<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 &)<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>><br>><br>> Hi Garzo,<br>><br>> It may seem that your Borland compiler<br>> has not been configured correctly
<br>><br>> Please take a look at the following instructions:<br>> <a href="http://community.borland.com/article/0,1410,21205,00.html">http://community.borland.com/article/0,1410,21205,00.html</a><br>><br>> In particular the second part: "Creating the configuration files"
<br>> where you have to create the files:<br>><br>><br>> ILINK32.CFG<br>> BCC32.CFG<br>><br>><br>> Please let us know if that help,<br>><br>><br>> Thanks<br>><br>>
<br>> Luis<br>><br>><br>> --------------------<br>> Garzo Garzo wrote:<br>>> Hi,<br>>><br>>> I´m trying to build ITK in my Computer, but I can´t... I don´t know what<br>>> is going wrong... I need help.
<br>>><br>>> My System has:<br>>><br>>> -Windows XP<br>>> -Borland C++ Compiler 5.5<br>>> -Cmake 2.2<br>>> -InsightToolkit-2.8.1 (without build, of course)<br>>><br>>> My steps were the next:
<br>>><br>>> 1º: I configure the PATH variable with the Borland 5.5 address<br>>> (C:\Borland\BCC55\Bin)<br>>> 2º: I create a Binary and a Source Folder ("C:\itk\src\" and<br>>> "C:\itk\bin\")
<br>>> 3º: I copy "InsightToolkit-2.8.1" in the Source folder<br>>> ("C:\itk\src\InsightToolkit-2.8.1")<br>>> 4º: I install Cmake 2.2<br>>> 5º: I run Cmake 2.2<br>>> 6º: I select "C:\itk\src\InsightToolkit-
2.8.1" for SOURCE CODE and<br>>> "C:\itk\bin\" for BINARIES<br>>> 7º: I press the "Configure" button<br>>> 8º: And then a Error Message success (The ErrorMessage is too big, I<br>
>> write only the "error" part):<br>>><br>>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>>> ........<br>>> ........<br>>> Borland C++ 5.5 for Win32 Copyright (c) 1993, 2000 Borland
<br>>> Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland<br>>> Fatal: Unable to open file 'C0X32.OBJ'<br>>><br>>> ** error 1 ** deleting cmTryCompileExec.exe<br>>> ** error 1 ** deleting CMakeFiles\cmTryCompileExec.dir\all
<br>>> ** error 1 ** deleting CMakeFiles\cmTryCompileExec.dir\rule<br>>> ** error 1 ** deleting cmTryCompileExec<br>>><br>>> CMake will not be able to correctly generate this project.<br>>><br>
>> (Press Cancel to suppress any further messages.)<br>>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>>><br>>> May you help me, please?<br>>><br>>> Thanks.<br>>>
<br>>> P.D: if you need more info about the ErrorMessage, I can write all the<br>>> message.<br>>><br>>> _________________________________________________________________<br>>> Descubre la descarga digital con MSN Music. Más de un millón de
<br>>> canciones. <a href="http://music.msn.es/">http://music.msn.es/</a><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>><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><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 <<a href="mailto:adrian_prieto_jimenez@hotmail.com">
adrian_prieto_jimenez@hotmail.com</a>><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: <<a href="mailto:6781948.post@talk.nabble.com">
6781948.post@talk.nabble.com</a>><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> BUILD_EXAMPLES = ON
<br> BUILD_SHARED_LIBS = OFF<br> BUILD_TESTING = ON<br><br>Thanks another time.<br><br>Adrian Prieto.<br><br><br>garzo wrote:<br>><br>> -First:<br>><br>> Thank you very much for your help. I used CMake correctly with ITK
<br>> (without errors or warnings)<br>><br>> -Second:<br>><br>> Now, when I try to use "make" in the BIN directory of my ITK, 1 error and<br>> 2 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<ForwardIterator,T>(const<br>> std::stri<br>> ng *,const std::string *,const std::string)' in function<br>> VR::IsVROfStringReprese<br>> ntable(const std::string &)
<br>> Warning W8004<br>> C:\itk\src\InsightToolkit-2.8.1\Utilities\gdcm\src\gdcmVR.cxx 123:<br>> 'end' is assigned a value that is never used in function<br>> VR::IsVROfStringRepres<br>> entable(const std::string &)
<br>> Warning W8057<br>> C:\itk\src\InsightToolkit-2.8.1\Utilities\gdcm\src\gdcmVR.cxx 123:<br>> Parameter 'tested' is never used in function<br>> VR::IsVROfStringRepresentable(cons<br>> t std::string &)
<br>> *** 1 errors in Compile ***<br>><br>> ** error 1 ** deleting<br>> 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>>><br>>><br>>> Hi Garzo,<br>>><br>>> It may seem that your Borland compiler<br>>> has not been configured correctly<br>>><br>>> Please take a look at the following instructions:
<br>>> <a href="http://community.borland.com/article/0,1410,21205,00.html">http://community.borland.com/article/0,1410,21205,00.html</a><br>>><br>>> In particular the second part: "Creating the configuration files"
<br>>> where you have to create the files:<br>>><br>>><br>>> ILINK32.CFG<br>>> BCC32.CFG<br>>><br>>><br>>> Please let us know if that help,<br>>><br>>>
<br>>> Thanks<br>>><br>>><br>>> Luis<br>>><br>>><br>>> --------------------<br>>> Garzo Garzo wrote:<br>>>> Hi,<br>>>><br>>>> I´m trying to build ITK in my Computer, but I can´t... I don´t know what
<br>>>> is going wrong... I need help.<br>>>><br>>>> My System has:<br>>>><br>>>> -Windows XP<br>>>> -Borland C++ Compiler 5.5<br>>>> -Cmake 2.2<br>>>> -
InsightToolkit-2.8.1 (without build, of course)<br>>>><br>>>> My steps were the next:<br>>>><br>>>> 1º: I configure the PATH variable with the Borland 5.5 address<br>>>> (C:\Borland\BCC55\Bin)
<br>>>> 2º: I create a Binary and a Source Folder ("C:\itk\src\" and<br>>>> "C:\itk\bin\")<br>>>> 3º: I copy "InsightToolkit-2.8.1" in the Source folder<br>>>> ("C:\itk\src\InsightToolkit-
2.8.1")<br>>>> 4º: I install Cmake 2.2<br>>>> 5º: I run Cmake 2.2<br>>>> 6º: I select "C:\itk\src\InsightToolkit-2.8.1" for SOURCE CODE and<br>>>> "C:\itk\bin\" for BINARIES
<br>>>> 7º: I press the "Configure" button<br>>>> 8º: And then a Error Message success (The ErrorMessage is too big, I<br>>>> write only the "error" part):<br>>>><br>
>>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>>>> ........<br>>>> ........<br>>>> Borland C++ 5.5 for Win32 Copyright (c) 1993, 2000 Borland<br>>>> Turbo Incremental Link
5.00 Copyright (c) 1997, 2000 Borland<br>>>> Fatal: Unable to open file 'C0X32.OBJ'<br>>>><br>>>> ** error 1 ** deleting cmTryCompileExec.exe<br>>>> ** error 1 ** deleting CMakeFiles\cmTryCompileExec.dir\all
<br>>>> ** error 1 ** deleting CMakeFiles\cmTryCompileExec.dir\rule<br>>>> ** error 1 ** deleting cmTryCompileExec<br>>>><br>>>> CMake will not be able to correctly generate this project.
<br>>>><br>>>> (Press Cancel to suppress any further messages.)<br>>>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>>>><br>>>> May you help me, please?<br>
>>><br>>>> Thanks.<br>>>><br>>>> P.D: if you need more info about the ErrorMessage, I can write all the<br>>>> message.<br>>>><br>>>> _________________________________________________________________
<br>>>> Descubre la descarga digital con MSN Music. Más de un millón de<br>>>> canciones. <a href="http://music.msn.es/">http://music.msn.es/</a><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>>><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>><br>><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 <<a href="mailto:vladimir.fonov@gmail.com">vladimir.fonov@gmail.com</a>><br>Subject: [Insight-users] Re: Talairach Normalization<br>To: <a href="mailto:insight-users@itk.org">
insight-users@itk.org</a><br>Message-ID: <<a href="mailto:egm0e5$ob6$1@sea.gmane.org">egm0e5$ob6$1@sea.gmane.org</a>><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>advanced math wrote:<br>>
<br>> Does anybody know any software which can perform Talairach<br>> Normalization of the MRI volume data?<br>> Thank you.<br>><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 at gmail dot com<br><br><br><br>------------------------------<br><br>Message: 4<br>Date: Fri, 13 Oct 2006 10:05:34 +0100<br>From: "Kris Thielemans" <
<a href="mailto:kris.thielemans@csc.mrc.ac.uk">kris.thielemans@csc.mrc.ac.uk</a>><br>Subject: [Insight-users] RE: Getting at private dicom tags<br>To: "'Kris Thielemans'" <<a href="mailto:kris.thielemans@csc.mrc.ac.uk">
kris.thielemans@csc.mrc.ac.uk</a>>,<br> <<a href="mailto:insight-users@itk.org">insight-users@itk.org</a>><br>Message-ID: <003601c6eea6$be2efc90$0d0a10ac@bach><br>Content-Type: text/plain; charset="us-ascii"
<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> typedef itk::GDCMImageIO ImageIOType;<br> ImageIOType::Pointer dicomIO = ImageIOType::New();<br> typedef itk::Image< float, 2 > ImageType2D;<br> typedef itk::ImageFileReader< ImageType2D > ReaderType2D;
<br> ReaderType2D::Pointer reader = ReaderType2D::New();<br> reader->SetImageIO( dicomIO );<br> typedef std::vector<std::string> FileNamesContainer;<br> FileNamesContainer fileNames =<br> nameGenerator->GetFileNames( seriesItr->c_str());
<br> reader->SetFileName( fileNames[0].c_str() );<br> reader->Update();<br><br>Only then can I call dicomIO->GetMetaDataDictionary() as I said in my<br>original post.<br><br>So, where was the problem?<br><br>I had set
<br> nameGenerator->SetLoadPrivateTags ( true );<br><br>But I had NOT set<br> dicomIO->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>> -----Original Message-----<br>> From: Thielemans, Kris [mailto:<a href="mailto:kris.thielemans@imperial.ac.uk">kris.thielemans@imperial.ac.uk</a>]<br>> Sent: 15 September 2006 18:07
<br>> To: <a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>> Subject: Getting at private dicom tags<br>><br>> Hi<br>><br>> I need to get the value of a private tag (frame number in GE gated PET
<br>> data). I know for sure that the tag is there (for instance using<br>> dcmtk's dcmdump).<br>><br>> I've modified the example IO/DicomSeriesReadPrintTags to what's<br>> happening, e.g. I've added<br>>
<br>> nameGenerator->SetLoadPrivateTags ( true );<br>> nameGenerator->AddSeriesRestriction("0009|10D8" );<br>><br>> This works in the sense that the value of the frame_number now gets<br>> added to the 'seriesIdentifier'. However, when I try to get at its
<br>> value using<br>><br>> typedef itk::MetaDataDictionary DictionaryType;<br>> const DictionaryType & dictionary =<br>> dicomIO->GetMetaDataDictionary();<br>> DictionaryType::ConstIterator tagItr =
dictionary.Find( "0009|10D8"<br>> );<br>><br>> this function tells me that it cannot find the tag. (It can find some<br>> e.g. "0020|0011" SeriesNumber or patientName.<br>><br>> Indeed, the output of (my modified) DicomSeriesReadPrintTags shows no
<br>> private tags.<br>><br>> Is there a way around this?<br>><br>> Thanks<br>><br>> Kris Thielemans<br>> Hammersmith Imanet, part of GE Healthcare<br>><br><br><br><br>------------------------------
<br><br>Message: 5<br>Date: Fri, 13 Oct 2006 11:36:25 +0200<br>From: "nawel h" <<a href="mailto:nawel_h5@hotmail.com">nawel_h5@hotmail.com</a>><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: <<a href="mailto:BAY108-F210C81597E8CD4F34D7401BC0A0@phx.gbl">BAY108-F210C81597E8CD4F34D7401BC0A0@phx.gbl</a>><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>>Hi Luis,<br>><br>>Can you give some suggestions on implementing multi-phase level sets<br>>based on current itk level set methods?<br>><br>>I think the most naive approach may be evolving several active
<br>>contours (embedded in different level set maps) simultaneously and<br>>minimizing the overlapping areas between them. What do you think of<br>>it?<br>><br>>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>