<div>Hmmm but since there has been built an minc-reader, it should be possible to read and use .mnc files in ITK.</div>
<div>Otherwise Mrs. Leila Baghdadi has wasted some time...</div>
<div>Thank you for the advice though, but I would really hope that i can avoid to convert between different fileformats, as this introduces an extra layer which should'nt be necessary.</div>
<div> </div>
<div>Did anyone experience a problem like the one i am having with the <br>H5public.h. <br>where i get the error :<br>error C2632: 'int' followed by 'ini' is illegal (Line: 122)<br> </div>
<div> </div>
<div>Best of regards<br> </div>
<div><span class="gmail_quote">2006/10/3, Richard Beare <<a href="mailto:richard.beare@gmail.com">richard.beare@gmail.com</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">If you have successfully built the associated minc libraries that are<br>distributed with mincio you should have access to a tool called
<br>mnc2nii, which lets you convert minc to nifti or analyze. Both nifti<br>and analyze are supported by ITK so you should be able to read the<br>data without any messing around.<br><br>I haven't done this under windows though.
<br><br>On 10/3/06, Prename Surname <<a href="mailto:bsd.diverse@gmail.com">bsd.diverse@gmail.com</a>> wrote:<br>> Sorry, I said somethin wrong. IŽused this CMakeLists.txt to build my visual<br>> studio project:
<br>><br>><br>> PROJECT(Hello)<br>><br>> SET(HFILES<br>> "D:\\skole\\imaging_software\\itk\\src\\Code\\IO"<br>> "D:\\skole\\imaging_software\\itk\\src\\Code\\Common"<br>>
<br>> "D:\\skole\\imaging_software\\itk\\src\\Code\\BasicFilters"<br>> "C:\\Program Files\\MNI\\MINC\\include"<br>> )<br>><br>><br>> FIND_PACKAGE(ITK)<br>> IF (ITK_FOUND)<br>> INCLUDE(${USE_ITK_FILE})
<br>> ENDIF(ITK_FOUND)<br>><br>> FIND_PACKAGE(VTK)<br>> IF(VTK_FOUND)<br>> INCLUDE( ${USE_VTK_FILE} )<br>> ENDIF(VTK_FOUND)<br>><br>> 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>><br>><br>><br>><br>> It could be that i am missing something essential?<br>><br>> I really look forward to hearing for you. Many regards<br>><br>><br>><br>> 2006/10/2, Prename Surname <
<a href="mailto:bsd.diverse@gmail.com">bsd.diverse@gmail.com</a>>:<br>> ><br>> > Hello again<br>> ><br>> > I have downloaded the mincreader, and done everything as mentioned in the<br>> README file, meaning moved the
CMakeLists.txt files, moved the .cxx files<br>> etc. and rerun cmake to build itk again.<br>> ><br>> > That went without problems. I do however get a problem when i want to<br>> build the testprogram for testing the mincfiles. I am running on windows XP,
<br>> and using Visual Studio 8(2005).<br>> > When i have run cmake on the<br>> Insight_Testing_Code_IO_CMakeLists.txt (of course renamed)<br>> > and created the visual studio project and press BUILD ALL project, to
<br>> build i get an error in a header file called H5public.h. I think this file<br>> belongs to the hdf5 package.<br>> ><br>> > The error i get is the following:<br>> > error C2632: 'int' followed by 'ini' is illegal (Line: 122)
<br>> ><br>> > I did not change any of that code at all, so there must be something wrong<br>> with a compiler flag i am missing or something else.<br>> > I am quite lost here. I really hope someone can help me on this. Many
<br>> regards<br>> ><br>> ><br>> > 2006/9/30, Vincent Magnotta <<a href="mailto:vincent-magnotta@uiowa.edu">vincent-magnotta@uiowa.edu</a>>:<br>> ><br>> > > 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<br>> 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 href="mailto:vincent-magnotta@uiowa.edu">vincent-magnotta@uiowa.edu</a><br>> > > > <mailto:<a href="mailto:vincent-magnotta@uiowa.edu">
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 href="mailto:vincent-magnotta@uiowa.edu">vincent-magnotta@uiowa.edu
</a><br>> > > > <mailto: <a href="mailto:vincent-magnotta@uiowa.edu">vincent-magnotta@uiowa.edu</a>><br>> > > > > <mailto: <a href="mailto:vincent-magnotta@uiowa.edu">vincent-magnotta@uiowa.edu
</a><br>> > > > <mailto: <a href="mailto:vincent-magnotta@uiowa.edu">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>> > > > >
<br>> (<a href="http://insight-journal.org/dspace/handle/1926/191">http://insight-journal.org/dspace/handle/1926/191</a>) by<br>> 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<br>> to<br>> > > > > provide
<br>> > > > > a review of the software in the Insight Journal once you<br>> 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,<br>> but<br>> > > > > before i
<br>> > > > > > can do that i need to be able to read them with itk/vtk<br>> 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>> > > > ><br>> >_______________________________________________
<br>> > > > > >Insight-users mailing list<br>> > > > > ><a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a> <mailto: <a href="mailto:Insight-users@itk.org">
Insight-users@itk.org</a>><br>> > > > <mailto: <a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a> <mailto: <a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a> >><br>
> > > > ><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>> > > > > Assistant Professor<br>> > > > > Department of Radiology<br>
> > > > > 0453-D JCP<br>> > > > > 200 Hawkins Drive<br>> > > > > Iowa City, IA 52242<br>> > > > > E-mail: <a href="mailto:vincent-magnotta@uiowa.edu">
vincent-magnotta@uiowa.edu</a><br>> > > > <mailto:<a href="mailto:vincent-magnotta@uiowa.edu">vincent-magnotta@uiowa.edu</a>><br>> > > > <mailto: <a href="mailto:vincent-magnotta@uiowa.edu">
vincent-magnotta@uiowa.edu</a><br>> > > > <mailto: <a href="mailto:vincent-magnotta@uiowa.edu">vincent-magnotta@uiowa.edu</a>>><br>> > > > > Phone: 319-356-8255<br>> > > > > Fax: 319-353-6275
<br>> > > > > Website: <a href="http://www.radiology.uiowa.edu">http://www.radiology.uiowa.edu</a><br>> > > > <<a href="http://www.radiology.uiowa.edu">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 href="mailto:vincent-magnotta@uiowa.edu">vincent-magnotta@uiowa.edu
</a><br>> <mailto:<a href="mailto:vincent-magnotta@uiowa.edu">vincent-magnotta@uiowa.edu</a>><br>> > > > Phone: 319-356-8255<br>> > > > Fax: 319-353-6275<br>> > > > Website:
<a href="http://www.radiology.uiowa.edu">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 href="mailto:vincent-magnotta@uiowa.edu">vincent-magnotta@uiowa.edu</a><br>> > > Phone: 319-356-8255
<br>> > > Fax: 319-353-6275<br>> > > Website: <a href="http://www.radiology.uiowa.edu">http://www.radiology.uiowa.edu</a><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>><br></blockquote></div><br>