eebrown / lst Goto Github PK
View Code? Open in Web Editor NEWLesion Segmentation Tool by Paul Schmidt (https://www.applied-statistics.de/lst.html)
Lesion Segmentation Tool by Paul Schmidt (https://www.applied-statistics.de/lst.html)
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
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!
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 :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.