# Crop in harden transform of labels

**URL:** <https://discourse.slicer.org/t/crop-in-harden-transform-of-labels/1062>\
**Category:** Support\
**Tags:** registration\
**Created:** [September 15, 2017, 4:27pm UTC](https://discourse.slicer.org/t/crop-in-harden-transform-of-labels/1062 "2017-09-15T16:27:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pwang](https://avatars.discourse-cdn.com/v4/letter/p/73ab20/32.png) [@pwang](https://discourse.slicer.org/u/pwang)\
**Post date:** [September 15, 2017, 4:27pm UTC](https://discourse.slicer.org/t/crop-in-harden-transform-of-labels/1062/1 "2017-09-15T16:27:08Z")

</div>

Operating system: Windows7  
Slicer version:4.7.0  
The label is transformed normally by Transforms function. However, when it is hardened, the bottom part of the label is cut off. Please see the pictures of before the hardening and after. Thanks. ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/0/9066c2aad8460d44a98efbbb6fae86fb324ebe3e.jpeg) ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/2/82d75f9215b81bbcca66a357e2b591ae9653c3e2.jpeg)

---

<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:** [September 15, 2017, 5:52pm UTC](https://discourse.slicer.org/t/crop-in-harden-transform-of-labels/1062/2 "2017-09-15T17:52:26Z")

</div>

Voxel grid of the volume is not changed when you harden the transform, so deformation moves out structures from the original extent of the volume then it’ll be cropped. I’ve added a feature request to automatically extend the volume ([https://issues.slicer.org/view.php?id=4433](https://issues.slicer.org/view.php?id=4433)).

Until this new feature is implemented, you can use the crop volume to define a region that includes the deformed volume entirely module and apply the transform.

---

<div class="post-metadata">

**Author:** ![pwang](https://avatars.discourse-cdn.com/v4/letter/p/73ab20/32.png) [@pwang](https://discourse.slicer.org/u/pwang)\
**Post date:** [September 15, 2017, 10:35pm UTC](https://discourse.slicer.org/t/crop-in-harden-transform-of-labels/1062/3 "2017-09-15T22:35:55Z")

</div>

Thank you. I expanded the contours and it should solve my problem.
