[Insight-users] Fwd: Reading in Netcdf data

Luis Ibanez luis.ibanez at kitware.com
Fri Dec 25 16:02:08 EST 2009


---------- Forwarded message ----------
From: Leila Baghdadi <baghdadi at phenogenomics.ca>
Date: Tue, Dec 22, 2009 at 10:37 AM
Subject: Re: [Insight-users] Reading in Netcdf data
To: Luis Ibanez <luis.ibanez at kitware.com>


Hi guys,

I am afraid the MINC2 support for ITK is only for MINC2 (hdf5 based)
images.
If you want to deal with netcdf images you can use one of our minc core
tools (non itk related), "mincconvert" and convert your image from
netcdf to hdf5 and then proceed with itk

HTH

Leila
On Mon, 2009-12-21 at 19:46 -0500, Luis Ibanez wrote:
> Hi C.S.N,
>
>
>                      Welcome to ITK !
>
>
> Your observation is correct.
>
> We don't have in ITK a reader for Netcdf,
>
>
> however, we have support for MINC2,
> and they use Netcdf as one of their libraries....
>
> which makes me wonder if you could use
> the MINC2 reader to bring your data into ITK.
>
> You may want to give it a try at enabling
> the CMake variable:
>
>                  ITK_USE_MINC2
>
> when you configure ITK.
>
> For more information, you may want to look
> at the following paper in the Insight Journal:
>
> http://www.insight-journal.org/browse/publication/64
>
> I believe VTK and Paraview have support for
> Netcdf files. You may want to consider using them
> as a bridge for reading Netcdf in, and writing out
> any of the file formats that both VTK and ITK
> supports (for example   .mha or .vtk).
>
>
>       Regards,
>
>
>             Luis
>
>
> -----------------------------------------------------------------
> On Wed, Dec 16, 2009 at 1:08 PM, Natarajan CS <csnataraj at gmail.com> wrote:
> > Hello all,
> >    i am new to this list and ITK, so apologies if this question has been
> > answered already in some form. Reading the docs it seems like ITK does not
> > have a built-in reader for netcdf volume data, so is it better to convert
> > the data to a format which itk can read or is it better to parse the data
> > stream as an array to ITK (read in the data in standard format and send itk
> > the array instead of using ITK readers)?
> >
> > Thanks in advance,
> >
> > C.S.N
> >
> > _____________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Kitware offers ITK Training Courses, for more information visit:
> > http://www.kitware.com/products/protraining.html
> >
> > Please keep messages on-topic and check the ITK FAQ at:
> > http://www.itk.org/Wiki/ITK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.itk.org/mailman/listinfo/insight-users
> >
> >
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list