[Rtk-users] Is there a way to signal to rtk-ProjectionsReader that RawImage has files and columns transposed?

Andreas Andersen andreasga22 at gmail.com
Mon May 16 22:06:48 UTC 2022


Be careful with your type conversions:
Unary minus on an unsigned integer:

const float angle = -i;

Integer division:

-detPitchU * detSizeU / 2

Are you sure the results of these calculations are correct?

__________________________________

Andreas Gravgaard Andersen

8000, Aarhus C

Mail:     andreasga22 at gmail.com

Cell:      +45 3165 8140

https://calendly.com/agravgaard


On Mon, 16 May 2022 at 17:04, Fernando Hueso González <fernando.hueso at uv.es>
wrote:

> Hi Simon, thanks for the swift reply.
>
> > No, there is no way to transpose your projections. It should be fairly
> > easy to add (in the ProjectionsReader) or to do it before hand with
> > itk. Any contribution to RTK is welcomed.
> Sounds good, I will take a look and see if I can provide a PR.
> > Now, I'm not sure I follow the long explanation. Is the reconstruction
> > transposed or the projections? If it's the former, so what you really
> > want is to transpose the reconstructed volume. You can do this by
> > setting a rotation matrix to the reconstructed volume with the
> > --direction option of rtkfdk.
>
> Well, the reconstructed volume looks transposed, but it also looks
> completely messed up (everything appears double, etc.), so rotating the
> output wouldn't solve it. Because the reconstruction in MATLAB works
> well, and I know the geometry parameters accurately, I concluded that
> the problem is with the projections themself (also inspired by the fact
> that in MATLAB, I need to use the second coordinate, not the first one).
> It is not completely clear to me a priori what orientation files-columns
> should have based on http://www.openrtk.org/Doxygen/DocGeo3D.html, so I
> made this hypothesis based on the final reconstructed results.
>
>
> Thanks and best regards,
> Fernando.
>
> _______________________________________________
> Rtk-users mailing list
> Rtk-users at public.kitware.com
> https://public.kitware.com/cgi-bin/mailman/listinfo/rtk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/rtk-users/attachments/20220517/cc241e8b/attachment.htm>


More information about the Rtk-users mailing list