새소식

반응형
Medical Imaging

FSL 설치

  • -
반응형

 FSL은 뇌영상처리에서 볼륨 분석을 할 때 많이 쓰이고, NIFTI나 ANALYZE 포맷 파일을 다룰 수 있는 툴이다. 

 나는 MINC 포맷을 많이 사용하여서 그런지 minctool이 익숙하지만... 보편적으로 사용되는 포맷이 NIFTI이기 때문에 대학원생 때 처럼 내가 사용하고 싶은 포맷만을 사용할 수는 없게 되었다. 

 

 어쨌든 설치!

 

1. FSL 사이트에 접속한다. Download/Install 클릭. 귀찮다면 https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FslInstallation

 클릭.

 

 

2. 기본적인 사항들을 입력해주고 Register 버튼 클릭. 나는 Centos를 좋아한다(센밍아웃).

 

 

3. 최신 버전만을 올려놓는 것으로 보인다. Download FSL 6.0.1 클릭. 

 

 

4. fslinstaller.py 파일이 다운로드 된다. 다운로드된 경로로 이동한다.

beeline@DESKTOP-UT5EI9F:/mnt/d/fsl$ ls
fslinstaller.py

 

installer를 실행해 보았으나... 파이썬이 설치되어 있지 않았다. 

beeline@DESKTOP-UT5EI9F:/mnt/d/fsl$ ./fslinstaller.py
-bash: ./fslinstaller.py: /usr/bin/python: bad interpreter: No such file or directory

 

파이썬을 설치해준다. Centos를 좋아하지만 WSL에는 없었기 때문에 Ubuntu를 설치했다. 아쉽...

beeline@DESKTOP-UT5EI9F:/mnt/d/fsl$ sudo apt install python

 

5. fslinstaller.py 파일을 실행하면 된다. 설치 default 경로는 /usr/local/fsl 이다. 경험에 따르면 메인 툴은 대부분 /usr/local 경로에 설치하는 것 같다.

beeline@DESKTOP-UT5EI9F:/mnt/d$ ./fslinstaller.py
--- FSL Installer - Version 3.0.16 ---
[Warning] Some operations of the installer require administative rights,
    for example installing into the default folder of /usr/local.
    If your account is an 'Administrator' (you have 'sudo' rights)
    then you will be prompted for your administrator password
    when necessary.
When asked a question, the default answer is given in square brackets.
Hit the Enter key to accept this default answer.
Where would you like the FSL install to be (including the FSL folder name)? [/usr/local/fsl]:
Downloading...
1785708544/3493072684 - 51%

 

참고

https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/

 

FSL - FslWiki

FMRIB Software Library v6.0 Created by the Analysis Group, FMRIB, Oxford, UK. FSL is a comprehensive library of analysis tools for FMRI, MRI and DTI brain imaging data. It runs on Apple and PCs (both Linux, and Windows via a Virtual Machine), and is very e

fsl.fmrib.ox.ac.uk

 

반응형
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감과 광고 클릭 부탁드립니다~