[Rtk-users] loading projection images for sart

Simon Rit simon.rit at creatis.insa-lyon.fr
Thu Jul 2 12:19:36 EDT 2015


Hi,
The stack of 2D images is passed via a 3D image. Look at the rtksart
application for example. A way to read this from a set of file names is to
use itk::ImageSeriesReader as done in rtk::ProjectionsReader.
You should be able to understand how it works by looking at the existing
RTK applications in the applications subfolders.
Simon

On Wed, Jul 1, 2015 at 9:39 PM, Robert Calließ <robert.calliess at gmx.de>
wrote:

> Hello,
>
> I got compiled the ITK and RTK with help of cmake. I also had a look
>
> at the examples coming with RTK. I want to run a simple SART and
>
> got projection images in the format PNG and BMP.
>
>
>
> So I create an instance of the ThreeDcircularProjectionGeometry,
> SARTConeBeamReconstructionFilter
>
> and add the geometric projection data.
>
>
>
> rtk::ThreeDCircularProjectionGeometry::Pointer geometry;
>
> geometry = rtk::ThreeDCircularProjectionGeometry::New();
>
> geometry->AddProjection(……)
>
>
>
> rtk::SARTConeBeamReconstructionFilter<OutputImageType>::Pointer sart =
> rtk::SARTConeBeamReconstructionFilter< OutputImageType >::New();
>
>
>
> How to add a stack of images to the SART reconstruction, i.e.
> std::vector<itk::Image::Pointer> images ?
>
> I got xray projections in png format.
>
>
>
> There is a method in the SART class called SetInput. But according tot he
> examples it is used to set a volume.
>
>
>
> Does anybody alread wrote a small piece of code that loads some images
> from the disk and put them into the SART reconstruction ?
>
>
>
> Regards,
>
> Robert
>
> _______________________________________________
> Rtk-users mailing list
> Rtk-users at public.kitware.com
> http://public.kitware.com/mailman/listinfo/rtk-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/rtk-users/attachments/20150702/b03552b6/attachment-0010.html>


More information about the Rtk-users mailing list