Hi Simon,

Thanks! Updating to a newer release of RTK did the trick

Best,
Ben
________________________________
From: Simon Rit <[email protected]>
Sent: Thursday, June 11, 2020 9:20 AM
To: Benjamin W. Maloney <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: [Rtk-users] Iterative Reconstruction inputs

Hi Ben,
This should have been fixed since this 
commit<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSimonRit%2FRTK%2Fcommit%2F2c8ae75f3d23dd6174f4bf707217e5cfc2b7e799&data=02%7C01%7CBenjamin.W.Maloney.TH%40dartmouth.edu%7C21f431af0b8d406cd15808d80e09ff47%7C995b093648d640e5a31ebf689ec9446f%7C0%7C0%7C637274783398931102&sdata=2JECjsqwwo92xZGqrb7Lwwf1dEeo4biIMlrNzbr0%2F2Y%3D&reserved=0>.
 Maybe you can try to upgrade to RTK master?
Otherwise, check the doxygen 
documentation<https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.openrtk.org%2FDoxygen%2Fclasses.html&data=02%7C01%7CBenjamin.W.Maloney.TH%40dartmouth.edu%7C21f431af0b8d406cd15808d80e09ff47%7C995b093648d640e5a31ebf689ec9446f%7C0%7C0%7C637274783398931102&sdata=8dfMtgF4VZwvcPUpVGN7ojdAEzRSms0TiFTgF1fIQ9M%3D&reserved=0>
 or you can check 
here<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSimonRit%2FRTK%2Fblob%2Fmaster%2Finclude%2FrtkGgoFunctions.h%23L309-L338&data=02%7C01%7CBenjamin.W.Maloney.TH%40dartmouth.edu%7C21f431af0b8d406cd15808d80e09ff47%7C995b093648d640e5a31ebf689ec9446f%7C0%7C0%7C637274783398941096&sdata=BdkgS10Ns27%2FuV4xm1YW50y6oSa%2FrWK6a1EgljHlIWY%3D&reserved=0>
 how it's done in the applications.
Simon

On Mon, Jun 8, 2020 at 9:22 PM Benjamin W. Maloney 
<[email protected]<mailto:[email protected]>>
 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
[email protected]<mailto:[email protected]>
https://public.kitware.com/mailman/listinfo/rtk-users<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpublic.kitware.com%2Fmailman%2Flistinfo%2Frtk-users&data=02%7C01%7CBenjamin.W.Maloney.TH%40dartmouth.edu%7C21f431af0b8d406cd15808d80e09ff47%7C995b093648d640e5a31ebf689ec9446f%7C0%7C0%7C637274783398941096&sdata=6kudwf%2B2UVN%2BqlHoq3fifngM9kMnOxYSDy3Mmc9gCn4%3D&reserved=0>
_______________________________________________
Rtk-users mailing list
[email protected]
https://public.kitware.com/mailman/listinfo/rtk-users

Reply via email to