# Straighten curve and volume in curved mpr

**URL:** https://discourse.slicer.org/t/straighten-curve-and-volume-in-curved-mpr/15398
**Category:** Support
**Tags:** python
**Created:** [January 8, 2021, 4:13am UTC](https://discourse.slicer.org/t/straighten-curve-and-volume-in-curved-mpr/15398 "2021-01-08T04:13:57Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![yee\_lu](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/yee_lu/32/9292_2.png) [@yee\_lu](https://discourse.slicer.org/u/yee_lu)
#### Post date: [January 8, 2021, 4:13am UTC](https://discourse.slicer.org/t/straighten-curve-and-volume-in-curved-mpr/15398/1 "2021-01-08T04:13:57Z")

</div>

hello everyone! When i use curved planner reformat and I straighten the curve and volume , I got this:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/c/0cfdd08cbcfb460b2933947177726a6d81e0e0bf.png)  
How can I get a regular line?  
Thanks in advance.

---

<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: [January 8, 2021, 10:20pm UTC](https://discourse.slicer.org/t/straighten-curve-and-volume-in-curved-mpr/15398/2 "2021-01-08T22:20:11Z")

</div>

This probably happens because the mapping between the original and straightened volumes is ambiguous. See instructions for how to set reformatting parameters to avoid this:

> **[PerkLab/SlicerSandbox - Adjust reformatting parameters for robust mapping](https://github.com/PerkLab/SlicerSandbox#adjust-reformatting-parameters-for-robust-mapping)**
>
> Collection of utilities that are not polished implementations but can be useful to users
