[Rtk-users] Questions about xim / fdk
Simon Rit
simon.rit at creatis.insa-lyon.fr
Mon Mar 16 23:25:15 CET 2026
Hi Greg,
- rtk can convert these files in any ITK file format. Run
rtkprojections -p DIRECTORY -r FILENAME -o test.mha --nolineint
- They are not already dark and flood corrected. See the converting class
https://github.com/RTKConsortium/RTK/blob/main/include/rtkVarianObiRawImageFilter.h#L35-L38
- The FDK output are in 1/length unit. The length unit are a user choice,
so if you set all ditances (spacings in image meta information and lengths
in RTK geometry) in mm, then you reconstruct in 1/mm.
- Conversion to HU requires a linear conversion after calibrating the value
for air and water. We don't do that usually but I believe there is an ITK
filter for this conversion.
- If you want to use a subset of projections, you can use our tool
rtksubselect :
srit at srit-Precision-5480:~$ rtksubselect -h
RTK 2.7.0, git hash 5e5929a510fc5940dccba9a96eec70aa6597f2fc
Subselects a few projections from a list of projection files and a geometry
file.
Usage: RTK [OPTIONS]... [FILES]...
-h, --help Print help and exit
-V, --version Print version and exit
-v, --verbose Verbose execution (default=off)
-g, --geometry=STRING XML geometry file name
--out_geometry=STRING Output geometry file name
--out_proj=STRING Output projections stack file name
-f, --first=INT First projection index (default=`0')
-l, --last=INT Last projection index
-s, --step=INT Step between projections (default=`1')
--list=INT List of projection indices to keep (0-based)
Good luck with all this,
Simon
On Mon, Mar 16, 2026 at 7:51 PM Sharp, Gregory C. <gcsharp at mgb.org> wrote:
> Hi all, I have a few questions:
>
> Is there any viewer for these files and/or can I convert them into mha?
>
> Are the xim files already dark and flood corrected?
>
> What are the units for the fdk output? Can they be scaled into something
> like HU?
>
> Is there a way to specify subsets of gantry angles to be used in the fdk
> recon?
>
> Thank you,
> Greg
>
> The information in this e-mail is intended only for the person to whom it
> is addressed. If you believe this e-mail was sent to you in error and the
> e-mail contains patient information, please contact the Mass General
> Brigham Compliance HelpLine at
> https://www.massgeneralbrigham.org/complianceline <
> https://www.massgeneralbrigham.org/complianceline> .
> Please note that this e-mail is not secure (encrypted). If you do not
> wish to continue communication over unencrypted e-mail, please notify the
> sender of this message immediately. Continuing to send or respond to
> e-mail after receiving this message means you understand and accept this
> risk and wish to continue to communicate over unencrypted e-mail.
>
>
> _______________________________________________
> Rtk-users mailing list
> rtk-users at openrtk.org
> https://www.creatis.insa-lyon.fr/mailman/listinfo/rtk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/rtk-users/attachments/20260316/935edfaa/attachment-0001.htm>
More information about the Rtk-users
mailing list