KWScene/Documentation/Supported Generators/ITK/Image: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
Line 34: Line 34:
== Option A ==
== Option A ==


* Create a KWScene hierarchy where ImageGenerator handles all relevant file formats.
* Create a KWScene hierarchy where FactoryBasedImageGenerator handles all relevant file formats.
* Will have classes
* Will have classes
** Image-KWSGenerator, which can generate either  
** FactoryBasedImage-KWSGenerator, which can generate either  
** an image of most single-file types via itk::ImageIOFactory or
** an image of most single-file types via itk::ImageIOFactory or
** an Image Series via itk::GDCMImageIO.  
** an Image Series via itk::GDCMImageIO.  
** because of the breadth and reliability of ImageIOFactory.  
** because of the breadth and reliability of ImageIOFactory.  
** ImageNodeGenerator is not an abstract class here, and can handle any image.  
** ImageNodeGenerator is the base class here, to be consistent with nomenclature in VTK.  


=== Proposed Hierarchy ===
=== Proposed Hierarchy ===
Line 49: Line 49:
kwsITKNodeGenerator
kwsITKNodeGenerator
kwsITKImageNodeGenerator
kwsITKImageNodeGenerator
kwsITKFactoryBasedImageNodeGenerator
kwsITKGenerator -> kwsITKNodeGenerator
kwsITKGenerator -> kwsITKNodeGenerator
kwsITKNodeGenerator -> kwsITKImageNodeGenerator
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

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.

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

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.