[Rtk-users] geometryReader->GetOutputObject() number of input files

Marc Vila Oliva marc.vila-oliva at creatis.insa-lyon.fr
Mon Jun 10 12:34:38 EDT 2013


Hello Laura, 

I was checking your geometry file (geometry.xml) and it seems fine for
me, according to your prior description. 

15 projections along 360°

You have the first projections at 0°, then the 2nd at 24° and so on. 

What were you expecting?

Cheers, 
Marc

On Mon, 2013-06-10 at 18:25 +0200, Laura Trubuil wrote:
> Hi Simon, 
> What I am referring to is not really an example sorry. 
> I am referring to the directory applications/rtkbackprojections. Using
> the rtksimulatedgeometry.exe and then the rtkbackprojections.exe
> (giving them the right parameters -o output.mha  -p ... etc), I
> perform reconstruction.
> 
> I am studying the rtkbackprojections.cxx file in debug mode. I wanted
> to know exactly what was generated by the
> geometryReader->GetOutputObject() 
> in the line      
> bp->SetGeometry( geometryReader->GetOutputObject() );
> 
> So I typed :
> rtk::BackProjectionImageFilter<OutputImageType,
> OutputImageType>::GeometryPointer geometryreaderOutputObject =
> geometryReader->GetOutputObject();
> 
> and looked inside my geometryreaderOutputObject.
> 
> You can find attached my geometry.xml file.
> 
> Regards,
> 
> Laura
> 
> 
> Le 10/06/2013 18:11, Simon Rit a écrit :
> 
> > Hi Laura,
> > Can you be a bit more specific on which example you are referring to?
> > You seem to be using the geometry reader, maybe you could provide the
> > geometry xml file.
> > Thanks,
> > Simon
> > 
> > On Mon, Jun 10, 2013 at 5:44 PM, Laura Trubuil
> > <laura.trubuil at mail.medecom.fr> wrote:
> > > Dear RTK users,
> > > I am studiying the rtkbackprojections application example. While looking at
> > > it in debug mode, I found something I cannot explain.
> > > The data I study, generated by geometryReader->GetOutputObject(), should
> > > tell me I have 15 projections.
> > > The gantry angle should be between 0 and 360°, and each step 24°.
> > > But,  if I look at the object generated, the gantry angle starts at 0, then
> > > goes until the 14th projection to 360°... And then do it again from the 15th
> > > to 29th. I finally have 2 series of projections (30 instead of 15). Why?
> > > 
> > > Regards,
> > > 
> > > Laura
> > > 
> > > _______________________________________________
> > > Rtk-users mailing list
> > > Rtk-users at openrtk.org
> > > http://public.kitware.com/cgi-bin/mailman/listinfo/rtk-users
> 
> _______________________________________________
> Rtk-users mailing list
> Rtk-users at openrtk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/rtk-users





More information about the Rtk-users mailing list