On 26.02.2014 18:45, Jatin Nath wrote:
> Hi all,
>
> I am trying write a program for registration of two 3D datasets of DICOM
> images. essentially i need to read the reference datasets using
> mitkDicomSeriesReader and and using the m_ReferenceImage (which i hope i
> can get the 2D image for each image from the 3d dataset via iteration)
> and use itk GDCM to get the filenames for the 2nd dataset in order to
> pass each 2d itk image to the mitkbsplineregsitration function .
> mitkDicomSeriesReader.h has the function LoadDicomSeries and from the
> documentation I havent been completely able to decipher how to access
> each 2d image (which according to me shoulde be accessible later in the
> mitkbsplineregistration as m_ReferencedImage). Can anyone suggest a way
> to use the mitkDicomSeriesReader::LoadDicomseries if possible with a
> code bit. I have gone through the "usage " in the documentation, but
> still find it a bit unsettling. Sorry if my question is a little
> unclear, or too basic. I would appreciate any suggestions.

Dear Jatin,

from how I understand your question, you need 2D images for your 
registration, both on the reference and the moving image side.

1. From the "FileNamesGrouping" structure that you get from GetSeries(), 
you can access the filenames that will be loaded via GetFilenames(). You 
could load these individually (ITK or MITK) and have true 2D images.

2. If you also need the 3D image that DicomSeriesReader would create, 
you could extract slices via mitk::ExtractSliceFilter or 
mitk::ImageSliceSelector. Especially for the latter one I suggest to 
look for example usage in the MITK code.

Hope this helps a bit.

Regards,
Daniel

-- 
Dr. Daniel Maleike                           Telefon: + 49 6221 647976 3
Mint Medical GmbH, Friedrich-Ebert-Straße 2, 69221 Dossenheim/Heidelberg
Geschäftsführer: Dr. Matthias Baumhauer
Registergericht Mannheim, HRB 709351

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to