# TSAVI index parameters

**URL:** <https://forum.orfeo-toolbox.org/t/tsavi-index-parameters/1184>\
**Category:** OTB Usage\
**Created:** [October 31, 2021, 1:50pm UTC](https://forum.orfeo-toolbox.org/t/tsavi-index-parameters/1184 "2021-10-31T13:50:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Achraf.R](https://forum.orfeo-toolbox.org/letter_avatar_proxy/v4/letter/a/d26b3c/32.png) [@Achraf.R](https://forum.orfeo-toolbox.org/u/Achraf.R)\
**Post date:** [October 31, 2021, 1:50pm UTC](https://forum.orfeo-toolbox.org/t/tsavi-index-parameters/1184/1 "2021-10-31T13:50:28Z")

</div>

Hi. I have a question about the radiometric indices tool. I want to calculate TSAVI on a Landsat-8 image but I don’t know how OTB calculates it. Are the parameters of the radiometric indices set to some default values?

---

<div class="post-metadata">

**Author:** ![Cedric](https://forum.orfeo-toolbox.org/letter_avatar_proxy/v4/letter/c/ecd19e/32.png) [@Cedric](https://forum.orfeo-toolbox.org/u/Cedric)\
**Post date:** [October 31, 2021, 8:17pm UTC](https://forum.orfeo-toolbox.org/t/tsavi-index-parameters/1184/2 "2021-10-31T20:17:53Z")

</div>

Hello,

there is no way to modify the parameters in the application, looking at [the code](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/blob/develop/Modules/Radiometry/Indices/include/otbVegetationIndicesFunctor.h#L171) the parameters are:

- `A = 0.7`
- `S = 0.9`
- `X = 0.08`

Cédric

---

<div class="post-metadata">

**Author:** ![Achraf.R](https://forum.orfeo-toolbox.org/letter_avatar_proxy/v4/letter/a/d26b3c/32.png) [@Achraf.R](https://forum.orfeo-toolbox.org/u/Achraf.R)\
**Post date:** [October 31, 2021, 8:35pm UTC](https://forum.orfeo-toolbox.org/t/tsavi-index-parameters/1184/3 "2021-10-31T20:35:36Z")

</div>

Okay. Thank you very much. So if I need to calculate TSAVI, I am going to have to calculate A and S(slope). I think it’s done through quantile regression but I don’t know if there are other ways to do it…
