# Replacing bone model in ultrasound simulator

**URL:** <https://discourse.slicer.org/t/replacing-bone-model-in-ultrasound-simulator/1348>\
**Category:** Support\
**Tags:** extensions-manager, ultrasound\
**Created:** [November 1, 2017, 6:14pm UTC](https://discourse.slicer.org/t/replacing-bone-model-in-ultrasound-simulator/1348 "2017-11-01T18:14:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![XUXIN\_ZENG](https://avatars.discourse-cdn.com/v4/letter/x/13edae/32.png) [@XUXIN\_ZENG](https://discourse.slicer.org/u/XUXIN_ZENG)\
**Post date:** [November 1, 2017, 6:14pm UTC](https://discourse.slicer.org/t/replacing-bone-model-in-ultrasound-simulator/1348/1 "2017-11-01T18:14:15Z")

</div>

Recently, I wanted to simulate ultrasound image from CT scan data. And then, I tried to replace the vessel model with a bone model in tracked ultrasound simulator. But the simulated bone ultrasound image seems more like a vessel ultrasound image. So I wonder what parameters I should use to get a better result?  
Here are my parameters values and the result I got:

 ![spine](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/7/1743111c75e7fea3d3dcd0282fcfc25a5c299c1c.png)  
 ![parameters](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/5/256302e4a7a92d6f44c4980b5c5fdb0cefec06b5.png)

---

<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 1, 2017, 8:30pm UTC](https://discourse.slicer.org/t/replacing-bone-model-in-ultrasound-simulator/1348/2 "2017-11-01T20:30:20Z")

</div>

You have to adjust acoustic parameters of the SpatialModel element to model behavior of a bone. See [PlusDeviceSet\_UsSimulatorAlgoTestLinear.xml](https://github.com/PlusToolkit/PlusLibData/blob/master/ConfigFiles/Testing/PlusDeviceSet_UsSimulatorAlgoTestLinear.xml) file:

```
  DensityKgPerM3="1900"
  SoundVelocityMPerSec="4000"
  AttenuationCoefficientDbPerCmMhz="15.0"
  BackscatterDiffuseReflectionCoefficient="0.03"
  SurfaceSpecularReflectionCoefficient="0.1"
  SurfaceDiffuseReflectionCoefficient="0.0"
  TransducerSpatialModelMaxOverlapMm="10"
```
