# Create a Draw tube and move it

**URL:** <https://discourse.slicer.org/t/create-a-draw-tube-and-move-it/13856>\
**Category:** Support\
**Created:** [October 4, 2020, 9:29pm UTC](https://discourse.slicer.org/t/create-a-draw-tube-and-move-it/13856 "2020-10-04T21:29:56Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hamid](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@Hamid](https://discourse.slicer.org/u/Hamid)\
**Post date:** [October 4, 2020, 9:29pm UTC](https://discourse.slicer.org/t/create-a-draw-tube-and-move-it/13856/1 "2020-10-04T21:29:56Z")

</div>

I created a tube using Draw tube, I want to move it to connect to another part.How can I move it?

---

<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 4, 2020, 11:26pm UTC](https://discourse.slicer.org/t/create-a-draw-tube-and-move-it/13856/2 "2020-10-04T23:26:53Z")

</div>

You can click Edit button in Draw tube effect options to edit the control points, then you can repaint the tube into the selected segment.

---

<div class="post-metadata">

**Author:** ![Hamid](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@Hamid](https://discourse.slicer.org/u/Hamid)\
**Post date:** [October 26, 2020, 3:28pm UTC](https://discourse.slicer.org/t/create-a-draw-tube-and-move-it/13856/3 "2020-10-26T15:28:26Z")

</div>

What is the difference between labelmap and Model?!

---

<div class="post-metadata">

**Author:** ![Hamid](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@Hamid](https://discourse.slicer.org/u/Hamid)\
**Post date:** [October 27, 2020, 4:28pm UTC](https://discourse.slicer.org/t/create-a-draw-tube-and-move-it/13856/4 "2020-10-27T16:28:48Z")

</div>

I gave a 5mm thickness to my model, but when I measure it by using ruler it says 3 mm!!! which one should I rely on?

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [October 27, 2020, 4:35pm UTC](https://discourse.slicer.org/t/create-a-draw-tube-and-move-it/13856/5 "2020-10-27T16:35:51Z")

</div>

@hamid Can you provide screenshots of what you are measuring? The model is used to generate the labelmap. The model is in continuous space while the labelmap is in discrete space so what the model shows is not going to generate a labelmap that is exactly the same.

---

<div class="post-metadata">

**Author:** ![Hamid](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@Hamid](https://discourse.slicer.org/u/Hamid)\
**Post date:** [October 27, 2020, 4:44pm UTC](https://discourse.slicer.org/t/create-a-draw-tube-and-move-it/13856/6 "2020-10-27T16:44:26Z")

</div>

![Aorta thickness](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/2/220290a322137a051952e8e1b062d2e2da0fd35e.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:** [October 27, 2020, 4:45pm UTC](https://discourse.slicer.org/t/create-a-draw-tube-and-move-it/13856/7 "2020-10-27T16:45:33Z")

</div>

The model and labelmap should be very close (you can reduce surface smoothing to make them more similar).

You may see significant differences between the size that you request for brush size, tube radius, shell thickness, etc. and the actual size that can be represented in the labelmap at the current resolution. If you find that this difference is too large then you can increase the resolution of the segmentation (at the cost of increased memory usage and computation time).

---

<div class="post-metadata">

**Author:** ![Hamid](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@Hamid](https://discourse.slicer.org/u/Hamid)\
**Post date:** [October 27, 2020, 4:45pm UTC](https://discourse.slicer.org/t/create-a-draw-tube-and-move-it/13856/8 "2020-10-27T16:45:54Z")

</div>

This is the thickness that I set for 5mm but it says around 2mm for descending Aorta

---

<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 27, 2020, 4:47pm UTC](https://discourse.slicer.org/t/create-a-draw-tube-and-move-it/13856/9 "2020-10-27T16:47:49Z")

</div>

Are you using latest stable release (Slicer-4.11.20200930)?

---

<div class="post-metadata">

**Author:** ![Hamid](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@Hamid](https://discourse.slicer.org/u/Hamid)\
**Post date:** [October 27, 2020, 5:31pm UTC](https://discourse.slicer.org/t/create-a-draw-tube-and-move-it/13856/10 "2020-10-27T17:31:18Z")

</div>

![2020](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/e/6e7fa022e6fda99ab90ed1a39658a37eb483b10f.jpeg)  
I am using this version!

---

<div class="post-metadata">

**Author:** ![Hamid](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@Hamid](https://discourse.slicer.org/u/Hamid)\
**Post date:** [October 27, 2020, 5:32pm UTC](https://discourse.slicer.org/t/create-a-draw-tube-and-move-it/13856/11 "2020-10-27T17:32:14Z")

</div>

Many thanks to you James!

---

<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:** [November 5, 2020, 9:02pm UTC](https://discourse.slicer.org/t/create-a-draw-tube-and-move-it/13856/13 "2020-11-05T21:02:17Z")

</div>

A post was split to a new topic: [DICOM browser hangs](https://discourse.slicer.org/t/dicom-browser-hangs/14452)

---

<div class="post-metadata">

**Author:** ![Hamid](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@Hamid](https://discourse.slicer.org/u/Hamid)\
**Post date:** [October 28, 2020, 1:11am UTC](https://discourse.slicer.org/t/create-a-draw-tube-and-move-it/13856/14 "2020-10-28T01:11:43Z")

</div>

Thank you @lassoan, How can I increase the resolution of the segmentation?

---

<div class="post-metadata">

**Author:** ![Hamid](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@Hamid](https://discourse.slicer.org/u/Hamid)\
**Post date:** [November 5, 2020, 5:58pm UTC](https://discourse.slicer.org/t/create-a-draw-tube-and-move-it/13856/15 "2020-11-05T17:58:28Z")

</div>

I need to extend the three arch branches to some extent.But the Slicer dose NOT allowed me to draw tube or … outside the magenta cubic from the top side ‘S’!  
Is there any way to do this?

 ![Screenshot](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/c/dc5c8d628a2ae71c2c53040a827b8ccfe61e39d6.png)

---

<div class="post-metadata">

**Author:** ![manjula](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/manjula/32/80981_2.png) [@manjula](https://discourse.slicer.org/u/manjula)\
**Post date:** [November 5, 2020, 6:45pm UTC](https://discourse.slicer.org/t/create-a-draw-tube-and-move-it/13856/16 "2020-11-05T18:45:42Z")

</div>

You need to create an empty volume above that space as it is the limit of your volume.

There may be other more elegant ways of doing this but one that comes to my mind is to draw a ROI box to include your current volume and extend it up to the excess space you want and then crop it using the crop module. (you can specify the fill value for this newly created space in the crop volume)

 ![Screenshot from 2020-11-05 19-48-56](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/0/006b54a3f006af986d21680cb634ae32df82e26a.png)  
 ![Screenshot from 2020-11-05 19-52-16](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/5/8/581ef79ffd20e95f2e04804e686a991485e2e864.png)

---

<div class="post-metadata">

**Author:** ![Hamid](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@Hamid](https://discourse.slicer.org/u/Hamid)\
**Post date:** [November 6, 2020, 9:12pm UTC](https://discourse.slicer.org/t/create-a-draw-tube-and-move-it/13856/17 "2020-11-06T21:12:31Z")

</div>

Thank you so much manjula,  
I tried to make ROI volume and then extend the three branches to some extent but the extended parts (inside the new volume and outside of the origin volume) do NOT show up.Would you please help me to make a ROI volume?Mabe I have not made the ROI correctly.  
Should I go to the volume rendering to make the ROI and then using segment editor to lengthen 3 branches?

---

<div class="post-metadata">

**Author:** ![manjula](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/manjula/32/80981_2.png) [@manjula](https://discourse.slicer.org/u/manjula)\
**Post date:** [November 6, 2020, 10:57pm UTC](https://discourse.slicer.org/t/create-a-draw-tube-and-move-it/13856/18 "2020-11-06T22:57:15Z")

</div>

I believe you must have not selected the newly cropped volume in the segment editor?

---

<div class="post-metadata">

**Author:** ![Hamid](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@Hamid](https://discourse.slicer.org/u/Hamid)\
**Post date:** [November 7, 2020, 1:51am UTC](https://discourse.slicer.org/t/create-a-draw-tube-and-move-it/13856/19 "2020-11-07T01:51:01Z")

</div>

I choose the cropped volume in segment editor and when I reload the .mrml file(the previous lumen) and new cropped volume(.nrrd file) together the extended branches (using Draw Tube) do not show up in cropped volume!!!  
But when I reload just the .nrrd file , the Draw Tube works on it.

---

<div class="post-metadata">

**Author:** ![Hamid](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@Hamid](https://discourse.slicer.org/u/Hamid)\
**Post date:** [November 7, 2020, 2:16am UTC](https://discourse.slicer.org/t/create-a-draw-tube-and-move-it/13856/20 "2020-11-07T02:16:45Z")

</div>

Moreover I need to merge these two together and make a thick shell

---

<div class="post-metadata">

**Author:** ![manjula](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/manjula/32/80981_2.png) [@manjula](https://discourse.slicer.org/u/manjula)\
**Post date:** [November 7, 2020, 12:27pm UTC](https://discourse.slicer.org/t/create-a-draw-tube-and-move-it/13856/21 "2020-11-07T12:27:33Z")

</div>

I still think you are working in different segments with different volumes.

You can combine the two segments with the logical operators in the segment editor.

[Next page](https://discourse.slicer.org/t/create-a-draw-tube-and-move-it/13856.md?page=2)
