# \#rtk

**URL:** https://discourse.itk.org/tag/rtk/63.md

[Latest](https://discourse.itk.org/latest.md) · [Categories](https://discourse.itk.org/categories.md) · [Tags](https://discourse.itk.org/tags.md)

---

## [If I want to use rtkLagCorrectionImageFilterfor correction, are there any materials I can refer to?](https://discourse.itk.org/t/if-i-want-to-use-rtklagcorrectionimagefilterfor-correction-are-there-any-materials-i-can-refer-to/7630)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 4\
**Last updated:** [September 15, 2025, 3:37pm UTC](https://discourse.itk.org/t/if-i-want-to-use-rtklagcorrectionimagefilterfor-correction-are-there-any-materials-i-can-refer-to/7630 "2025-09-15T15:37:23Z")

</div>

If I want to use rtkLagCorrectionImageFilter for correction, are there any materials I can refer to?How can I obtain the parameters for: -a, --rates=FLOAT Lag rates (a0, a1, a2, a3) -c, --coefficients=FLOAT Lag coeffic…

---

## [Not able to get RTK speedups on GPU](https://discourse.itk.org/t/not-able-to-get-rtk-speedups-on-gpu/7507)

<div class="topic-metadata">

**Author:** [@whitaker](https://discourse.itk.org/u/whitaker)\
**Replies:** 11\
**Last updated:** [July 28, 2025, 9:24pm UTC](https://discourse.itk.org/t/not-able-to-get-rtk-speedups-on-gpu/7507 "2025-07-28T21:24:47Z")

</div>

Hi. I am using RTK to do iterative reconstruction. Everything seems to be working, except when trying to run things on the GPU. Everything compiles fine and it runs. However, when the GPU-compiled programs run, they …

---

## [RTK ProjectionsReader Blank Images](https://discourse.itk.org/t/rtk-projectionsreader-blank-images/7501)

<div class="topic-metadata">

**Author:** [@OwenM](https://discourse.itk.org/u/OwenM)\
**Replies:** 3\
**Last updated:** [April 23, 2025, 10:56pm UTC](https://discourse.itk.org/t/rtk-projectionsreader-blank-images/7501 "2025-04-23T22:56:13Z")

</div>

Hello, Thanks in advance for any help with this issue. I have been trying to reconstruct a series of 2D CBCT projections stored in TIFFs using RTK FDK. I started with the Python first reconstruction example and got it …

---

## [about the RTK circular projection geometric calibration](https://discourse.itk.org/t/about-the-rtk-circular-projection-geometric-calibration/7195)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 13\
**Last updated:** [February 19, 2025, 5:23am UTC](https://discourse.itk.org/t/about-the-rtk-circular-projection-geometric-calibration/7195 "2025-02-19T05:23:37Z")

</div>

I have a set of images of a phantom with steel balls, and I have extracted the coordinates of the steel balls. In total, there are 845 images, and I have tracked the coordinates of each steel ball. Currently, the known q…

---

## [Can't compile RTK Python Wrapper - How do other ITK Modules address this exporting problem?](https://discourse.itk.org/t/cant-compile-rtk-python-wrapper-how-do-other-itk-modules-address-this-exporting-problem/5534)

<div class="topic-metadata">

**Author:** [@eric](https://discourse.itk.org/u/eric)\
**Replies:** 4\
**Last updated:** [January 19, 2025, 3:07pm UTC](https://discourse.itk.org/t/cant-compile-rtk-python-wrapper-how-do-other-itk-modules-address-this-exporting-problem/5534 "2025-01-19T15:07:31Z")

</div>

Hi Everyone, I hope this is the right place to have this discussion. I’ve been trying to compile RTK with Cuda and Python wrapping on windows for a while and the last time I tried, I was suggested to just disable the p…

---

## [How to use filter function (or other types of functions) in RTK to improve the quality of 3D reconstructed images?](https://discourse.itk.org/t/how-to-use-filter-function-or-other-types-of-functions-in-rtk-to-improve-the-quality-of-3d-reconstructed-images/7314)

<div class="topic-metadata">

**Author:** [@zhangxiang](https://discourse.itk.org/u/zhangxiang)\
**Replies:** 8\
**Last updated:** [November 18, 2024, 8:17am UTC](https://discourse.itk.org/t/how-to-use-filter-function-or-other-types-of-functions-in-rtk-to-improve-the-quality-of-3d-reconstructed-images/7314 "2024-11-18T08:17:35Z")

</div>

2d image: 3d image: The stent of this bronchial model can be seen in the 3D image. PARAMETERS: SDD=842mm, SID=455mm. image size=768×768, pixelsize=0.56×0.56. numbers of image=889. The code I use is : .\\rtks…

---

## [about AddProjection(const HomogeneousProjectionMatrixType & pMat)](https://discourse.itk.org/t/about-addprojection-const-homogeneousprojectionmatrixtype-pmat/7232)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 2\
**Last updated:** [September 24, 2024, 12:18pm UTC](https://discourse.itk.org/t/about-addprojection-const-homogeneousprojectionmatrixtype-pmat/7232 "2024-09-24T12:18:41Z")

</div>

WARNING: In D:\\rtk\\RTK-2.4.1\\src\\rtkThreeDCircularProjectionGeometry.cxx, line 358 DataObject (000001DBC37F0C40): Failed to AddProjection What does this error mean?

---

## [Help regarding RTK geometric projection](https://discourse.itk.org/t/help-regarding-rtk-geometric-projection/7225)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 4\
**Last updated:** [September 18, 2024, 3:40pm UTC](https://discourse.itk.org/t/help-regarding-rtk-geometric-projection/7225 "2024-09-18T15:40:58Z")

</div>

I have calculated the projection matrix and verified the re-projection to confirm there are no issues. However, when I tried to add the calculated matrix using AddProjection, I encountered an error: WARNING: In D:\\rtk\\RT…

---

## [about rtk::ParkerShortScanImageFilter\<OutputImageType\>](https://discourse.itk.org/t/about-rtk-parkershortscanimagefilter-outputimagetype/7203)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 2\
**Last updated:** [September 4, 2024, 10:05am UTC](https://discourse.itk.org/t/about-rtk-parkershortscanimagefilter-outputimagetype/7203 "2024-09-04T10:05:35Z")

</div>

What is the purpose of the SetAngularGapThreshold method? Why does the reconstruction quality seem better when it is not set compared to when it is set?

---

## [Does RTK support parallel beam CT reconstruction?](https://discourse.itk.org/t/does-rtk-support-parallel-beam-ct-reconstruction/7193)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 2\
**Last updated:** [August 29, 2024, 4:15pm UTC](https://discourse.itk.org/t/does-rtk-support-parallel-beam-ct-reconstruction/7193 "2024-08-29T16:15:06Z")

</div>

…1

---

## [generate rtk wheels](https://discourse.itk.org/t/generate-rtk-wheels/6668)

<div class="topic-metadata">

**Author:** [@zhangm](https://discourse.itk.org/u/zhangm)\
**Replies:** 15\
**Last updated:** [August 2, 2024, 3:12am UTC](https://discourse.itk.org/t/generate-rtk-wheels/6668 "2024-08-02T03:12:41Z")

</div>

In order to reduce the loading time if RTK, I first generate itk wheels by ITKPythonPackage with "-DITK\_WRAP\_IMAGE\_DIMS:STRING=2;3". And then pip install itk-rtk-cuda, but that method will cause the error, so I think I n…

---

## [Speed up the reconstruction](https://discourse.itk.org/t/speed-up-the-reconstruction/6599)

<div class="topic-metadata">

**Author:** [@zhangm](https://discourse.itk.org/u/zhangm)\
**Replies:** 24\
**Last updated:** [July 19, 2024, 6:53pm UTC](https://discourse.itk.org/t/speed-up-the-reconstruction/6599 "2024-07-19T18:53:47Z")

</div>

I use CudaFDK to reconstruction my data, the speed is much faster than using CPU. But I still want to try and make this time shorter. I use Profile on pyCharm to print the time spent by the process like below: Is the…

---

## [Parker Weighting Reconstruction](https://discourse.itk.org/t/parker-weighting-reconstruction/7043)

<div class="topic-metadata">

**Author:** [@zhangm](https://discourse.itk.org/u/zhangm)\
**Replies:** 6\
**Last updated:** [July 12, 2024, 9:04am UTC](https://discourse.itk.org/t/parker-weighting-reconstruction/7043 "2024-07-12T09:04:40Z")

</div>

I have a set of projections from 0° to 210°, take one image at 1°. And I want use CudaParkerShortScanImageFilter to reconstruction it. But there has artifacts because the warning like this: WARNING: In C:\\runner\\\_work\\…

---

## [After compiling the ITK and RTK libraries, cannot use breakpoints to enter the corresponding source code in debug mode](https://discourse.itk.org/t/after-compiling-the-itk-and-rtk-libraries-cannot-use-breakpoints-to-enter-the-corresponding-source-code-in-debug-mode/6660)

<div class="topic-metadata">

**Author:** [@xem123](https://discourse.itk.org/u/xem123)\
**Replies:** 8\
**Last updated:** [June 2, 2024, 2:46am UTC](https://discourse.itk.org/t/after-compiling-the-itk-and-rtk-libraries-cannot-use-breakpoints-to-enter-the-corresponding-source-code-in-debug-mode/6660 "2024-06-02T02:46:14Z")

</div>

Hello everyone,I have a question to ask. I compiled the FFTW library separately before compiling it with ITK. Then, the Build and install processes were completed smoothly without any errors. Then, I placed my project …

---

## [ITK ERROR: CUDA ERROR: out of memory](https://discourse.itk.org/t/itk-error-cuda-error-out-of-memory/6583)

<div class="topic-metadata">

**Author:** [@zhangm](https://discourse.itk.org/u/zhangm)\
**Replies:** 4\
**Last updated:** [April 19, 2024, 12:51am UTC](https://discourse.itk.org/t/itk-error-cuda-error-out-of-memory/6583 "2024-04-19T00:51:35Z")

</div>

My data size is 5.03G with type uint16. When use FDK to reconstrunction the data type will cast into float, so my data size is 10.04G. And my output size set to 1.31G. According to this setting to reconstructing data by …

---

## [Issue with the RTK output generated using a head phantom](https://discourse.itk.org/t/issue-with-the-rtk-output-generated-using-a-head-phantom/6520)

<div class="topic-metadata">

**Author:** [@Navami\_123](https://discourse.itk.org/u/Navami_123)\
**Replies:** 9\
**Last updated:** [March 19, 2024, 12:15pm UTC](https://discourse.itk.org/t/issue-with-the-rtk-output-generated-using-a-head-phantom/6520 "2024-03-19T12:15:36Z")

</div>

Hi, I am trying to reconstruct a CBCT raw data using RTK. I was able to execute the code and generate output, but unfortunately I am facing issues with the output generated. I don’t know if the issue is due to the geome…

---

## [ADMM Reconstruction](https://discourse.itk.org/t/admm-reconstruction/6490)

<div class="topic-metadata">

**Author:** [@zhangm](https://discourse.itk.org/u/zhangm)\
**Replies:** 13\
**Last updated:** [March 8, 2024, 12:46am UTC](https://discourse.itk.org/t/admm-reconstruction/6490 "2024-03-08T00:46:01Z")

</div>

I successfully ran the FirstCudaReconstruction.py file on my project. But sometimes the scanning angle may only be 90 °, and the reconstruction effect using FDK is not good. I checked the rtk and found that ADMM reconstr…

---

## [Issue in ITK-RTK reconstruction with Shepp-Logan phantom](https://discourse.itk.org/t/issue-in-itk-rtk-reconstruction-with-shepp-logan-phantom/6464)

<div class="topic-metadata">

**Author:** [@Navami\_123](https://discourse.itk.org/u/Navami_123)\
**Replies:** 2\
**Last updated:** [February 24, 2024, 8:24am UTC](https://discourse.itk.org/t/issue-in-itk-rtk-reconstruction-with-shepp-logan-phantom/6464 "2024-02-24T08:24:04Z")

</div>

Hi, I was trying to do a comparative study between TIGRE and RTK for which I have extracted the Shepp-Logan Raw projection data from TIGRE and I am trying to reconstruct it in RTK. Initially I tried to read the raw data…

---

## [How to do a standard FDK using itk-rtk in python.](https://discourse.itk.org/t/how-to-do-a-standard-fdk-using-itk-rtk-in-python/6141)

<div class="topic-metadata">

**Author:** [@Victor\_Hu](https://discourse.itk.org/u/Victor_Hu)\
**Replies:** 4\
**Last updated:** [August 19, 2023, 5:54am UTC](https://discourse.itk.org/t/how-to-do-a-standard-fdk-using-itk-rtk-in-python/6141 "2023-08-19T05:54:44Z")

</div>

I’m new to ITK and RTK. I’m so sad since there are not enough docs of RTK (in python). What I want to do is do a simple FDK reconstruction using a number of tif images with some geometry parameters. There are 360 tif fil…

---

## [Errors While launching ITK](https://discourse.itk.org/t/errors-while-launching-itk/6106)

<div class="topic-metadata">

**Author:** [@Roro82](https://discourse.itk.org/u/Roro82)\
**Replies:** 1\
**Last updated:** [July 27, 2023, 6:29pm UTC](https://discourse.itk.org/t/errors-while-launching-itk/6106 "2023-07-27T18:29:56Z")

</div>

Hello everyone, In order to use the RTK software, I tried to create the ITK software thanks to the CMake tool. Therefore, I uploaded the ITK sources in the CMake software after creating two distinct folders for the sour…

---

## [Check that two images are at the same physical location](https://discourse.itk.org/t/check-that-two-images-are-at-the-same-physical-location/5883)

<div class="topic-metadata">

**Author:** [@arobert01](https://discourse.itk.org/u/arobert01)\
**Replies:** 1\
**Last updated:** [April 20, 2023, 2:04pm UTC](https://discourse.itk.org/t/check-that-two-images-are-at-the-same-physical-location/5883 "2023-04-20T14:04:03Z")

</div>

Hello, In itkImageToImageFilter the method VerifyInputInformation check that all the inputs are in the same physical location. When filters do not expect all input images to be at the same physical location, this method…

---

## [How I can use my projection image stack to reconstruct them using RTK](https://discourse.itk.org/t/how-i-can-use-my-projection-image-stack-to-reconstruct-them-using-rtk/3281)

<div class="topic-metadata">

**Author:** [@shaleenanuj](https://discourse.itk.org/u/shaleenanuj)\
**Replies:** 3\
**Last updated:** [September 28, 2022, 8:45am UTC](https://discourse.itk.org/t/how-i-can-use-my-projection-image-stack-to-reconstruct-them-using-rtk/3281 "2022-09-28T08:45:22Z")

</div>

Hello sir, I have projection images taken with a cone-beam source, how using RTK can I reconstruct them. I am new to RTK-ITK. Is there any sample program where I can plug in my data. I am using Python as a platform. I…

---

## [\[solved\] Disable python wrapping for a specific remote module](https://discourse.itk.org/t/solved-disable-python-wrapping-for-a-specific-remote-module/4055)

<div class="topic-metadata">

**Author:** [@eric](https://discourse.itk.org/u/eric)\
**Replies:** 5\
**Last updated:** [April 20, 2021, 11:54pm UTC](https://discourse.itk.org/t/solved-disable-python-wrapping-for-a-specific-remote-module/4055 "2021-04-20T23:54:22Z")

</div>

Hi, I’m trying to compile ITK with the remote module RTK and python wrapping. I’m having issues with building the RTK python wrapper with multiple symbol definition on Windows, I tried tackling it to no avail. In the m…

---

## [How to configure beam characteristics such as filtration](https://discourse.itk.org/t/how-to-configure-beam-characteristics-such-as-filtration/2969)

<div class="topic-metadata">

**Author:** [@isuruwi](https://discourse.itk.org/u/isuruwi)\
**Replies:** 2\
**Last updated:** [April 20, 2020, 7:28pm UTC](https://discourse.itk.org/t/how-to-configure-beam-characteristics-such-as-filtration/2969 "2020-04-20T19:28:16Z")

</div>

I’m currently working on generating DRR image from 3D CT volumes. Is there a way to configure beam characteristics such as filtration ? That is for an example we use a 120kVp beam, and the filtration is given as 16.25m…

---

## [Wrapping array of booleans](https://discourse.itk.org/t/wrapping-array-of-booleans/2236)

<div class="topic-metadata">

**Author:** [@acoussat](https://discourse.itk.org/u/acoussat)\
**Replies:** 4\
**Last updated:** [September 23, 2019, 6:55pm UTC](https://discourse.itk.org/t/wrapping-array-of-booleans/2236 "2019-09-23T18:55:35Z")

</div>

Hi! I am currently working on wrapping an RTK filter which has a bool \* property along with a setter. The wrapped filter properly compiles but the method, when called from a Python script, produces an error (something l…

---

## [ITK to RTK migration, forward projection issues/questions](https://discourse.itk.org/t/itk-to-rtk-migration-forward-projection-issues-questions/2107)

<div class="topic-metadata">

**Author:** [@blacava](https://discourse.itk.org/u/blacava)\
**Replies:** 3\
**Last updated:** [August 1, 2019, 5:13pm UTC](https://discourse.itk.org/t/itk-to-rtk-migration-forward-projection-issues-questions/2107 "2019-08-01T17:13:05Z")

</div>

Hi. I’m trying to port my ITK DRR renderer to RTK to leverage some of the GPU speedups, but the RTK API and output are considerably different from ITK and I’m not getting very far. For instance, here’s a a lateral DRR f…

---

## [ITK 5.0 Release Candidate 2: Spatial Objects](https://discourse.itk.org/t/itk-5-0-release-candidate-2-spatial-objects/1832)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [May 2, 2019, 3:07pm UTC](https://discourse.itk.org/t/itk-5-0-release-candidate-2-spatial-objects/1832 "2019-05-02T15:07:19Z")

</div>

We are happy to announce the Insight Toolkit (ITK) Release Candidate 2! :tada: This will be the final release candidate before the 5.0.0 release, and the community is encouraged to adopt 5.0 RC 2 in ITK-based applicatio…

---

## [\[SOLVED\] Build RTK as external module for another module](https://discourse.itk.org/t/solved-build-rtk-as-external-module-for-another-module/986)

<div class="topic-metadata">

**Author:** [@Gordian](https://discourse.itk.org/u/Gordian)\
**Replies:** 13\
**Last updated:** [June 9, 2018, 9:27pm UTC](https://discourse.itk.org/t/solved-build-rtk-as-external-module-for-another-module/986 "2018-06-09T21:27:26Z")

</div>

Hi, After figuring out how to create a new module I wanted to create some tests for the module using the testdriver provided by the module template. I added an external module (RTK) and this works fine. An error occur…
