# Save curvature values as nifti (.nii) file

**URL:** https://discourse.vtk.org/t/save-curvature-values-as-nifti-nii-file/12092
**Category:** Support
**Tags:** python
**Created:** [August 3, 2023, 12:09pm UTC](https://discourse.vtk.org/t/save-curvature-values-as-nifti-nii-file/12092 "2023-08-03T12:09:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Kristin](https://discourse.vtk.org/user_avatar/discourse.vtk.org/kristin/32/7563_2.png) [@Kristin](https://discourse.vtk.org/u/Kristin)
#### Post date: [August 3, 2023, 12:09pm UTC](https://discourse.vtk.org/t/save-curvature-values-as-nifti-nii-file/12092/1 "2023-08-03T12:09:17Z")

</div>

Dear all,

I want to save values of the curvature of an object into a nifti (.nii) file. I have a volume object (as stl) which I extracted from a medical image in nifti format using 3D slicer. I computed the curvature values from the object by using vedo/vtk (python) and now I would like to save the results in nifti format, in which the curvature values should be at their correct positions from the original object.

I would be very happy if someone has some ideas to solve that problem. Thank you!
