> For the complete documentation index, see [llms.txt](https://bridge-lab.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bridge-lab.gitbook.io/docs/imaging/image-analysis/segmentation/lst.md).

# LST

[The Lesion Segmentation Tool ](https://www.applied-statistics.de/lst.html)is used to identify and quantify brain lesions using T1 and T2 structural images.

For an automated script to run LST on your BIDS formatted data, see: <https://github.com/ryn-thorn/Image_Analysis_Scripts/blob/main/LST.m>

{% embed url="<https://github.com/ryn-thorn/Image_Analysis_Scripts/blob/main/LST.m>" %}

<figure><img src="https://2091072347-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiDgWwNd2W0ZWe2XnzLuq%2Fuploads%2FPZ5Ceh4EJQLogSrIJSpA%2Fimage.png?alt=media&amp;token=5d51a4bf-3617-4ce5-962e-b45201223d1e" alt="" width="375"><figcaption></figcaption></figure>

It is packaged with the SPM toolbox and called in MATLAB using the script below:
