# Optimizing resolution and spacing parameters in Plastimatch DRR

**URL:** <https://discourse.slicer.org/t/optimizing-resolution-and-spacing-parameters-in-plastimatch-drr/25873>\
**Category:** Support\
**Created:** [October 24, 2022, 7:45pm UTC](https://discourse.slicer.org/t/optimizing-resolution-and-spacing-parameters-in-plastimatch-drr/25873 "2022-10-24T19:45:50Z")\
**Posts on this page:** 6\
**Page:** 4

<div class="post-metadata">

**Author:** ![Mik](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@Mik](https://discourse.slicer.org/u/Mik)\
**Post date:** [February 11, 2023, 7:02am UTC](https://discourse.slicer.org/t/optimizing-resolution-and-spacing-parameters-in-plastimatch-drr/25873/61 "2023-02-11T07:02:55Z")

</div>

Can you share a scene (CT, plan, beam, markups) so i can check?

---

<div class="post-metadata">

**Author:** ![Mik](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@Mik](https://discourse.slicer.org/u/Mik)\
**Post date:** [February 11, 2023, 7:54am UTC](https://discourse.slicer.org/t/optimizing-resolution-and-spacing-parameters-in-plastimatch-drr/25873/62 "2023-02-11T07:54:35Z")

</div>

Do you have examples of markups for which projections are accurate or miscalculated? For example `Markup_1` projection is correct, `Markup_2` projection is wrong.

---

<div class="post-metadata">

**Author:** ![fieldr4](https://avatars.discourse-cdn.com/v4/letter/f/439d5e/32.png) [@fieldr4](https://discourse.slicer.org/u/fieldr4)\
**Post date:** [March 8, 2023, 3:47am UTC](https://discourse.slicer.org/t/optimizing-resolution-and-spacing-parameters-in-plastimatch-drr/25873/63 "2023-03-08T03:47:24Z")

</div>

Fortunately, I can’t reproduce the error that I reported 25 days ago. I tried with two different beams on the same CT and the projected points appeared as expected on the DRR.

The only remaining peculiarity is that the beam’s isocenter appears outside of the input volume. How can I send the .mrml file with the markups, plan, and beams? The CT is file 629 from VerSe 2020.

---

<div class="post-metadata">

**Author:** ![Mik](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@Mik](https://discourse.slicer.org/u/Mik)\
**Post date:** [March 9, 2023, 10:12am UTC](https://discourse.slicer.org/t/optimizing-resolution-and-spacing-parameters-in-plastimatch-drr/25873/64 "2023-03-09T10:12:22Z")

</div>

> [@fieldr4](#):
>
> How can I send the .mrml file with the markups, plan, and beams?

File → Save Data → set the flag “Create a Medical Record Bungle containing the scene” so everything were in one file (.mbr).

You can send it to me by e-mail (see account info) if file isn’t large, or just share that file on onedrive or google drive.

---

<div class="post-metadata">

**Author:** ![RIM\_ZAMZAMI](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rim_zamzami/32/67067_2.png) [@RIM\_ZAMZAMI](https://discourse.slicer.org/u/RIM_ZAMZAMI)\
**Post date:** [August 4, 2023, 10:52am UTC](https://discourse.slicer.org/t/optimizing-resolution-and-spacing-parameters-in-plastimatch-drr/25873/65 "2023-08-04T10:52:24Z")

</div>

i’m trying ti convert some CT scans to DRR format but the DRR genaration module does not give me any output can you guys help ?

---

<div class="post-metadata">

**Author:** ![Mik](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@Mik](https://discourse.slicer.org/u/Mik)\
**Post date:** [August 5, 2023, 6:44pm UTC](https://discourse.slicer.org/t/optimizing-resolution-and-spacing-parameters-in-plastimatch-drr/25873/66 "2023-08-05T18:44:32Z")

</div>

The DRR generation module doesn’t convert CT into DRR. It computes DRR images using predefined beam geometry parameters. If you need such sort of functionality it’s doable. See also:

> [@Optimizing resolution and spacing parameters in Plastimatch DRR](https://discourse.slicer.org/t/optimizing-resolution-and-spacing-parameters-in-plastimatch-drr/25873/33):
>
> Did you try the “DRR Image Computation” module from “Radiotherapy” category? You have to create a RtPlan and a RtBeam nodes beforehard in the “External Beam Planning” and “Beams” modules respectively. The “DRR Image Computation” module has better GUI, shows size and orientation of your imager, and shows plastimatch drr command parameters in the “Plastimatch DRR command arguments” subwindow.

[Previous page](https://discourse.slicer.org/t/optimizing-resolution-and-spacing-parameters-in-plastimatch-drr/25873.md?page=3)
