# Curved planar reformat creates empty volume?

**URL:** <https://discourse.slicer.org/t/curved-planar-reformat-creates-empty-volume/20001>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [October 4, 2021, 7:36pm UTC](https://discourse.slicer.org/t/curved-planar-reformat-creates-empty-volume/20001 "2021-10-04T19:36:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rsulser](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rsulser/32/77777_2.png) [@rsulser](https://discourse.slicer.org/u/rsulser)\
**Post date:** [October 4, 2021, 7:36pm UTC](https://discourse.slicer.org/t/curved-planar-reformat-creates-empty-volume/20001/1 "2021-10-04T19:36:55Z")

</div>

Operating system: Windows 10 (20H2)  
Slicer version: 4.11.20210226  
Expected behavior: Curved planar reformat creates reformatted volume file  
Actual behavior: Volume file created but appears to be empty (with no density curves recovered)

Hello all -

Wondering if anyone with experience with curved planar reformat might be able to lend a hand here?

I seem to be unable to reformat along the centerline of an (admittedly rough) model of a nerve trackway. I’ve extracted a centerline through the “Extract Centerline” tool and all appears to be in order, but the resulting volume (hopefully attached in screenshots and in MOBI [at this link](https://www.dropbox.com/sh/u9lwrl39h1iakp1/AABEPh9Qru9HNBa-ugqPGIPDa?dl=0)) appears to be empty, and unless I’m missing something, inspection of the histogram yields no discernable curve.

 ![Screenshot 2021-10-04 144626](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/0/40beaa24958a323b832be46b69d90dd184643781.png)  
 ![Screenshot 2021-10-04 144540](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/8/485e9a891f003ba9328c4d30c193521462bb0691.png)  
 ![Screenshot 2021-10-04 144431](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/8/480e2a1ca815e783becdc34b8e824ff0b33ac3c6.jpeg)

I’ve used this extension in other projects with success, and I’m not sure what might make this volume and/or structure different. Perhaps the curve is too complex, or there’s some option I’m forgetting to switch? Any help in troubleshooting would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [October 5, 2021, 6:29pm UTC](https://discourse.slicer.org/t/curved-planar-reformat-creates-empty-volume/20001/2 "2021-10-05T18:29:17Z")

</div>

Thanks for reporting this. The problem is that the input volume is transformed and Curved Planar Reformat module ignores parent transform of the input volume, see:

> <https://github.com/PerkLab/SlicerSandbox/issues/9>
>
> See https://discourse.slicer.org/t/curved-planar-reformat-module-results-inaccur…ate/16590

The easiest workaround is to harden the transform on the volume.

---

<div class="post-metadata">

**Author:** ![rsulser](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rsulser/32/77777_2.png) [@rsulser](https://discourse.slicer.org/u/rsulser)\
**Post date:** [October 5, 2021, 8:25pm UTC](https://discourse.slicer.org/t/curved-planar-reformat-creates-empty-volume/20001/3 "2021-10-05T20:25:01Z")

</div>

Ah, thanks for the help! I hardened the transform and the Planar Reformat worked just fine. I will keep this in mind for future uses of the module!

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [October 5, 2021, 8:28pm UTC](https://discourse.slicer.org/t/curved-planar-reformat-creates-empty-volume/20001/4 "2021-10-05T20:28:41Z")

</div>

Great, thanks for the feedback.

We’ll fix this limitation of the module soon.
