<div>Sorry, I said somethin wrong. IŽused this CMakeLists.txt to build my visual studio project:</div>
<div> </div>
<p>PROJECT(Hello)</p>
<p>SET(HFILES<br> "D:\\skole\\imaging_software\\itk\\src\\Code\\IO"<br> "D:\\skole\\imaging_software\\itk\\src\\Code\\Common"<br> "D:\\skole\\imaging_software\\itk\\src\\Code\\BasicFilters"
<br> "C:\\Program Files\\MNI\\MINC\\include"<br>)</p>
<p><br>FIND_PACKAGE(ITK)<br>IF (ITK_FOUND)<br> INCLUDE(${USE_ITK_FILE})<br>ENDIF(ITK_FOUND)</p>
<p>FIND_PACKAGE(VTK)<br>IF(VTK_FOUND)<br> INCLUDE( ${USE_VTK_FILE} )<br>ENDIF(VTK_FOUND)</p>
<p>INCLUDE_DIRECTORIES(<br> ${Hello_SOURCE_DIR}<br> ${HFILES}<br>)<br>ADD_EXECUTABLE(Hello main.cxx) <br>TARGET_LINK_LIBRARIES (Hello <br> ITKBasicFilters ITKCommon ITKIO <br> vtkRendering vtkGraphics vtkHybrid <br> vtkImaging vtkIO vtkFiltering vtkCommon
<br> )<br></p>
<p> </p>
<div> </div>
<div>It could be that i am missing something essential?</div>
<div> </div>
<div>I really look forward to hearing for you. Many regards</div>
<div><br><br> </div>
<div><span class="gmail_quote">2006/10/2, Prename Surname <<a href="mailto:bsd.diverse@gmail.com">bsd.diverse@gmail.com</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Hello again</div>
<div> </div>
<div>I have downloaded the mincreader, and done everything as mentioned in the README file, meaning moved the CMakeLists.txt files, moved the .cxx files etc. and rerun cmake to build itk again.</div>
<div> </div>
<div>That went without problems. I do however get a problem when i want to build the testprogram for testing the mincfiles. I am running on windows XP, and using Visual Studio 8(2005).</div>
<div>When i have run cmake on the Insight_Testing_Code_IO_CMakeLists.txt (of course renamed)</div>
<div>and created the visual studio project and press BUILD ALL project, to build i get an error in a header file called H5public.h. I think this file belongs to the hdf5 package.</div>
<div> </div>
<div>The error i get is the following:</div>
<div>error C2632: 'int' followed by 'ini' is illegal (Line: 122)</div>
<div> </div>
<div>I did not change any of that code at all, so there must be something wrong with a compiler flag i am missing or something else.</div>
<div>I am quite lost here. I really hope someone can help me on this. Many regards<br><br> </div>
<div><span class="gmail_quote">2006/9/30, Vincent Magnotta <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:vincent-magnotta@uiowa.edu" target="_blank">vincent-magnotta@uiowa.edu</a>>:</span>
<div><span class="e" id="q_10e09e71985a2f0c_1">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Prename,<br><br>It is possible to do this in ITK. It may be easier however to get<br>started by running the mincextract program on the slices to build up a
<br>raw volume of data. You could then create a meta image header for the<br>volume.<br><br>To do this directly in ITK you would want to use something like the<br>PasteImageFilter.<br><br>Vince<br><br><br>Prename Surname wrote:
<br><br>> Yeah, this seems to work :)<br>> Thank you very much. I will try it out and ill return with some feedback.<br>><br>> Best of regards.<br>><br>> Do you know what function i should use if i want to make a volume out
<br>> of my slices?<br>><br>><br>> 2006/9/30, Vincent Magnotta <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:vincent-magnotta@uiowa.edu" target="_blank">vincent-magnotta@uiowa.edu</a>
<br>> <mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:vincent-magnotta@uiowa.edu" target="_blank">vincent-magnotta@uiowa.edu </a>>>:<br>><br>> Prename,<br>><br>> That is odd. It works for me. Anyway give this link a try.
<br>><br>> *|http://hdl.handle.net/1926/191<br>><br>> Vince<br>><br>> |* <br>> Prename Surname wrote:<br>><br>> > Ahhh this sounds very interresting indeed.<br>> > But the link seems to be dead. is there some spelling error?
<br>> ><br>> > Regards <br>> ><br>> ><br>> > 2006/9/29, Vincent Magnotta < <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:vincent-magnotta@uiowa.edu" target="_blank">
vincent-magnotta@uiowa.edu</a><br>> <mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:vincent-magnotta@uiowa.edu" target="_blank"> vincent-magnotta@uiowa.edu</a>><br>> > <mailto:
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:vincent-magnotta@uiowa.edu" target="_blank">vincent-magnotta@uiowa.edu</a><br>> <mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:vincent-magnotta@uiowa.edu" target="_blank">
vincent-magnotta@uiowa.edu </a>>>>:<br>> ><br>> > Prename,<br>> ><br>> > ITK currently does not support MINC files directly. A MINC<br>> 2.0 reader<br>> > was submitted to the Insight Journal
<br>> > (<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://insight-journal.org/dspace/handle/1926/191" target="_blank">http://insight-journal.org/dspace/handle/1926/191</a>) by Leila<br>
> > Baghdadi to<br>> > read this files into ITK. You will want to download this <br>> code and<br>> > see if<br>> > this allows you to read in the data. You are also encouraged to
<br>> > provide<br>> > a review of the software in the Insight Journal once you have <br>> > downloaded<br>> > and tested the software.<br>> ><br>> > Vince
<br>> ><br>> ><br>> > Prename Surname wrote:<br>> ><br>> > > Hello.<br>> > > I have brainslices taken in an MR-scanner.<br>> > > My first goal is to create a 3D image of all the slices, but
<br>> > before i<br>> > > can do that i need to be able to read them with itk/vtk first. <br>> > > As of now they are saved in the format .mnc, which i was<br>> really
<br>> > hoping<br>> > > itk/vtk can read.<br>> > > So my question is, how do i read .mnc images with itk/vtk, <br>> and if it<br>> > > cannot, then what format should i then convert them to
<br>> instead?<br>> > ><br>> > > Many regards.<br>> > ><br>> > > P.S. Is it difficult to create a 3D model of my slices?<br>> > >
<br>> ><br>> >------------------------------------------------------------------------<br>><br>> > > <br>> > >_______________________________________________<br>> > >Insight-users mailing list
<br>> > ><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Insight-users@itk.org" target="_blank">Insight-users@itk.org</a> <mailto: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Insight-users@itk.org" target="_blank">
Insight-users@itk.org</a>><br>> <mailto: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Insight-users@itk.org" target="_blank">Insight-users@itk.org</a> <mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Insight-users@itk.org" target="_blank">
Insight-users@itk.org </a>>><br>> > ><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users
</a><br>> > ><br>> > ><br>> ><br>> ><br>> > --<br>> > Assistant Professor<br>> > Department of Radiology<br>> > 0453-D JCP
<br>> > 200 Hawkins Drive<br>> > Iowa City, IA 52242 <br>> > E-mail: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:vincent-magnotta@uiowa.edu" target="_blank">
vincent-magnotta@uiowa.edu</a><br>> <mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:vincent-magnotta@uiowa.edu" target="_blank">vincent-magnotta@uiowa.edu</a>><br>> <mailto:
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:vincent-magnotta@uiowa.edu" target="_blank">vincent-magnotta@uiowa.edu</a><br>> <mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:vincent-magnotta@uiowa.edu" target="_blank">
vincent-magnotta@uiowa.edu</a>>><br>> > Phone: 319-356-8255 <br>> > Fax: 319-353-6275<br>> > Website: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.radiology.uiowa.edu/" target="_blank">
http://www.radiology.uiowa.edu</a><br>> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.radiology.uiowa.edu/" target="_blank">http://www.radiology.uiowa.edu </a>><br>> ><br>
> ><br>><br>><br>> --<br>> Assistant Professor<br>> Department of Radiology<br>> 0453-D JCP<br>> 200 Hawkins Drive<br>> Iowa City, IA 52242 <br>> E-mail: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:vincent-magnotta@uiowa.edu" target="_blank">
vincent-magnotta@uiowa.edu</a> <mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:vincent-magnotta@uiowa.edu" target="_blank">vincent-magnotta@uiowa.edu</a>><br>> Phone: 319-356-8255
<br>> Fax: 319-353-6275<br>> Website: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.radiology.uiowa.edu/" target="_blank">http://www.radiology.uiowa.edu</a><br>><br>><br><br>
<br>--<br>Assistant Professor<br>Department of Radiology<br>0453-D JCP<br>200 Hawkins Drive<br>Iowa City, IA 52242<br>E-mail: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:vincent-magnotta@uiowa.edu" target="_blank">
vincent-magnotta@uiowa.edu</a><br>Phone: 319-356-8255<br>Fax: 319-353-6275<br>Website: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.radiology.uiowa.edu/" target="_blank">http://www.radiology.uiowa.edu
</a><br><br></blockquote></span></div></div><br></blockquote></div><br>