[Insight-users] Wrapping of Image Reader/Writer in JAVA

Dalal, Dhaval dalal at bnl.gov
Mon Mar 7 17:06:04 EST 2005


Hi,

I am trying to implement an Image Reader/Writer in Java which will support
all the ITK file formats.
In particular, I need to add GDCM Read/Write  to this Class..

In Insight/Wrapping/CSwig/IO/wrap_IOBase.cxx , the following classes are
supported

#include "itkRawImageIO.h"
#include "itkImageIOBase.h"
#include "itkPNGImageIO.h"
#include "itkMetaImageIO.h"
#include "itkDicomImageIO.h"
#include "itkPNGImageIOFactory.h"
#include "itkMetaImageIOFactory.h"
#include "itkDicomImageIOFactory.h"
#include "itkDICOMSeriesFileNames.h"
#include "itkNumericSeriesFileNames.h"
#include "itkRegularExpressionSeriesFileNames.h"

So for adding GDCM support, I need to add these two classes..
- itkGDCMImageIO.h
- itkGDCMSeriesFileNames.h to the above wrap_IOBase.cxx .

After doing this, should I wrap only this class in Java?
or is there something else also i need to do..  

Also, http://www.creatis.insa-lyon.fr/Public/Gdcm/ConformanceSummary.html
Lists the supported DICOM file formats for GDCM. 
Is it that some files that could not be read with GDCM works
fine with DicomImageIO and the other way around... 
Should I keep both or remove DicomImageIO.

Let me know..
Thanks
Dhaval


More information about the Insight-users mailing list