Contouring the outer surface of a CT image

Slicer version: 4.10.1
Hi 3D Slicer Experts and all
I have a CT image and I only want to contour its outside surface (like Figure A). I used Draw and Paint in the Segment Editor module. But it includes the inside area, too (Figure B). Also, when I use the Eraser, the outer line isn’t uniform. Is it possible not to do this contouring manually? and can I obtain this outer line?
Thanks a lot

p1

You can use SurfaceWrapSolidify extension to fill internal cavities in a segment.

I use the hollow effect to get what you describing and it gives very good results.You can use the hollow effect first to get the inner or outer surfaces and as Prof Lasso said then use the warpsolodify to fill inside if you want again.

Hi
Thank you very much for your helpful reply. now I have another question. I want to shift the red contour d cm to the Anterior( like the figure) . How can I do this?
If the value of d in each slice be different (di), can I shift the red contour in each slice separately di cm?
Thanks a lot

What do you mean by “shifting” the contour? What would you like to achieve?

What is the clinical application? (maybe we can point to readily available solutions)

Hi
I’m sorry for the delay in reply. I want to design a bolus for a mastectomy patient. In figure C, the following steps seem to have been performed :

First, internal (B) and external (A) contours are defined. Then, the inner contour is shifted to the Anterior. Finally, the difference between the two contours (B-A) is obtained, which its result is Figure D. I want to do exactly the same steps. But I don’t know how to shift the inner contour d cm.
Also, the value of d in each slice is variable (di). Is it possible to shift the internal contour di cm in each slice?
Thanks a lot

BOLUS

BOLUS2

You can shift contours using Margin effect. To create a thick shell over a surface, use Hollow effect (us current segment as inner surface) and remove what is not needed using Scissors effect (and you can remove the side that you don’t need using Islands effect). Once you figure out all the steps you need, you can automate everything using Python scripting.