Hi Ben, This should have been fixed since this commit <https://github.com/SimonRit/RTK/commit/2c8ae75f3d23dd6174f4bf707217e5cfc2b7e799>. Maybe you can try to upgrade to RTK master? Otherwise, check the doxygen documentation <http://www.openrtk.org/Doxygen/classes.html> or you can check here <https://github.com/SimonRit/RTK/blob/master/include/rtkGgoFunctions.h#L309-L338> how it's done in the applications. Simon
On Mon, Jun 8, 2020 at 9:22 PM Benjamin W. Maloney < benjamin.w.maloney...@dartmouth.edu> wrote: > Hi all, > > Thanks for the help getting my reconstruction up and running last week > > I apologize if I missed something obvious > I was hoping to use an iterative technique but I'm having trouble getting > it running > Is it required to set a forward projection filter? > > The relevant code is: > using FDKGPUType = rtk::CudaIterativeFDKConeBeamReconstructionFilter; > FDKGPUType::Pointer feldkamp = FDKGPUType::New(); > feldkamp->SetInput(0, constantImageSource2->GetOutput()); //Reconstruction > Volume > feldkamp->SetInput(1, reader->GetOutput()); //Projection Images > feldkamp->SetGeometry(geometry); > > I get an error here: > Exception thrown: read access violation. > this->m_ForwardProjectionFilter.m_Pointer was nullptr. > On line 121 of rtkIterativeFDKConeBeamReconstructionFilter.hxx > > This looks like it doesn't set a forward projection filter by default. I'm > struggling a bit to get the format for setting this correct > > Thanks for the help! > Ben > _______________________________________________ > Rtk-users mailing list > Rtk-users@public.kitware.com > https://public.kitware.com/mailman/listinfo/rtk-users >
_______________________________________________ Rtk-users mailing list Rtk-users@public.kitware.com https://public.kitware.com/mailman/listinfo/rtk-users