Hello Lucas,

        When a data-set is stored in the data tree, it uses the original
data representation. For example DICOM Plugin uses vtkImageData by default. 

        When a processor uses this data as input, it can choose the
representation of the input data. For example vtkImageData or
itk::Image<float,3>. If the desired input data of the processor is
vtkImageData, no conversion will be done. If it's itk::Image<float,3>,
GIMIAS will automatically convert the data type to this image
representation.

        You can store the DICOM slices directly into the DataEntity, if you
enable the check box "Export DICOM Slices". The image representation is
using blSLiceImage class. This type of data cannot be rendered using MITK
render window at the moment. You can only use CMGUI render window.

        When using a 3D image as input, you can extract a single 2D image
using the vtk filter vtkImageClip. To retrieve the current slice being
visualized you can take a look at MultiRenderWindowOverlay class.

        If any of this suggestions is not working for you, please let me
know.

Best regards,
Xavi


-----Original Message-----
From: Lucas Klaus Beyer [mailto:[email protected]] 
Sent: lunes, 18 de abril de 2011 8:38
To: [email protected]
Subject: [Gimias-developers] working on slices one after another?

Hello,

I wonder if there is a way to write a plugin which:

1. works through a 3D image data-set (e.g. DICOM files) by iterating the 2D
images that compose it or 
2. only works on a single 2D-slice (maybe even "currently viewed" one?) only
or 
3. access to the dataset as stored in the data tree, without any
conversion/copying going around?

I mean, in a way that does NOT send/copy you the whole data at once (I know
how to iterate VTK/ITK image objects), but rather that sends you a single
slice (at a time). The main reason would be to avoid huge memory
allocations.

----------------------------------------------------------------------------
--
Benefiting from Server Virtualization: Beyond Initial Workload Consolidation
-- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Gimias-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gimias-developers


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Gimias-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gimias-developers

Reply via email to