OK, I solved the issue by reading the image series by
itk::ImageSeriesReader then the converting the ITK image to an MITK
image and assigning it to a new Node.

I do not think that it can be read directly by DataNodeFactory,
especially because the images do not have a continous numbering.

Miklos

On Tue, May 24, 2011 at 5:28 PM, Miklos Espak <[email protected]> wrote:
> Hi,
>
> I am switching to MITK from an ITK+QT application. It is a really nice
> framework, the development is quite efficient with it. :-)
>
> In the legacy code I read some images with itk::ImageSeriesReader. The
> file names were set by the SetFileNames member function.
>
> However, the DataNodeFactory does not have such a function, but it has
> SetImageSerie(bool) instead. It is not clear for me, how to use that.
>
> Do I have to set a prefix and a pattern and then call
> SetImageSerie(true) ? It is not possible to pass the list of filenames
> in a vector like in ITK?
>
> Thanks,
> Miklos
>

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to