KWScene/Documentation/Supported Generators/ITK/Image: Difference between revisions
From KitwarePublic
< KWScene | Documentation | Supported Generators | ITK
Jump to navigationJump to search
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= Desired Format Support = | = Desired Format Support = | ||
DICOM (.dcm) | ** DICOM (.dcm) | ||
Analyze (.hdr/.ima) | ** Analyze (.hdr/.ima) | ||
XML (.vti) | ** XML (.vti) | ||
** MetaImage (.mha) | |||
= Class Diagrams = | = Class Diagrams = | ||
Line 10: | Line 11: | ||
<graphviz> | <graphviz> | ||
digraph G { | digraph G { | ||
itkProcessObject [URL="http://www.itk.org/Doxygen316/html/classitk_1_1ProcessObject.html"]; | |||
itkImageSource [URL="http://www.itk.org/Doxygen316/html/classitk_1_1ImageSource.html"]; | |||
itkImageSeriesReader [URL="http://www.itk.org/Doxygen316/html/classitk_1_1ImageSeriesReader.html"]; | |||
itkImageFileReader [URL="http://www.itk.org/Doxygen316/html/classitk_1_1ImageFileReader.html"]; | |||
itkImageIOBase [URL="http://www.itk.org/Doxygen316/html/classitk_1_1ImageIOBase.html"]; | |||
itkVTKImageIO[URL="http://www.itk.org/Doxygen316/html/classitk_1_1VTKImageIO.html"]; | |||
itkGDCMImageIO[URL="http://www.itk.org/Doxygen316/html/classitk_1_1GDCMImageIO.html"]; | |||
itkAnalyzeImageIO[URL="http://www.itk.org/Doxygen316/html/classitk_1_1AnalyzeImageIO.html"]; | |||
itkMetaImageIO[URL="http://www.itk.org/Doxygen316/html/classitk_1_1MetaImageIO.html"]; | |||
itkProcessObject -> itkImageSource | |||
itkImageSource -> itkImageSeriesReader | |||
itkImageSource -> itkImageFileReader | |||
itkImageIOBase -> itkGDCMImageIO | |||
itkImageIOBase -> itkAnalyzeImageIO | |||
itkImageIOBase -> itkVTKImageIO | |||
itkImageIOBase -> itkMetaImageIO | |||
} | } | ||
</graphviz> | </graphviz> | ||
Line 33: | Line 34: | ||
== Option A == | == Option A == | ||
* Create a KWScene hierarchy where | * Create a KWScene hierarchy where FactoryBasedImageGenerator handles all relevant file formats. | ||
* Will have classes | * Will have classes | ||
** | ** FactoryBasedImage-KWSGenerator, which can generate either | ||
** | ** an image of most single-file types via itk::ImageIOFactory or | ||
** | ** an Image Series via itk::GDCMImageIO. | ||
** because of the breadth and reliability of ImageIOFactory. | |||
** ImageNodeGenerator is the base class here, to be consistent with nomenclature in VTK. | |||
=== Proposed Hierarchy === | === Proposed Hierarchy === | ||
Line 46: | Line 49: | ||
kwsITKNodeGenerator | kwsITKNodeGenerator | ||
kwsITKImageNodeGenerator | kwsITKImageNodeGenerator | ||
kwsITKFactoryBasedImageNodeGenerator | |||
kwsITKGenerator -> kwsITKNodeGenerator | |||
kwsITKNodeGenerator -> kwsITKImageNodeGenerator | |||
kwsITKImageNodeGenerator-> kwsITKFactoryBasedImageNodeGenerator | |||
} | } | ||
</graphviz> | </graphviz> |
Latest revision as of 19:32, 22 April 2010
Desired Format Support
- DICOM (.dcm)
- Analyze (.hdr/.ima)
- XML (.vti)
- MetaImage (.mha)
Class Diagrams
Options
Option A
- Create a KWScene hierarchy where FactoryBasedImageGenerator handles all relevant file formats.
- Will have classes
- FactoryBasedImage-KWSGenerator, which can generate either
- an image of most single-file types via itk::ImageIOFactory or
- an Image Series via itk::GDCMImageIO.
- because of the breadth and reliability of ImageIOFactory.
- ImageNodeGenerator is the base class here, to be consistent with nomenclature in VTK.
Proposed Hierarchy