Coder Social home page Coder Social logo

eebrown / lst Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 22.46 MB

Lesion Segmentation Tool by Paul Schmidt (https://www.applied-statistics.de/lst.html)

HTML 1.63% MATLAB 88.58% CSS 0.54% JavaScript 8.65% Objective-C 0.60%
mri mri-segmentation mri-brain neuroimaging spm spm12

lst's People

Contributors

eebrown avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

ffmichi

lst's Issues

LST matlab tool issue

It has been working well without an issue.
Recently, I encountered the following error:

Error using fprintf
Invalid file identifier. Use fopen to generate a valid file identifier.
In file "/home/xubuntu/spm12/toolbox/LST/ps_LST_lpa.m" (???), function "ps_LST_lpa" at line 117.

The following modules did not run:
Failed: LST: Lesion segmentation (LPA)

However, the files do not have any issues. They are nii files, not compressed.
I tried to process other sets of files that had previously been processed successfully with LST. However, I encountered the same error. I am confused.

Could you explain what might be the issue?

Sincerely,
-SC

Recommended approach for dealing with NaNs?

I've run LPA supplying both a T1-w and FLAIR image for WMH segmentation on an AD dataset. I see NaNs appearing in several voxels after inspecting outputs and am confused by what they mean. From the code, it looks like NaNs aren't necessarily "0" voxels, but they also aren't necessarily WMHs either (especially since some of the NaNs I inspect in FSLEyes capture some large WMHs). I am wondering if there is an approach that might appropriately deal with NaNs - set them to 0 in cases where it's unlikely to be a WMH, but give them a non-zero value in cases where it's more likely to be a WMH?

Any assistance would be greatly appreciated!

Can't run LPA without specifying the input T1 image in Vref

Hi Eric,
I am trying to understand how I can run this matlab script (ps_LST_LPA) without specifying the T1 images as reference, running MATLAB via the linux command line. Here is the code for one subject:

time /data/SOFTWARE/MATLAB/R2015b/bin/matlab -debug -nosplash -nodesktop -r "try ps_LST_lpa('sub01-FLAIR.nii', '');catch e;display(e.message);end;quit"

Where '' is where Vref would go, but because I don't want the T1 to be included, I left this blank. The command-line output I received was:

This is LST www.statistical-modeling.de/lst.html
Algorithm: Lesion prediction algorithm (LPA)
If anything goes wrong: LST_log_20230316_125624.txt
Number of jobs to process: 1
Coregister to reference images: no
Cannot CD to (Name is nonexistent or not a directory).

real 0m11.239s
user 0m9.801s
sys 0m0.888s

I also tried setting Vref as a variable to 0, but still wasn't able to get this to work!

Do you have any suggestions?

Regards :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.