<div dir="ltr"><div><div><div><div>Hi,<br><br></div>I'm integrating RTK in an application that reads the raw projections from a dicom file. After reading dicom I have the data as itk::image object.  At this point, I am facing difficulty in finding a way to assign the itk::image to rtk::ConstantImageSource or rtk::ProjectionsReader or not getting the way to rtk::FDKConeBeamReconstructionFilter for the reconstruction.<br><br></div><div>All the application examples I went through were projections as stack based. <br></div><div><br></div><div>Following are few lines I have written.<br></div><div>//<br>typedef itk::Image<float, 3> InImageType;<br>InImageType::Pointer Img3DFloat = InImageType::New();<br><br></div><div>mitk::CastToItkImage(image, Img3DFloat); //Works (I use MITK for reading and visualization)<br></div><div><br>typename ConstantImageSourceType::Pointer iFilter = ConstantImageSourceType::New();<br>//iFilter->SetInformationFromImage( Img3DFloat ); // No compilation error but Empty Reconstruction<br>iFilter->SetInput(Img3DFloat ); //Compilation Error<br><br>CbctGenerator.cpp:1338: error: no matching function for call to 'rtk::ConstantImageSource<itk::Image<float, 3u> >::SetInput(itk::Image<float, 3u>::Pointer&)'<br>     iFilter->SetInput(Img3DFloat ); // produces compilation error<br>                                  ^<br>//<br><br></div><div>Thanks in advance for any hint.<br></div><br></div>Bests,<br><br></div>Naved<br><div><div><div><br></div></div></div></div>