Skip to content

FDK and ProjOp for RTK#2314

Open
epapoutsellis wants to merge 1 commit into
TomographicImaging:masterfrom
epapoutsellis:cil_rtk
Open

FDK and ProjOp for RTK#2314
epapoutsellis wants to merge 1 commit into
TomographicImaging:masterfrom
epapoutsellis:cil_rtk

Conversation

@epapoutsellis
Copy link
Copy Markdown
Contributor

@epapoutsellis epapoutsellis commented Apr 23, 2026

Description

CIL Wrapper for RTK: The Reconstruction ToolKit

  • FDK (3D-CPU)
  • FDK (3D-GPU)
  • ProjectionOperator (Cone)

@SimonRit, I would really appreciate your help for the RTK part and syntax.

Example Usage

Need to run bash scripts/create_local_env_for_cil_development.sh -t without

  • ipp'>=2021.10'
  • ipp-devel'>=2021.10'
  • ipp-include'>=2021.10'
    and
pip install --no-deps .
python -m pip install itk-rtk
import os
from cil.io import ZEISSDataReader
from cil.plugins.rtk import FDK
from cil.processors import TransmissionAbsorptionConverter, Slicer, Binner

path = 'valnut/valnut_2014-03-21_643_28/tomo-A'
filename = os.path.join(path, "valnut_tomo-A.txrm")
data3D = ZEISSDataReader(file_name=filename).read()

binned_data = Slicer(roi={'angle':(0,1600,2)})(data3D)
binned_data = Binner(roi={'vertical':(None,None,2), 'horizontal':(None,None,2)}, accelerated=False)(binned_data)
absorption_data = TransmissionAbsorptionConverter()(binned_data) 

ag3D = absorption_data.geometry
ig3D = ag3D.get_ImageGeometry()

fdk_recon = FDK(ig3D, ag3D)(absorption_data)

test

See also CIL-RTK demo

Contribution Notes

  • The content of this Pull Request (the Contribution) is intentionally submitted for inclusion in CIL (the Work) under the terms and conditions of the Apache-2.0 License
  • I confirm that the contribution does not violate any intellectual property rights of third parties

❤️ Thanks for your contribution!

@lauramurgatroyd
Copy link
Copy Markdown
Member

Hi @epapoutsellis, thanks for your PR. Can we convert this to a draft for now whilst you're still working on FDK (3D-GPU) and
ProjectionOperator (Cone)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants