Changelog¶
6.5 (2024-11-21)¶
FEATURE
sct_analyze_lesion: Output lesion length and width for the midsagittal slice. View pull request
sct_deepseg: Add
-custom-url
arg to allow users to install specific.zip
s for existing deepseg models. View pull requestsct_deepseg: Update contrast agnostic model to r20241024 (improved for SCI and whole-spine T1/T2 images). View pull request
sct_deepseg: Add contrast-agnostic MS lesion segmentation model. View pull request
sct_deepseg: Add canal segmentation model. View pull request and follow-up pull request
sct_deepseg: Add TotalSpineSeg model (vertebrae, intervertebral discs, spinal cord, and spinal canal). View pull request
sct_deepseg, sct_qc: Add
-qc-plane
flag to allow switching the QC view to'Sagittal'
. View pull requestsct_fmri_compute_tsnr, sct_qc: Add
-m
(mask) and-qc
options to fMRI TSNR script. View pull requestsct_get_centerline: Expose
space
API parameter in centerline CLI to allow user to specify-space phys
. View pull request
ENHANCEMENT
sct_analyze_lesion: Update extension of lesion analysis spreadsheet from
.xls
to.xlsx
. View pull requestsct_analyze_lesion, sct_qc: Swap x-axis in tissue bridges QC. View pull request
sct_apply_transfo: Preserve integer dtype when warping an image using
NearestNeighbour
interpolation. View pull requestsct_apply_transfo, sct_warp_template: Use faster dilation algorithm when dilating “mostly zero” point label images (
-x label
). View pull requestsct_dmri_moco, sct_fmri_moco, sct_register_multimodal: Convert softmask to binary mask before passing to ANTs, rather than applying softmask to input data. View pull request
sct_download_data: Add an interactive check before deleting output directory when downloading data. View pull request
sct_download_data: Update
sct_course_data
URL to point toSCT-Course-20241209
. View pull request
BUG
sct_analyze_lesion: Fix crash during lesion analysis if there is no midsagittal lesion. View pull request
sct_apply_transfo: Properly maintain verbose status for internal ANTs
run_proc
call (to silence logging for-v 0
). View pull requestsct_deepseg: Test EPI model to ensure that it has the correct
nnUNetTrainer
model structure. View pull requestsct_deepseg: Remove faulty
zip()
that breaks-install
option. View pull requestsct_deepseg: Fix the suffix of the rootlets model (
_seg
->_rootlets
) to prevent overwriting. View pull requestsct_deepseg: Fix rootlets QC for anisotropic images. View pull request
sct_extract_metric: Add more intuitive feedback when no metrics can be extracted from input data. View pull request
sct_maths: Fix incorrectly lazy-loaded
dipy
imports. View pull requestsct_maths: Fix dtype mismatch error when mixing integers and floating point numbers. View pull request
Add clearer instructions to fix issue when $SCT_DIR isn’t writeable during installation. View pull request
Fix bug due to discrepancy introduced by
set_qform
andset_sform
methods. View pull requestUpdate warnings filter to properly filter
Private repos
warning fromrequirements.parse
. View pull request
INSTALLATION
Skip
acvl_utils==0.2.1
due to buggy interaction withnnunetv2
. View pull requestInstall
monai[cucim]
extra when specifying GPU SCT-g
flag. View pull requestAllow
nnunetv2>=2.5.1
due to bugfix for previous issue with2.4.2
. View pull request
DOCUMENTATION
sct_analyze_lesion: Add
lesion-analysis
tutorial. View pull requestsct_deepseg: Add spinal nerve rootlets segmentation tutorial. View pull request
sct_deepseg: Add example commands for the
-custom-url
arg. View pull requestsct_deepseg: Retire outdated DeepSeg models (
seg_sc_ms_lesion_stir_psir
,ms_sc_mp2rage
). View pull requestAddress deprecation by manually performing previous RTD Sphinx context injection . View pull request
Split “Command Line Tools” page into multiple individual pages (with markdown formatting for
argparse
). View pull requestMove “Labeling Conventions” page to “Concepts”, while preserving tutorial using
.. include::
directive. View pull requestRemove
/en/latest/
slugs fromspinalcordtoolbox.com
URLs. View pull requestHandle newly-broken links (retries, FSLWiki changes). View pull request
Apply minor documentation feedback from 2023 SCT course. View pull request
Add model gallery for current version of DeepSeg (
-task
syntax). View pull requestFix hyperlink syntax in documentation (Markdown -> RST). View pull request
CI
Skip
-h
duration test on macOS CI runners due to sporadic runtimes. View pull requestAllow error code 406 in broken link checker. View pull request
Be good netizens when checking broken links (HEAD request only, 30s retries, respect
Retry-All
). View pull requestBump oldest macOS version used by test runners (12 -> 13). View pull request
6.4 (2024-08-01)¶
FEATURE
sct_analyze_lesion: Automatically compute midsagittal tissue bridges. View pull request
sct_analyze_lesion: Support
CombinedLabels
frominfo_label.txt
when computing lesion distributions with-f
. View pull requestsct_analyze_lesion: Add
-perslice
option (plus performance improvements to make it feasible). View pull requestsct_compute_flow: New function to compute velocity from VENC sequence. View pull request
sct_deepseg: Track
sct_deepseg
model provenance withsource.json
(in model folder) and JSON sidecar (in output). View pull requestsct_deepseg: Add postprocessing functionality for non-ivadomed models. View pull request
sct_download_data: Add T2w dog template to available data downloads. View pull request
ENHANCEMENT
sct_deepseg: Change
-install-task
arg to-install
. View pull requestsct_deepseg: Update contrast agnostic model to v2.4 (now improved for lumbar t2w + PSIR/STIR images). View pull request
sct_deepseg: Indicate model version in “model is up to date” log message. View pull request
sct_deepseg: Replace
seg_ms_lesion_mp2rage
model with a nnUnet based model onsct_deepseg
. View pull requestsct_deepseg: Fix rootlets QC by improving the cropping, centering, and colormap. View pull request
sct_deepseg: Set
edge
padding as default for contrast-agnostic monai model. View pull requestsct_deepseg: Update SCI model to SCIsegV2 and standardize on
nnUNetTrainer
folder structure. View pull requestsct_maths: Allow multiple
sct_maths
operations to be run sequentially on an image in one command. View pull requestsct_maths: Add
-volumewise
to process the individual 3D volumes of 4D input images. View pull requestRun all tests in temporary directories (to preserve a clean copy of
sct_testing_data
). View pull request
BUG
sct_analyze_lesion: Fix crashing if there is no midsagittal lesion. View pull request
sct_analyze_lesion: Silence
pandas
warning by explicitly usingcopy
to remove view/copy ambiguity View pull requestsct_analyze_lesion: Fix slice numbering in QC and CLI output View pull request
sct_apply_transfo: Make sure that
fname_out
is set properly forfsleyes
command when-o
is not passed. View pull requestsct_deepseg: Ensure that using
-thr 0
with the contrast agnostic model generates a useful softseg. View pull requestsct_deepseg: Avoid buggy version of
nnunetv2
that produces empty output predictions. View pull requestsct_dmri_moco, sct_fmri_moco: Output ANTs syntax in moco functions with
-v 2
for easier debugging. View pull requestsct_extract_metric: Ignore case where user selects ‘combine=1’ with CombinedLabels. View pull request
sct_extract_metric: Skip empty slicegroups to avoid creating blank rows in output metric CSV file. View pull request
sct_flatten_sagittal: Rescale flattened values from
[-1.0, 1.0]
back to their original range and datatype. View pull requestsct_label_vertebrae, sct_register_to_template, sct_smooth_spinalcord: Include the SCT version in the straightening.cache. View pull request
sct_qc: Fix tiny sagittal mosaic QC Report for large images with many slices. View pull request
sct_qc: Properly detect softsegs for QC when binary values are not the most common values.. View pull request
sct_qc: Align the lock names for
qc.py
andqc2.py
. View pull requestsct_qc: Adjust QC canvas size by physical resolution to avoid tiny QC with anisotropic T2* images. View pull request
sct_qc, sct_run_batch: Increase timeout of
mutex
to avoidAlreadyLocked
errors with many concurrent processes. View pull requestsct_register_to_template: Add rotation to landmark-based preregistration (
step=0
) during template registration. View pull requestsct_straighten_spinalcord: Fix straightening transformations for images with “tilted” qform/sform. View pull request
Fix small argparse bug when wrapping help text with whitespace-only lines. View pull request
Add
matplotlib-inline
backend for compatibility with Jupyter notebooks. View pull request
INSTALLATION
Make
sct_download_data
errors non-fatal during installations of SCT. View pull requestRestrict
numpy<2
to avoid upstream errors. View pull request
DOCUMENTATION
sct_analyze_lesion: Improve documentation of the
-f
argument to make the percentages clearer. View pull requestsct_analyze_lesion: Improve formatting of bullet points in CLI help. View pull request
sct_apply_transfo: Rewrite help for
-x label
to clarify the difference between single-voxel and multi-voxel labels. View pull requestsct_label_utils: Clarify that
-disc
does not involve orthogonal projection. View pull requestsct_run_batch: Clarified how many subjects are processed in parallel. View pull request
sct_label_utils
: Clarify argument order for-disc
. View pull requestUpdate url to slicer documentation. View pull request
Update redirected citation link. View pull request
REFACTORING
sct_deepseg, sct_deepseg_sc, sct_register_to_template: Remove duplicate functions in
sct_deepseg
andsct_register_to_template
. View pull requestsct_maths: Minor improvements to PR #4485. View pull request
sct_qc: Refactor
qc.py
to usecreate_qc_entry
. View pull requestUse Tensorflow’s simple
LazyLoader
class to minimize import times of expensive packages. View pull requestSimplify calls to
np.einsum
. View pull request
CI
Update github action to Node.js 20. View pull request
Replace
libglib2.0-0
witht64
version to fix Debian Rolling Release test failure. View pull requestUpdate CentOS Stream 8 runner to work past EOL. View pull request
Set
norecursedirs
insetup.cfg
to avoid pytest collecting tests from our dependencies within ourvenv
. View pull request
6.3 (2024-04-25)¶
FEATURE
sct_deepseg: Add CanProCo-based MS lesion segmentation model. View pull request
sct_deepseg: Add EPI-BOLD fMRI spinal cord segmentation model. View pull request
sct_deepseg: Update
contrast-agnostic
SC segmentation model to the latest v2.3 version. View pull requestsct_deepseg, sct_qc: Add QC report for
sct_deepseg
. View pull request
ENHANCEMENT
sct_fmri_moco: Switch to using mean magnitude for output
moco_params.tsv
file used for QC. View pull requestsct_process_segmentation: Add improvements to CSA calculation for GM/WM masks (
-angle-corr-centerline
,float32
precision fix, doc warnings). View pull requestsct_qc: Add padding to the crop used for sagittal mosaic QC report. View pull request
sct_qc: Isolate
index.html
-writing code into reusable script + replaceLock
with Semaphore-basedmutex
. View pull requestsct_qc: Switch from two-tone colormap to transparency for
sct_deepseg
QC. View pull request
BUG
sct_deepseg: Address upstream breaking API change by renaming
_gpu
input param to_device
. View pull requestsct_deepseg: Avoid
nnunetv2=={2.4.0,2.4.1}
to mitigate upstream bug forpredict_single_npy_array
. View pull requestsct_qc: Fix
-p sct_label_vertebrae
QC report when providing TotalSegmentator labels. View pull requestsct_qc: Fix detection of PSIR images for QC resampling to avoid unnecessary thresholding. View pull request
sct_qc: Keep CSS/JS/etc. assets up to date when QC report is regenerated with a newer version of SCT. View pull request
sct_qc: Avoid nibabel crashes due to
int64
arrays by explicitly passingdtype
/header
toNifti1Image
. View pull requestsct_run_batch: Filter out color codes from log files. View pull request
Update QC assets when saving the QC report. View pull request
Replace remaining usages of
nib.save()
withImage.save()
to mitigate scaling issues. View pull request
INSTALLATION
Pull upstream
ivadomed
changes that let us upgrade previously-pinned versions ofdipy
/numpy
/nibabel
. View pull requestAddress test warnings by pinning
pyqt5-sip<12.13.0
and updatingsetup.cfg
ignore entries (pkg_resources
). View pull requestPin to
dipy<1.6
until conflicts withdipy>=1.8
can be resolved. View pull request
DOCUMENTATION
sct_extract_metric: Fixed path to PAM50 in help example command. View pull request
sct_image: Clarify argparse help for
-copy-header
option to provide caution about header/data mismatches. View pull requestAdd links to 2024 review in prominent locations in documentation. View pull request
Fix inaccurate line in docs regarding the method used for spinal level estimation (Frostell et al.). View pull request
REFACTORING
Restructure QC report code to use
create_qc_entry
context manager (plus 1 PoC:multimodal
). View pull request
CI
Update GitHub Actions versions (macOS runners, Windows runners, Node.js 16 actions -> 20). View pull request
Update GitHub Actions versions (Debian 9->11, CentOS 7->9, WSL 2022->2019) to fix CI failures. View pull request
Add CI workflow step to detect broken links in repository files. View pull request
Reduce concurrent macOS runners on PRs from 6 to 2 (and remove push-to-master triggers). View pull request
Replace
matrix.os
withrunner.os
to more robustly detect Win OSs in GHA workflows. View pull requestMove most broken link checking to a daily job. View pull request
Fix broken link checker. View pull request
6.2 (2024-02-15)¶
FEATURE
sct_deepseg: Integrate NNUnet/MONAI models into DeepSeg CLI (contrast-agnostic, SCI, rootlets, Zurich mouse). View pull request
sct_qc: Save QC records to browser local storage. View pull request
sct_warp_template: Update PAM50 link to include new
template/PAM50_rootlets.nii.gz
file. View pull request
ENHANCEMENT
Convert integer images to floating point when resampling with linear interpolation. View pull request
BUG
sct_analyze_lesion: Set
minmax=False
to prevent cropping during angle correction, avoiding slice number mismatches. View pull requestsct_compute_compression: Fix reversed slice numbering (
S->I
=>I->S
) in output CSV file. View pull requestsct_compute_mtsat: Apply missing B1 correction to
r1map
anda
calculations to fix MTsat bug. View pull requestsct_deepseg: Reverse spacings to match nnUNet’s
SimpleITK
-based conventions. View pull requestsct_deepseg, sct_label_vertebrae: Mitigate scaling issues (
1.0
->0.999
) due to float/int datatype mismatches between header and array. View pull requestsct_label_vertebrae: Fix path splitting when space (
' '
) is present inisct_spine_detect
model path. View pull requestsct_register_to_template: Ensure reorientation is performed consistently before any resampling. View pull request
sct_register_to_template: Fix straightening error during registration if 3+ labels are supplied and topmost disc label is not C1. View pull request
INSTALLATION
Temporary fix for dependency issue with dipy 1.8.0. View pull request
Fix broken pip installer by forcing it to detect macOS 11 as
11.0
and not10.16
. View pull requestDocument Rosetta 2 as a requirement for installation on Apple silicon (M1, M2, M3). View pull request
DOCUMENTATION
sct_compute_compression: Update argparse descriptions to make it clear that the script can also be used to compute MCC. View pull request
sct_label_utils: Clarify the argparse help description for the
-disc
argument. View pull requestsct_run_batch: Add example syntax for YAML and JSON config files to the argparse help description for
exclude_list
. View pull requestsct_run_batch: Add examples to
-include-list
and-exclude-list
flags. View pull requestAdd links to both the slide deck and YouTube video for the 2023 SCT Course. View pull request
Port changes from SCT Course 2023 Google Slides to the web tutorials. View pull request
Update
sphinx
andfuro
while removing “Edit on GitHub” hack in the process. View pull request
REFACTORING
Remove
utils
star imports and ensure we are importing directly from submodules{fs,sys,shell}
. View pull requestRemove unused
Image.verbose
attribute. View pull requestReplace assertions with more appropriate errors. View pull request
CI
Use the same Python version as SCT for linting. View pull request
6.1 (2023-11-03)¶
FEATURE
sct_analyze_lesion: Add function to output the axial damage ratio + minor improvements. View pull request
sct_download_data: Add current
sct_tutorial_data
release as a new course dataset. View pull requestsct_download_data: Update PAM50 template link to include cord and lumbar label changes. View pull request
sct_run_batch: Add start date information to the logs. View pull request
ENHANCEMENT
sct_compute_compression: Improvements of CLI output printed by the
sct_compute_compression
. View pull requestsct_deepseg: Append
-list-tasks
to argparse help and update-list-tasks-long
. View pull requestsct_label_utils: Speed up
-remove-reference
by removing unnecessary iteration. View pull requestsct_run_batch: Raise error if
-config
file has wrong suffix. View pull request
BUG
sct_compute_compression: Use pandas for
.csv
saving to correctly merge existing output metric columns. View pull requestsct_deepseg: Add checks for empty arrays post-segmentation. View pull request
sct_deepseg: Update model releases (
lumbar_seg
,t2star_sc
) to fix output suffix (_seg-manual
->_seg
). View pull requestsct_dmri_compute_dti: Avoid
dipy
versions 1.6.0 + 1.7.0 that contain amethod=restore
bug. View pull requestsct_dmri_display_bvecs: Fix
ValueError
by passing a tuple tocolor=
instead of a numpy array. View pull requestsct_label_vertebrae: Check whether the provided discfile is empty. View pull request
sct_propseg: Remove parent parts from
fname_out
to fix buggy-o
behavior. View pull requestsct_qc: Fix QC for soft segmentations that have light regions close to
1.0
(e.g.0.999
). View pull requestsct_register_to_template: Raise exception if sform/qform don’t match during registation. View pull request
sct_register_to_template: Avoid duplicate orthogonal labels during registration by checking existing labels first. View pull request
sct_register_to_template: Switch matmul syntax (
*
->@
) to follow-up previousnp.matrix
->np.array
change. View pull requestsct_straighten_spinalcord: Fix
IndexError
during straightening if-dest
image is shorter than centerline image (-s
). View pull requestGracefully handle infinity as well as NaN values in QC. View pull request
Fix distorted registration due to straightening bug in
get_closest_to_absolute
. View pull requestTemporarily pin
onnxruntime
to <1.16. View pull requestAvoid onnxruntime 1.16.0 but allow onnxruntime >=1.16.1. View pull request
INSTALLATION
Inline small
.yml
“model” files. View pull requestUpdate Docker installation instructions for Linux/macOS/Windows. View pull request
DOCUMENTATION
sct_compute_compression: Add tutorial for
sct_compute_compression
in documentation. View pull requestsct_compute_compression, sct_process_segmentation: Add references for PAM50 normalized metrics. View pull request
sct_download_data: List
sct_download_data
datasets at the end of-h
. View pull requestsct_download_data: Color installed datasets for
sct_download_data -h
. View pull requestsct_run_batch: Clarification of
sct_run_batch -script-args
input flag help. View pull requestsct_run_batch: Add note that
~
should not be used in paths passed using the-script-args
arg. View pull requestUpdate installation docs for Windows (Miniconda) and Linux/macOS (standalone installer). View pull request
Migrate old ReadTheDocs settings to
.readthedocs.yaml
. View pull requestUpdate documentation for new spinal levels. View pull request
Disable PDF and EPUB documentation builds. View pull request
Update figure and references for “Other shape metrics” tutorial. View pull request
Fix typo in “Other shape metrics” tutorial. View pull request
Add tutorial for lumbar segmentation and registration. View pull request
REFACTORING
sct_analyze_lesion: Simplify lesion volume computation. View pull request
sct_compute_compression: Use the
pandas.DataFrame.combine_first
method. View pull requestsct_warp_template: Remove
-s
functionality and add a deprecation warning. View pull request
CI
Exit on errors anywhere in the linter script. View pull request
Update changelog PR workflow to fix milestone title error and to also change
version.txt
. View pull request
6.0 (2023-07-14)¶
FEATURE
sct_analyze_lesion: Allow lesion volume calculation without providing SC seg. View pull request
sct_compute_compression: Add new CLI script to compute normalized metric ratios (MSCC, etc.) for compressed levels. View pull request
sct_crop_image: Add
-dilate
option to enable cropping around a spinal cord segmentation. View pull requestsct_deepseg: Add support for model ensembles to
sct_deepseg
, updatemp2rage_lesion
model. View pull requestsct_deepseg_lesion, sct_qc: Add sagittal mosaic QC and use it for
sct_deepseg_lesion
QC report. View pull requestsct_get_centerline: Add
-centerline-soft
option to output a non-binary “soft” centerline. View pull requestsct_image: Replace
-setorient-data
with-flip
and-transpose
options. WARNING: Breaks compatibility with previous version. View pull requestsct_label_utils: Add new
project_centerline
option insct_label_utils
to project an image on the spinal cord centerline . View pull requestsct_process_segmentation: Bring metrics in PAM50 anatomical dimensions in
sct_process_segmentation
. View pull requestsct_process_segmentation: Display vertebral levels when provided with
-perslice 1
. View pull requestsct_warp_template: Add new
-histo
option to warp the newly-added PAM50 histology files. View pull requestsct_register_to_template: List resampled labels in order. View pull request
ENHANCEMENT
sct_detect_pmj: Add
-qc-dataset
and-qc-subject
flags tosct_detect_pmj.py
. View pull requestsct_image: Add
-qc-subject
and-qc-dataset
flags tosct_image
. View pull requestsct_label_utils: Update
labelize_from_discs()
to add level labels above the top disc and below the bottom disc. View pull requestsct_maths: Use
filters.rank
instead ofdilate
/erode
foruint8
/uint16
images. View pull requestsct_propseg: Silence unnecessary “overwriting” messages when updating output image header. View pull request
Fix indentation for wrapped lines in argparse help. View pull request
Fix broken
tqdm
behavior for Windows and older Unix platforms. View pull requestUse
sct_progress_bar
foralgo=columnwise
andregister2d
slicewise loops. View pull requestReplace
algo=rigid
withalgo=slicereg
for mt0-mt1 registration. View pull requestSelectively display
relpath
orabspath
in viewer syntax based on CWD. View pull request
BUG
sct_analyze_texture: Change
grey
–>gray
in imports ofskimage.feature
functions. View pull requestsct_compute_ernst_angle: Fix upper/lower TR bounds used when plotting Ernst angles (argument
-b
). View pull requestsct_deepseg: Clean up improper submodule access (via imported parent modules). View pull request
sct_deepseg_lesion: Fix broken
-v 2
case by making surefname_res_ctr
exists prior to resampling. View pull requestsct_deepseg_sc: Ensure that qform/sform codes are preserved when generating segmentation. View pull request
sct_get_centerline: Prevent soft centerline being used with non fitseg methods. View pull request
sct_get_centerline: Add extrapolation for
sct_get_centerline
fitseg. View pull requestsct_image: Swap order of
sct_image -stitch
QC images to fix incorrect YML path. View pull requestsct_label_utils: Fix buggy
-create-viewer
behavior on initialization (undo crash, blank checkboxes). View pull requestsct_plugin.py (FSLeyes): Catch errors from outdated
wxpython
versions bundled with FSL, then suggest a solution. View pull requestsct_qc: Faithfully display
sct_qc
arguments, rather than making a fake command. View pull requestsct_qc: Ensure that sagittal images (and softsegs) are resampled correctly for lesion QC. View pull request
sct_qc: Fix errors in the list of available QC processes (
index.html
,sct_qc.py
). View pull requestsct_register_to_template: Ensure that the
straightening.cache
file is output to the PWD during template registration. View pull requestsct_resample: Update
-mm
and-ref
argument descriptions, fixparse.error
logic, and add tests. View pull requestPin
numpy<1.24
to mitigate incompatibility withpystrum==0.2
. View pull requestBetter isolate the SCT conda env by using
-p
instead of-n
during creation. View pull requestMake matplotlib less verbose. View pull request
Use
importlib.metadata
to fetch list of scripts instead ofpkg_resources
. View pull request
INSTALLATION
sct_segment_graymatter: Remove
gm_model
fromdownload.py
module and install scripts. View pull requestReplace
version.txt
contents (dev
) with PEP440-compliant version (6.0.dev0
). View pull requestRemove outdated/unused settings from
setup.cfg
. View pull requestUpdate
version.txt
on master branch during release workflow. View pull requestUse Miniconda instead of built-in Python for Windows installations. View pull request
Clean up
.egg-info
andpython/
folders when reinstalling SCT. View pull requestAllow
install_sct
to be run standalone (without downloading “Source code” archive). View pull requestAdd missing features from
install_sct
toinstall_sct.bat
. View pull requestRemove Sentry code. View pull request
Upgrade SCT’s conda environment to Python 3.9. View pull request
install_sct
: Use explicit paths to python/pip executables. View pull requestinstall_sct
: Installlibffi
fromconda-forge
, rather thandefaults
. View pull requestMake sure that
$SCT_DIR
is set for both Windows installations andbatch_processing.sh
. View pull request
DOCUMENTATION
sct_deepseg: Move MP2RAGE cropping comment from “model” description to “task” description. View pull request
sct_deepseg_lesion: Update description of
-file_centerline
flag to mention-centerline file
instead of-centerline manual
. View pull requestsct_register_multimodal: Add an example
-param
configuration to the argparse help description ofalgo=dl
. View pull requestImprove the readability of temporary directory names throughout SCT. View pull request
Add link to mailing list. View pull request
Improve the appearance of
spinalcordtoolbox.com
in search results. View pull requestStandardize Python file headers for copyright and license information. View pull request
Encode emoji in utf-8. View pull request
Clarify documentation for
compute_vertebral_distribution
. View pull request
REFACTORING
sct_plugin.py (FSLeyes): Fix
flake8
linting issues in thesct_plugin.py
script. View pull requestsct_plugin.py (FSLeyes): Rename FSLeyes script from
sct_plugin.py
tosct_fsleyes_script.py
. View pull requestsct_register_multimodal: Simplify weight-loading model code for
algo='dl'
. View pull requestRefactor
get_centerline
function to distinguish between OptiC and non-OptiC methods. View pull requestRemove
_get_centerline()
and put functionality intocenterline/core.py
’sget_centerline()
. View pull requestRemove
round_and_clip
function fromcenterline/core.py
. View pull requestAdd
im_type
argument indisplay_viewer_syntax
to facilitate colormap selection. View pull requestFix flake8 lints. View pull request
Remove each instance of the
-igt
argument from SCT scripts. View pull requestFix
flake8
linting issues in thetesting/
directory. View pull requestCode cleanup in
types.py
. View pull requestRefactor
get_dimension
. View pull requestRefactor
find_and_sort_coord
. View pull requestDelete
create_test_data.py
and movedummy_
functions into their respective test files. View pull requestRefactor
reports/qc.py
. View pull requestRemove unused QC report assets. View pull request
CI
List changed files for flake8. View pull request
Improve
release-body.md
contents to address feedback from v5.8 release. View pull requestUse milestone due date. View pull request
Add shellcheck to CI (and fixup shell scripts to get the check to pass). View pull request
Attach
install_sct
as an asset during release creation CI workflow. View pull requestRemove all 70,000+ warnings from test suite. View pull request
Fix Debian 9 CI failures by adding
archive
links to/etc/apt/sources.list
. View pull requestUpdate outdated GitHub Actions to versions that use Node.js 16. View pull request
Ensure CI avoids older ReadTheDocs docker images to address OpenSSL mismatch. View pull request
Test standalone installations via
tests.yml
, but only on themaster
branch. View pull requestAdd warning filters for upstream
pkg_resources
warnings. View pull request
GIT/GITHUB
Update PR template links to testing and documentation. View pull request
5.8 (2022-12-02)¶
FEATURE
sct_image: Add new
-stitch
option that wraps stitching functionality from Glocker et al.. View pull requestsct_process_segmentation: Add DistancePMJ when perslice flag in
sct_process_segmentation
. View pull requestsct_run_batch: Add
-ignore-ses
flag to processsub-
directories even whenses-
subdirectories are present. View pull request
ENHANCEMENT
Update header
dtype
property on save/load to match the datatype of the data array. View pull requestsct_analyze_lesion, sct_analyze_texture, sct_denoising_onlm: Enforce use of
display_viewer_syntax
in four scripts using hardcodedfsleyes
commands. View pull requestsct_get_centerline: Ensure that the output of
get_centerline()
can be saved using-r 0
. View pull requestsct_image: Update
binaries_linux
to include a rebuilt version ofstitching
that targetscentos7
. View pull requestsct_label_vertebrae, sct_qc: Add readability fixes for QC reports (sagittal view scaling, label text, label colormaps). View pull request
sct_register_multimodal: Add dimensions of data to registration logging. View pull request
sct_register_multimodal: Minimize memory usage for
algo=dl
(and add a warning for potential OOM killer issues). View pull requestsct_register_to_template: Throw error when labels are lost during the straightening transform. View pull request
BUG
Properly escape
\
in the regex for removingsct_env
from old RC files. View pull requestEnsure that calling
printv(type='error')
actually exits the program. View pull requestReduce logging from intermediate CLI scripts by setting
-v 0
inmain()
calls. View pull requestAddress
[Errno 24] Too many open files
during motion correction. View pull requestFix several bugs when loading headers in the
Image
constructor. View pull requestSet a more permissive
quaternion_threshold
insideImage
constructor. View pull requestsct_analyze_lesion: Fix output filename spelling. View pull request
sct_check_dependencies: Re-add
print_line
call for PropSeg check. View pull requestsct_extract_metric: Ensure that
-list-labels
is the last argument that is parsed. View pull requestsct_get_centerline: Exclude original file extension (e.g.
.nii.gz
) from the output.csv
filename. View pull requestsct_merge_images, sct_smooth_spinalcord: Enforce
type=int
for arguments that usechoices=(0, 1)
. View pull requestsct_propseg, sct_straighten_spinalcord: Pass
argv
togenerate_qc
functions (instead ofarguments
orsys.argv[1:]
). View pull requestsct_register_multimodal: Improve handling of case where
algo
is specified alongsidetype='label'
. View pull requestsct_run_batch: Modify
-include-list
and-exclude-list
to check against parts of a directory, too. View pull requestsct_run_batch: Fix
include_list
/exclude
argument ordering in call to_filter_directories
. View pull requestsct_run_batch: Allow
path_output
parameter to start with~
. View pull requestinstall_sct.bat: Use delayed expansion (
!!
) forgit_ref
. View pull request
INSTALLATION
Upgrade SCT from Python 3.7 to Python 3.8. View pull request
Limit
pyqt5
to >5.11 and <5.15 to avoid “Cannot load library libqxcb.so” error on Ubuntu. View pull requestEnsure bundled GLIBC is up-to-date in order to resolve
MESA-LOADER
errors. View pull requestAdd more thorough check for
git
within thePATH
for the Windows installer. View pull request
DOCUMENTATION
Remove API pages from the documentation. View pull request
Fix copy-paste typos in tutorial documentation. View pull request
Add Google Sheets summary graphs to
studies.rst
. View pull requestSwitch to higher-quality “Tools used” graph on the studies page. View pull request
Update outdated links to
atlas
andspinal_level
scripts inpam50.rst
. View pull requestClarify strengths of both
sct_propseg
andsct_deepseg
in the documentation. View pull requestFix typo in “Registration” tutorial (
slice-by-slide
->slice-by-slice
). View pull requestsct_deepseg_lesion: Add missing spaces in multiline strings, and missing commas in lists. View pull request
sct_image:
sct_image
: Clarify descriptions for-setorient
commands. View pull requestsct_maths: Fix small typo in
-uthr
help description (below
->above
). View pull requestsct_process_segmentation: Add references to Bédard and Cohen-Adad. View pull request
sct_register_multimodal: Add scaling to
sct_register_multimodal -dof
argument help. View pull request
REFACTORING
Replace
run_proc
calls withmain
calls across SCT’s scripts. View pull requestReplace
argv=None
default byargv: Sequence[str]
type hint. View pull requestSimplify
add_suffix
. View pull requestMove 5 unused scripts to
spinalcordtoolbox-dev
. View pull requestRemove unused
isct_
scripts from SCT’s CLI and test suite. View pull requestsct_check_dependencies: Convert
isct_test_ants
script into apytest
test, then call viasct_check_dependencies
. View pull requestsct_compute_snr, sct_dmri_moco, sct_fmri_moco, sct_maths, sct_process_segmentation: Call
parser.error
properly. View pull requestsct_dmri_denoise_patch2self: Deal with
nibabel
deprecation ofget_header
andget_data
. View pull requestsct_download_data: Refactor data downloading API to remove dependency on CLI script. View pull request
sct_merge_images: Tidy up PEP8 warnings and other small style issues. View pull request
sct_process_segmentation: Improve handling of default arguments. View pull request
math.py: Address
selem
deprecation by usingfootprint
. View pull requestshell.py: Let
Metavar
inherit fromstr
to silence PyCharm type warning. View pull request
CI
Upgrade Ubuntu 18.04 -> 20.04/22.04 in test suite. View pull request
Set
draft: true
in the release creation workflow. View pull requestPin
flake8<6.0.0
in our linting workflow. View pull request
5.7 (2022-07-28)¶
FEATURE
sct_process_segmentation,sct_extract_metric: Combine conditions when slice number and vertebral levels are both specified. View pull request
sct_register_to_template,sct_register_multimodal: Integration of DL multimodal registration in SCT. View pull request
Allow in-place installations (to support PRs from forks). View pull request
CI
Update GitHub Actions runners to match current (non-beta) up-to-date versions. View pull request
Add
install_sct.bat
as a release asset duringcreate-release.yml
workflow. View pull requestRemove coverage reporting via
codecov
. View pull requestRefactor release workflow into 3 stages to properly test PR branches. View pull request
Exclude
certifi @ file
from pip freeze to work around upstream conda bug. View pull requestExpand
batch_processing.sh
test to support macOS and Windows. View pull request
BUG
sct_propseg: Prevent from overwriting files by outputting to a tempdir prior to renaming. View pull request
sct_maths: Swap
if
forelif
to prevent error from being thrown when callingsct_maths -mi
. View pull requestsct_merge_images: Remove catch-all exception handling. View pull request
image.py: Use
shutil.copyfile
for output files if src/dest are on different filesystems. View pull requestsct_process_segmentation: Move CSA normalization models to
./data/
at the root of the SCT repo. View pull requestsct_maths: Rewrite
-add
/-sub
/-mul
/-div
to match expected behavior for 3D/4D images. View pull requestimage.py: Use absolutepath when loading images. View pull request
INSTALLATION
Repair automated commenting out of pre-4.0 sct settings. View pull request
requirements.txt: Pin
protobuf
to fix upstream Keras issue. View pull requestReplace pushd/popd with cd-in-a-subshell. View pull request
requirements.txt: Use CPU
--extra-index-url
to remove strict dependency pinning fortorch
. View pull requestsct_download_data: Use binaries that are packaged by the
spinalcordtoolbox-binaries
repo. View pull request
DOCUMENTATION
sct_merge_images: Clarify argparse help description. View pull request
Add new tutorial for contrast agnostic registration. View pull request
Update installation docs to make ‘checkout’ step less confusing. View pull request
ENHANCEMENT
sct_check_dependencies: Clean up FSLeyes version checking to be less verbose/confusing. View pull request
fslhd: Account for
None
orientation strings when printing image headers. View pull requestsct_deepseg_sc,sct_deepseg_gm,sct_deepseg_lesion: Replace Tensorflow/Keras-based inference (
.h5
) with onnxruntime (.ONNX
). View pull request
REFACTORING
utils.py: Unify calls to
shutil.move
by using onlyutils.fs.mv
. View pull requestReduce flake8 warnings throughout the codebase. View pull request
sct_label_vertebrae: Remove deprecation warning for previously-removed
gaussian_std
argument. View pull requestFix executable file permissions and remove unnecessary header declarations. View pull request
aggregate_slicewise.py: Update docstring for the
aggregate_per_slice_or_level
function. View pull requestsct_register_to_template,sct_register_multimodal: Fix circular and star importing in registration CLI scripts. View pull request
GIT/GITHUB
Delete the entire
dev/
folder from themaster
branch. View pull requestcreate-release.yml: Release directly from the
master
branch. View pull request
5.6 (2022-04-29)¶
FEATURE
sct_deepseg: Add model for T2w lumbar SC segmentation. View pull request
Add new native Windows install script and GitHub Actions CI runner. View pull request
CI
Add temporary skip for hardware-specific GitHub Actions runner issue. View pull request
Test release path in CI. View pull request
Replace CentOS 8 with CentOS Stream 8 to address December 2021 EOL. View pull request
BUG
sct_deepseg: Rewrite ANSI color code snippets to support terminals limited to 16-colors. View pull request
sct_label_vertebrae: Output a better error message when the initial disc is invalid. View pull request
Set a more permissive threshold for reading the qform. View pull request
sct_check_dependencies: Skip checking
isct_propseg
on Windows. View pull requestsct_analyze_texture: Stop using a tempfile for data reorientation. View pull request
Open CSV files using
newline=''
to fix\r\r\n
issue. View pull requestsct_run_batch: Check
isdir
directly, rather than trying to catchIsADirectoryError
. View pull requestsct_dice_coefficient: Update
CMakeLists.txt
to include bugfix for unresolved external symbol errors. View pull requestsct_run_batch: Account for non-UNIX platforms in
sys.platform
checks. View pull requestReplace hardcoded
/tmp
directory withtmp_path
. View pull requestClean-up Windows-incompatible hardcoded
/
path separators. View pull requestsct_run_batch: Add better support for shell script batch processing on Windows. View pull request
Improve how image overwriting is handled for memory-mapped data arrays on Windows. View pull request
sct_propseg: Attempt to fixup isct_propseg build (but ultimately skip sct_propseg on Windows). View pull request
sct_label_vertebrae: Refactor
-param
parsing to address several bugs. View pull requestsct_propseg: Fix parsing of
-d
argument in script. View pull requestsct_analyze_lesion: Fix computation of estimated lesion length and diameter. View pull request
Rewrite QC test to use
Pool.close()
to avoid stalling with pytest-cov. View pull requestsct_get_centerline: Stop appending
.nii.gz
to the centerline output filepath if-o
has an extension. View pull request
INSTALLATION
Suppress output of
where deactivate
check. View pull requestAllow
install_sct.bat
file execution from double click. View pull requestIsolate SCT script launchers from the
venv_sct/Scripts/
directory on Windows. View pull requestAdd
msvc-runtime
to our requirements to avoid DLL load error on Windows. View pull requestinstall_sct.bat
Only deactivate if script is available on PATH. View pull requestinstall_sct.bat
: Userequirements-freeze.txt
if present. View pull requestinstall_sct.bat
: Add a default value forgit ref
. View pull requestinstall_sct.bat
: Allow overwriting of existing spinalcordtoolbox installations. View pull requestinstall_sct.bat
: Use a non-admin way of adding SCT to the PATH. View pull requestrequirements.txt
: Update-f
link for PyTorch CPU HTML page. View pull requestRevert “requirements.txt -> setup.py” PR to restore old dependency-checking behavior. View pull request
DOCUMENTATION
Fix inaccurate comment in
batch_processing.sh
. View pull requestUpdate documentation build instructions. View pull request
Fix broken links to neuro.polymtl.ca. View pull request
Add links to the newly-updated 2021 SCT Course material. View pull request
Add new “Pipelines” page to the sidebar of SCT’s RTD documentation. View pull request
Split “SCT Courses” and “Tutorials” into two separate documentation pages. View pull request
sct_deepseg: Add new option
-list-tasks-long
to print in-depth descriptions of deepseg tasks. View pull request
ENHANCEMENT
Cosmetic fixes on
-list-tasks
. View pull requestAdd support for ITK-Snap + multiple viewers to
display_viewer_syntax
. View pull requestsct_label_vertebrae: Improve the label cleaning function. View pull request
REFACTORING
sct_label_vertebrae: Code cleanup. View pull request
Refactor
sys.platform
checks to include Windows and use.startswith()
idiom. View pull requestsct_label_vertebrae: Refactor argument parsing code. View pull request
Rename and move CLI tests from
testing/api/
totesting/cli/
. View pull request
5.5 (2022-01-26)¶
FEATURE
sct_deepseg: Add models for MP2RAGE SC and MS lesion segmentation. View pull request
sct_testing: Bring back previously-removed command as a light wrapper for
pytest
. View pull requestsct_deepseg: Add spinal cord/gray matter multiclass segmentation model for 7T data. View pull request
sct_dmri_denoise_patch2self: Add new Patch2Self CLI script for dMRI denoising. View pull request
CI
Switch to ‘informational mode’ to prevent Codecov failures for small changes. View pull request
tests.yml
: Update runners to no longer use Ubuntu 16.04. View pull requestAdd coverage via
codecov
. View pull request
BUG
Add utility function to strip ‘.py’ extensions. View pull request
sct_maths: Refactor
-symmetrize
function to fix dimension bug. View pull requestsct_compute_mtr: Convert input file to float32 before computing MTR. View pull request
sct_get_centerline: Make sure that the QC report displays properly. View pull request
Set
channel_axis=None
forpyramid_expand
to fix bug inskimage==0.19.0
. View pull requestsct_propseg: Fix argument parsing to ensure only the requested files are output. View pull request
Restore the argparse linewrapping behavior we had prior to Python 3.7. View pull request
sct_download_data: Update outdated mirror links. View pull request
Upgrade QC reports to use Qt5. View pull request
sct_resample: Make sure dimensions are correct for 4D images resampled with
-mm
. View pull requestsct_qc: Fix colormap for vertebral labeling in the QC report. View pull request
INSTALLATION
Allow
install_sct
to run from any directory. View pull requestUse
--ignore-installed
to preserve the version ofcertifi
that gets installed duringconda create
. View pull requestUse a more reliable way to disable USER_SITE. View pull request
requirements.txt
: Pinonnxruntime>=1.7.0
rather than==1.4.0
. View pull requestinstall_sct
: Skippip==21.2
to avoid suboptimal dependency resolver. View pull requestinstall_sct
: Replacesed -i
withperl -pi -e
. View pull requestinstall_sct
: Addtouch
fixes to address WSL connection issues. View pull requestFix multiple WSL issues related to installation and display. View pull request
Check CPU attributes to determine whether to install an AVX-less version of TensorFlow (M1 Macs, older Linux CPUs). View pull request
Remove
futures
from ourrequirements.txt
file. View pull requestUse Python 3.7 instead of Python 3.6 for SCT’s conda environment. View pull request
DOCUMENTATION
Add studies citing SCT. View pull request
Replace
sct_maths
withsct_separate_dmri_separate_dwi_and_b0
in tutorial dMRI preprocessing. View pull requestHelp differenciate Linux and WSL user on install documentation. View pull request
Add Uhrenholt et al. View pull request
Use furo-theme sanctioned dark mode colour controls. View pull request
Restore “Edit on GitHub” button. View pull request
Replace SCT Course 2020 iCloud link with Google Drive link. View pull request
sct_deepseg_sc: Indicate default value for
-brain
. View pull requestsct_register_to_template: Update help for 2+ labels usage, and change link from iCloud to RTD. View pull request
Fix typo in
studies.rst
(Kinawy -> Kinany). View pull requestRemove misleading
FSLeyes
installation instructions. View pull requestREADME.rst
: Fix typo. View pull requestwindows.rst
: Recommend echoing DISPLAY to ~/.profile, not .profile. View pull requestRemove leftover unnecessary
R|
formatting. View pull requestAdd Hernandez et al. View pull request
Add Staud et al. View pull request
Update testimonials and small documentation fixup. View pull request
Add studies. View pull request
Add PMJ-based CSA tutorial. View pull request
Update studies. View pull request
fsleyes.rst
: Fix typo (Installating -> Installing). View pull requestAdd tutorials for the remaining material from the SCT Course. View pull request
ENHANCEMENT
sct_download_data: Add default output folders for dataset downloads. View pull request
REFACTORING
Remove
channel=None
bugfix that was superseded by upstreamskimage=0.19.1
patch. View pull request
GIT/GITHUB
Update broken link in PULL_REQUEST_TEMPLATE.md. View pull request
Clean up
install/
,issues/
, andflirtsch/
folders in repo. View pull request
5.4 (2021-09-24)¶
FEATURE
sct_process_segmentation: Add CSA normalization in
sct_process_segmentation
. View pull requestsct_register_multimodal: Add
-owarpinv
tosct_register_multimodal
. View pull requestsct_maths: Introduce
-uthr
(upper threshold) to complement-thr
(lower threshold) in sct_maths. View pull requestsct_process_segmentation: Add PMJ-based CSA in
batch_processing.sh
. View pull requestsct_compute_snr: Implement new method to compute SNR on a single 3D volume. View pull request
sct_process_segmentation: Measure CSA based on distance from pontomedullary junction (PMJ). View pull request
sct_process_segmentation,sct_qc: Add QC report for
sct_process_segmentation
for PMJ-based CSA. View pull requestsct_compute_snr: Add
-o
argument to output SNR value to a text file. View pull requestsct_qc: Display soft segmentation in qc report. View pull request
sct_run_batch: Make it possible to loop across “ses-” entity. View pull request
sct_dmri_display_bvecs: Allow
sct_dmri_display_bvecs.py
to display multi-shell acquisition. View pull request
CI
Upgrade Ubuntu versions in test suite. View pull request
Modify
lint_code.yml
to try to make it work for PRs from forks.. View pull requestImprove the readability of the test suite. View pull request
Add
workflow_dispatch
for test suite workflows. View pull requestAdd GitHub Actions workflow to publish a new release. View pull request
BUG
sct_check_dependencies: Import
pyplot
beforePyQt
to mitigate a finickylibgcc_s.so.1
error. View pull requestsct_smooth_spinalcord: Fix the output files of
sct_smooth_spinalcord
(smooth.nii.gz
,straight_ref.nii.gz
). View pull requestFix-up broken test for
sct_compute_snr
. View pull requestsct_register_to_template,sct_register_multimodal: Apply softmask workaround to
slicereg
algorithm. View pull requestsct_qc: Fix display of PMJ in QC report. View pull request
sct_qc: Check if input segmentation is binary for QC report. View pull request
sct_plugin.py (FSLeyes): Fix FSLeyes script to make it compatible with both FSLeyes v0.34 and v1.0. View pull request
Don’t set the global loglevel when CLI scripts are called in-code. View pull request
sct_register_multimodal: Don’t output
dest->src
files if registration is only performed one-way. View pull requestsct_propseg: Fix
rescale_header is not 1
because the default value is1.0
. View pull requestsct_process_segmentation: Prevent metric calculation for empty slices by checking if array is ~0. View pull request
sct_label_utils: Ensure a copy of the header is used in
zeros_like
to fix-create-viewer
bug. View pull requestsct_dmri_display_bvecs: Add test for
sct_dmri_display_bvecs
, then add-v
argument to make the test pass. View pull requestsct_dmri_moco: Fix
-bvals
filepath handling and update bvals argparse help. View pull requestsct_resample: Make sure TR parameter isn’t lost when resampling 4D images. View pull request
sct_apply_transfo: Change
sct_apply_transfo -v 0
to matchisct_antsApplyTransform
output. View pull request
INSTALLATION
sct_check_dependencies: Don’t crash on non-ImportError exceptions when checking dependencies. View pull request
Stop trying to detect headless systems using
DISPLAY
, and no longer setMPLBACKEND
. View pull requestThrow error during installation if
$SCT_DIR
contains spaces. View pull request
DOCUMENTATION
Update references. View pull request
Fix inconsistent description on
studies.rst
page. View pull requestUpdate references. View pull request
Replace blue/gray SCT logo images with transparent logo image. View pull request
Add studies. View pull request
Reformatting the references for SCT docs. View pull request
Fix hover colour on sidebar of docs. View pull request
Fix CSS colour formatting bug with new Furo theme. View pull request
sct_detect_pmj: Clarified usage in PMJ detection script. View pull request
Add reference Vallotton et al.. View pull request
Fix typo (
sct_deepsec_sc
->sct_deepseg_sc
). View pull requestRemove misleading info about unsupported installation/usage methods (pip, API). View pull request
sct_denoising_onlm: Added bibliography reference. View pull request
Fix missing words in testimonials. View pull request
Add dark red formatting for argparse errors. View pull request
Remove instructions for installing FSLeyes in the SCT conda environment. View pull request
New Theme for Docs. View pull request
sct_register_to_template,sct_register_multimodal: Add multiple tutorial pages covering the “Registration” material from the SCT course. View pull request
ENHANCEMENT
Skip redownloading
sct_testing_data/
if the directory already exists. View pull requestsct_detect_pmj: Removal of scary message for user by changing certain function call parameters. View pull request
sct_detect_pmj: Improve R-L placement in
sct_detect_pmj
. View pull requestsct_qc: Add QC field in .yml list for
sct_detect_pmj
. View pull requestFix table size and scrolling in the QC report. View pull request
REFACTORING
Update outdated information + PEP8 fixes in
setup.py
. View pull requestClean up scattered/broken tests and move into a single folder. View pull request
Test
batch_processing.sh
values by indexing column name, not number. View pull requestModify
zeros_like
to no longer make a copy, and to avoid rescaling. View pull requestsct_testing: Replace all 45
sct_testing
tests with Pytest equivalents. View pull requestRemove generate_path from methods in Image class. View pull request
GIT/GITHUB
Replace
neuropoly/spinalcordtoolbox
withspinalcordtoolbox/spinalcordtoolbox
. View pull request
5.3.0 (2021-04-25)¶
FEATURE
sct_image: Handle affine matrix mismatches better by exposing
-set-qform-to-sform
. View pull requestsct_extract_metric: Implemented weighted median. View pull request
sct_dmri_moco,sct_fmri_moco,sct_qc: Implement QC for sct_dmri_moco and sct_fmri_moco. View pull request
sct_image: Add flag to
sct_image
to print image headers. View pull requestsct_download_data: Add entry to download exvivo template. View pull request
sct_register_to_template: Added flag -s-template-id to use another segmentation (e.g. white matter) for registration to template. View pull request
sct_qc: Interactive QC assessment: Add Pass/Fail/Artifact and download YAML file. View pull request
CI
Remove remaining Travis-related files and replace badge. View pull request
Use ‘extend-ignore’ in flake8 config to preserve defaults. View pull request
Run and test batch_processing.sh using GitHub Actions. View pull request
Port CI to Github Actions. View pull request
BUG
sct_run_batch: Fully isolate the conda env by its site.py. View pull request
sct_image: Various fixes to sct_image -display-warp. View pull request
sct_image: Fix faulty check for
arguments.set_sform_to_qform
. View pull requestsct_deepseg: Update model and fixed default output suffix. View pull request
Update outdated
sct_register_graymatter
command inbatch_processing.sh
. View pull requestsct_run_batch: Unset
PYTHONNOUSERSITE
in environment before calling batch script. View pull requestsct_register_to_template: Fixed right-left flip if template is not RPI and other minor improvements. View pull request
Use less strict value for
rel_tolerance
in thebatch_processing.sh
test. View pull requestsct_deepseg: Unpin ivadomed to get latest version and fix wrong q/sform_code output. View pull request
Replace instances of ‘sct_convert.convert’ with ‘image.convert’. View pull request
sct_label_vertebrae,sct_warp_template: Replace ANTs binary call with sct_apply_transfo call to properly set sform. View pull request
sct_create_mask: Create 2d masks in memory instead of via intermediate files. View pull request
sct_label_vertebrae: Handle ‘label_discs’ case where SC segmentation has holes/discontinuities. View pull request
sct_dice_coefficient: Uniquely distinguish filenames for tmp files to prevent overwriting. View pull request
Decrease the sensitivity of the sform/qform mismatch check. View pull request
DOCUMENTATION
Added testimonials; improvements on the documentation. View pull request
Add ref Savini et al. View pull request
Add ref Zhang et al. View pull request
Add ref Tinnermann et al.. View pull request
Drop
yes |
from the docs. View pull requestAdd ref Lee et al. View pull request
Add reference Azzarito et al. View pull request
Remove TODO from Introduction docs. View pull request
ENHANCEMENT
Update moco commands in
batch_processing.sh
to include QC. View pull request
GIT/GITHUB
Add GH Actions workflow that automates Changelog PR. View pull request
Add checklist item to pull request template for ‘Milestone’ label. View pull request
5.2.0 (2021-02-24)¶
FEATURE
sct_deepseg: New segmentation model: GM and WM for exvivo DWI data (University of Queensland). View pull request
BUG
sct_register_to_template: Enforce UINT8 when resampling labels for register to template. View pull request
Fix size calculation bug for ‘-method map’ and ‘-method ml’. View pull request
Fix recently-introduced faulty slice index comparison. View pull request
Fix unit_testing/test_labels.py::test_remove_missing_labels. View pull request
DOCUMENTATION
Add reference Ost et al.. View pull request
Add reference Johnson. View pull request
Move course materials to “Tutorials” page for visibility. View pull request
Update Installation section in docs for MacOS Big Sur, add section for FSLeyes. View pull request
Add ref solanes. View pull request
Update FSLeyes install instructions for Win10/WSL. View pull request
Update references. View pull request
Fix line breaks in documentation. View pull request
sct_extract_metric,sct_process_segmentation: Validate ‘-vertfile’ dimensions in aggregate_per_slice_or_level(). View pull request
ENHANCEMENT
Modify tests to clean up after themselves in the working directory. View pull request
Remove xdist from requirements and pytest config. View pull request
sct_image,sct_straighten_spinalcord: Check qform and sforms match first. View pull request
REFACTORING
sct_image: Refactor sct_image functions to accept Image objects as input . View pull request
sct_maths: Refactor sct_maths callers to remove subprocess and use API. View pull request
GIT/GITHUB
Lint pull requests using flake8 GH Actions workflow. View pull request
Add config that links to SCT forum and removes blank issues. View pull request
5.1.0 (2021-01-22)¶
FEATURE
sct_concat_transfo: Restore previously deprecated sct_concat_transfo.py. View pull request
sct_deepseg: Support of multichannel and multiclass models. View pull request
sct_label_utils: Add function to detect missing label. View pull request
DOCUMENTATION-INTERNAL
Add script to automate requirements-freeze.txt generation. View pull request
BUG
sct_compute_hausdorff_distance,sct_dmri_compute_dti: Fix bugs introduced by recent init step refactoring pull request. View pull request
sct_propseg: Replace os.path.dirname with pathlib.Path().parent. View pull request
sct_deepseg,sct_run_batch: Make sure (most) scripts return error code and print usage when no args are passed. View pull request
sct_label_utils: Add new ‘-create-seg-mid’ option to replace bugged ‘-create-seg -1’ behavior. View pull request
Replace “argv if argv else ‘–help’” behavior with subclassed ArgumentParser. View pull request
Replace troublesome unicode quote characters with more friendly ones. View pull request
Fixup realpath polyfill. View pull request
Fix incorrect indexing in get_center_spit to prevent QC report cropping. View pull request
Forces output label image to be UINT8 with -create-viewer. View pull request
Check that conda actually activated during install.. View pull request
sct_label_vertebrae: Change Error type so program doesn’t quit when labels are too high. View pull request
Set PYTHONNOUSERSITE=True to prevent user site packages from interfering. View pull request
Bump ivadomed version to 2.5.0. View pull request
sct_label_vertebrae: Fixed missing top disc label with using -discfile . View pull request
sct_label_vertebrae: Obsolete -denoise functionality. View pull request
Fix API importing scripts. View pull request
INSTALLATION
Remove tensorboard==1.14.0 version pinning from requirements.txt. View pull request
Fixup realpath polyfill. View pull request
Check that conda actually activated during install.. View pull request
Turn on stricter shell rules + maintainence. View pull request
Add improvements to recent tensorflow-tensorboard fix. View pull request
Fix version parsing to support Big Sur (11.0). View pull request
DOCUMENTATION
Updated badge from travis.org to travis.com. View pull request
Add the Twitter badge. View pull request
Organize “Specific references” into clearer tables . View pull request
Update references.rst. View pull request
sct_deepseg_sc: Update reference. View pull request
sct_straighten_spinalcord: Readability of parameters. Fixed -ldisc-input and -ldisc-dest typos. View pull request
Documentation fixes. View pull request
Update references. View pull request
Fix link reference. View pull request
sct_run_batch: Update sct_run_batch argparse descriptions to clarify ‘-itk-threads’ usage. View pull request
Update references. View pull request
Enable fail on warning in RTD. View pull request
ENHANCEMENT
Various improvements for the manual labeling of cord centerline. View pull request
sct_deepseg: Add option to have a custom task. View pull request
sct_run_batch: Print actual numbers of jobs run in parallel.. View pull request
Update tumor segmentation models. View pull request
Change default option values to None. View pull request
sct_deepseg_sc,sct_detect_pmj,sct_propseg: Implement -o flag for a few functions. View pull request
sct_label_utils: Update -create-viewer argument to use parse_num_list function. View pull request
sct_label_vertebrae: Check that there is two inputs for initz. View pull request
sct_register_multimodal: Introduced flags samplingStrategy and samplingPercentage for ANTs calls; Set default to ‘None’ to ensure reproducible results. View pull request
REFACTORING
Refactor CLI init steps to be consistent across scripts. View pull request
Fix API importing scripts. View pull request
GIT/GITHUB
Add slightly modified PR template from shimming-toolbox. View pull request
5.0.1 (2020-11-12)¶
CI
Travis: Add 10.15 (Catalina), update 10.14 (Mojave) image. View pull request
BUG
sct_process_segmentation: Add missing type information to argument in sct_process_segmentation. View pull request
Pin onnxruntime==1.4.0 to avoid libomp issue on macOS. View pull request
DOCUMENTATION
sct_label_utils: sct_label_utils.py: Clarify -create-seg usage description. View pull request
RTD: Re-enable showing version text underneath logo. View pull request
ENHANCEMENT
sct_run_batch: sct_run_batch: handle the case of unexecutable script. View pull request
sct_label_utils: sct_label_utils.py: Add message for generated files. View pull request
Display command when scripts are called from the command-line. View pull request
REFACTORING
sct_deepseg: Refactor deepseg/core.py into sct_deepseg and update relevant test. View pull request
5.0.0 (2020-11-07)¶
FEATURE
sct_get_centerline,sct_qc: Implement QC sct_get_centerline. View pull request
sct_run_batch: Disabling progress bars. View pull request
sct_label_utils,sct_qc: Implemented QC report for sct_label_utils. View pull request
BUG
Logging and printing fixes. View pull request
Restore subpackage module imports to fix test errors. View pull request
Fix incorrect checking of input arguments. View pull request
sct_register_to_template: sct_register_to_template: Fix ‘%’ in argparse iCloud help links. View pull request
INSTALLATION
sct_utils: Explicit listing of console scripts. View pull request
Retrieve data bundles from their new location. View pull request
DOCUMENTATION
Update sct_extract_metric help to fix RTD error + fix outdated usage. View pull request
Add “Segmentation” tutorial to RTD that mirrors SCT course contents. View pull request
fix doc build warnings + associated bug. View pull request
Update Win10 WSL installation information (Move from Wiki to RTD, update recommendations for FSLEyes/WSL1). View pull request
Update LICENSE to LGPLv3. View pull request
Automatically show defaults in argparse help descriptions. View pull request
ENHANCEMENT
sct_extract_metric: Introduce flag to list labels. View pull request
sct_register_to_template: Fixes inconsistencies between PAM50 levels and cord. View pull request
Use SystemExit not sys.exit & only on error paths.. View pull request
fsleyes: allow user to specify output folder. View pull request
sct_image: sct_image: -copy-header should use -o as output file. View pull request
sct_concat_transfo: Deprecate sct_concat_transfo + refactor callers. View pull request
sct_maths: sct_maths: Convert usage of convert_list_str to use list_type. View pull request
sct_run_batch: Prevent crash if folder already exists. View pull request
msct_parser: Convert 11-20 out of 20 remaining scripts from msct_parser to argparse. View pull request
sct_run_batch: Fix thread reporting, early termination, and indentation error in sct_run_batch. View pull request
msct_parser: Convert 1-10 out of 20 remaining scripts from msct_parser to argparse. View pull request
sct_apply_transfo: Clarified cropping strategy for sct_apply_transfo; remove warning. View pull request
sct_run_batch: Various improvements. View pull request
sct_run_batch: Introduced variable PATH_DATA_PROCESSED. View pull request
sct_deepseg: Accommodate a cascade of deep learning models. View pull request
Improvements for the FSLeyes plugin. View pull request
sct_run_batch: Various improvements: create log, send email, config file, include/exclude list of subjects. View pull request
REFACTORING
msct_parser: Remove msct_parser and clean up remaning usage. View pull request
Convert argparse ‘0’/’1’ options to be typed as ints rather than strings. View pull request
4.3 (2020-06-11)¶
BUG
sct_label_vertebrae: Fixed -initlabel problem with file naming. View pull request
sct_utils: Fix and move send_email. View pull request
sct_qc: Fix out of order plots. View pull request
sct_label_utils: sagittal dialog: fixes error when trying to access out of bound slice. View pull request
sct_register_multimodal: Fixed forgot to reorient mask. View pull request
sct_label_vertebrae: -initz flag and label value correction. View pull request
sct_qc: Test for parallel qc crash. View pull request
Replace parser.usage.generate with parser.error. View pull request
ENHANCEMENT
sct_download_data: Moved sct_download_data functions to new download module. View pull request
SCT logo fix in FSLeyes. View pull request
sct_run_batch: Flag -s added to force sequential analysis even if GNU parallel is installed. View pull request
FEATURE
Added useful formatting to compare SCT versions; introduced sct_version. View pull request
sct_get_centerline: Fit centerline across all slices with input segmentation. View pull request
sct_deepseg,sct_download_data: Centralized all deep learning segmentation tasks with new function “sct_deepseg” and refactored sct_download_data. View pull request
sct_dmri_moco,sct_fmri_moco: Now possible to use soft mask, bug fixes and various improvements. View pull request
parameters_example.sh: Now defined a relative PATH_PARENT. View pull request
sct_maths: Enable 2D kernel for morpho math operations and various improvements. View pull request
sct_apply_transfo: Fixed compatibility between SCT/ANTs and FSL warping fields. View pull request
DOCUMENTATION
Fix argparse linewrap for R| strings. View pull request
Added video recording of the London 2020 course. View pull request
Update badge for discourse forum. View pull request
sct_dmri_concat_b0_and_dwi: Clarified documentation. View pull request
Added tutorial to install SCT with WSL for Windows users. View pull request
Fixed README forum link. View pull request
INSTALLATION
Drop support for 2014-era Linux.. View pull request
Minimal Torch install.. View pull request
sct_dmri_moco,sct_fmri_moco: Updated ANTs binaries to solve slow processing in some systems. View pull request
Downgraded TensorFlow to 1.5 to fix AVX incompatibility. View pull request
TESTING
Added CI for Windows Subsystem for Linux (WSL). View pull request
sct_get_centerline: Relax test tolerance for centerline polyfit. View pull request
Add polynomial function to dummy_segmentation. View pull request
create_test_data: move to spinalcordtoolbox.testing. View pull request
4.2.2 (2020-02-28)¶
BUG
sct_maths: Fixed missing type when using erode feature. View pull request
sct_crop_image: Fixed flag -b crops instead of masking. View pull request
sct_crop_image: Fixed problem with parameters xmax, ymax and zmax. View pull request
sct_deepseg_sc,sct_utils: Check if input data is 3D or 2D. View pull request
ENHANCEMENT
sct_deepseg_gm,sct_deepseg_lesion,sct_deepseg_sc: build(deps): bump tensorflow from 2.0.0 to 2.0.1. View pull request
Added more functions to the FSLeyes plugin. View pull request
DOCUMENTATION
sct_qc: Fixed QC display syntax for Docker users. View pull request
4.2.1 (2020-01-14)¶
BUG
sct_warp_template: Fixed generation of QC report. View pull request
sct_register_multimodal: Fixed bug related to missing output file. View pull request
ENHANCEMENT
sct_utils: Changed default open command for Linux. View pull request
sct_deepseg_sc,sct_label_vertebrae: Better error handling if installation files are missing and clarified help. View pull request
INSTALLATION
Added gcc as installation pre-requisite with useful instructions. View pull request
4.2.0 (2019-12-19)¶
ENHANCEMENT
sct_register_multimodal,sct_register_to_template: New method for detecting rotation in centermassrot. View pull request
FEATURE
sct_register_to_template: Spinal-level-based registration to the PAM50. WARNING: Breaks compatibility with previous versions of SCT. View pull request
DOCUMENTATION
Added info for running SCT via Vbox. View pull request
INSTALLATION
Now using requirements-freeze.txt for installing stable releases. View pull request
install/sct_changelog: Fixed bug when fetching previous release tag. View pull request
Removed Darwin=15 case in requirements.txt and added OS checks during installation. View pull request
4.1.1 (2019-11-28)¶
BUG
sct_register_to_template: Fixed cropping of registered image. View pull request
sct_run_batch: Fixed issue when passing absolute path to script. View pull request
FEATURE
sct_apply_transfo: Added an option for keypoints transformation. View pull request
sct_label_utils: Now possible to add existing label from an external file in the create-viewer option. View pull request
DOCUMENTATION
README: Added link to Youtube tutorials. View pull request
INSTALLATION
sct_viewer: PyQt5 version downgrade to fix GUI on Debian 8.11 distros. View pull request
sct_check_dependencies: Increased sensitivity of dependency testing. View pull request
4.1.0 (2019-10-26)¶
BUG
sct_compute_mtr: Fixed aberrant mtr values. View pull request
sct_process_segmentation: Fixed wrong orientation with new version of scikit-image. View pull request
sct_maths: Fixed deprecation with adaptative thresholding. WARNING: Breaks compatibility with previous versions of SCT. View pull request
sct_deepseg_sc: Fixed segmentation issue that mostly appeared on DWI data. WARNING: Breaks compatibility with previous versions of SCT. View pull request
sct_qc,sct_resample: QC report: Fixed shift along slice direction between image and overlay. View pull request
sct_straighten_spinalcord: Fixed shape mismatch during straightening. View pull request
sct_denoising_onlm: Fix index error and display fsleyes command. View pull request
ENHANCEMENT
sct_resample: Raise error if trying to resampling to size zero. View pull request
sct_deepseg_sc: Fix deepseg threshold (again). View pull request
sct_deepseg_sc: Fine-adjustment of threshold for binarization of soft segmentation. View pull request
sct_qc: Fixed up/down dysfunction in the qc report . View pull request
sct_crop_image: Improved CLI, fixed bug with the GUI and refactored into module. WARNING: Breaks compatibility with previous versions of SCT. View pull request
sct_deepseg_sc: Remove isolated voxels at the edge of the output segmentation. View pull request
sct_download_data: Check if folder already exists by checking its actual name, not the name of the entry to -d flag. View pull request
FEATURE
sct_qc: Added button to toggle overlay and removed automatic fading. View pull request
sct_dmri_concat_b0_and_dwi: New script to concatenate b0 and dwi data. View pull request
sct_process_segmentation: Compute cord length. View pull request
DOCUMENTATION
Better management of CLI syntax in case mandatory arguments are missing. View pull request
INSTALLATION
sct_download_data: Fixed issue that appeared when trying to remove temporary folder from different file systems. View pull request
4.0.2 (2019-09-04)¶
BUG
sct_straighten_spinalcord: Fixed wrong input arguments. View pull request
sct_fmri_moco: Replaced sct.mv with shutil.copyfile for tmp space issue. View pull request
4.0.1 (2019-08-17)¶
BUG
sct_dmri_compute_dti: Fixed flag ‘-evecs’ not detecting input as of type int. View pull request
sct_image: Fixed -setorient-data giving wrong results. View pull request
sct_image: Proper handling of int arguments contained in list type input. View pull request
sct_process_segmentation: Fixed wrong morphometric measures with anisotropic in-plane resolution. View pull request
Change canvas axes for image placement.. View pull request
ENHANCEMENT
sct_process_segmentation: Corrected wrong slice information on QC output. View pull request
sct_apply_transfo: Fixed q/sform on transformed image. View pull request
INSTALLATION
sct_resample: Dropped dependency to nipy. WARNING: Breaks compatibility with previous versions of SCT. View pull request
Check if gcc is installed. View pull request
Modify bashrc on sudo. View pull request
4.0.0 (2019-08-04)¶
BUG
sct_crop_image: Fixed bug when using GUI (flag -g). View pull request
sct_label_vertebrae: Fixed misplaced label in non-RPI data for initializing vertebral labeling. View pull request
sct_qc: Fixed corruption of QC json file when running parallel jobs. View pull request
sct_label_vertebrae: Fixed bug that appeared when inputing uncompressed nifti file. View pull request
sct_label_vertebrae: Fixed bug in the post processing of detect_c2c3. View pull request
sct_propseg: Fixed ignored -init flag and minor improvements. View pull request
sct_deepseg_lesion,sct_deepseg_sc: Fixed bug and clarified usage of -centerline viewer. View pull request
sct_dmri_moco,sct_fmri_moco: Work around “too many open files” by slurping the data. View pull request
sct_straighten_spinalcord: Fixed crash caused by wrong estimation of centerline length in case of incomplete segmentation. View pull request
sct_extract_metric: Fixed bug in method max. View pull request
sct_flatten_sagittal: Fix bugs related to image scaling. View pull request
sct_label_vertebrae: Fixed path issue when using -initlabel flag. View pull request
sct_get_centerline: Convert data to float before intensity rescaling (in optic). View pull request
sct_deepseg_lesion,sct_deepseg_sc: Fixed ValueError and IndexError. View pull request
sct_register_to_template: Fixed regression bugs. View pull request
ENHANCEMENT
batch_processing.sh: Replaced propseg by deepseg_sc. View pull request
batch_processing.sh: QC report is now generated locally. View pull request
msct_parser: Conversion from msct_parser to argparse. View pull request
sct_qc: Allow the possibility to discard column of choice on the output html QC report. View pull request
sct_process_segmentation,sct_straighten_spinalcord: Improve quality of straightening. View pull request
sct_deepseg_lesion,sct_deepseg_sc: Output segmentation in uint8 when input is float. View pull request
sct_qc: Added automatic data sorting in the QC report. View pull request
sct_fmri_moco: Enabling the extraction of fMRI motion correction parameters. View pull request
sct_qc,sct_resample: Fixed resampling method with reference image and improved speed for generating QC report. View pull request
sct_compute_mtr: Added output file and/or folder flag. View pull request
sct_compute_snr: Make consistent STD calculation between sct_fmri_compute_tsnr and sct_compute_snr. View pull request
Clarify handling of logger, error and exceptions. View pull request
msct_register,sct_register_multimodal,sct_register_to_template: Refactoring to allow use of im AND seg in the registration process. View pull request
sct_get_centerline,sct_straighten_spinalcord: Increased smoothness of default bspline centerline fitting algorithm . View pull request
sct_get_centerline: Remove Optic temp files by default. View pull request
sct_qc: Lock qc report during generation. View pull request
sct_process_segmentation: Major modifications to simplify usage and fix various issues with shape analysis. View pull request
sct_process_segmentation: Minor fix in usage and csv output. View pull request
sct_warp_template: Faster execution and other minor improvements. View pull request
sct_qc: Various improvements on the QC report and resampling module. View pull request
sct_process_segmentation: Major refactoring of centerline routine. WARNING: Breaks compatibility with previous versions of SCT. View pull request
sct_label_vertebrae: Removed support for -initc2 flag because there is an alternative approach with sct_label_utils. WARNING: Breaks compatibility with previous versions of SCT. View pull request
sct_extract_metric: Expose aggregate_slicewise() API and various improvements. WARNING: Breaks compatibility with previous versions of SCT. View pull request
sct_register_to_template: Updated PAM50 template header to be in the same coordinate system as the MNI template. WARNING: Breaks compatibility with previous versions of SCT. View pull request
sct_qc: Various improvements. View pull request
sct_deepseg_lesion,sct_deepseg_sc: deepseg_sc: Speed processing up . View pull request
sct_qc: QC now scales images based on physical dimensions (previously based on voxels). View pull request
sct_process_segmentation: Major refactoring to bring few improvements. WARNING: Breaks compatibility with previous versions of SCT. View pull request
FEATURE
sct_qc: Add CSA results on QC report . View pull request
sct_extract_metric: Added flag to combine all labels. View pull request
sct_dmri_compute_dti: Output DTI Eigenvalues. View pull request
sct_qc: New API to generate QC reports. View pull request
sct_label_vertebrae: Added possibility to rescale intervertebral disc distance and various improvements. View pull request
sct_register_to_template: Now possible to specify the type of algorithm used for cord straightening. View pull request
sct_label_vertebrae: spinalcordtoolbox/vertebrae/detect_c2c3 – New module. View pull request
sct_compute_snr: Now possible to output SNR map, removed requirement for inputing mask, and few other improvements. WARNING: Breaks compatibility with previous versions of SCT. View pull request
sct_dmri_separate_b0_and_dwi: sct_dmri_separate_b0_and_dwi: Now append suffix to input file name to prevent conflicts. WARNING: Breaks compatibility with previous versions of SCT. View pull request
sct_smooth_spinalcord: Enable to set smoothing parameters in all axes. WARNING: Breaks compatibility with previous versions of SCT. View pull request
DOCUMENTATION
sct_label_vertebrae: Updated documentation on how to create vertebral and disc labels. View pull request
sct_changelog: Few improvements on automatic Changelog generation. View pull request
INSTALLATION
Fixed compatibility with OSX 10.11 (El Capitan). View pull request
Fixed Keras/Tensorflow compatibility with CentOS 7 by downgrading to Python 3.6. View pull request
Using Python 3.x for default installation. View pull request
Fixed installation error caused by old SSL module. View pull request
First pass at also supporting pip installations. View pull request
TESTING
Travis: Adding distribs and displaying allow_failures. View pull request
sct_deepseg_lesion,sct_deepseg_sc: Added new unit tests. View pull request
v3.2.7 (2018-10-29)¶
BUG
sct_fmri_moco: Fixed regression bug related to the use of a mask View pull request
msct_nurbs: Fixed singular matrix error View pull request
ENHANCEMENT
sct_extract_metric: Do not zero negative values View pull request
v3.2.6 (2018-10-16)¶
BUG
sct_propseg: Reordered variable assignment View pull request
sct_straighten_spinalcord: Fixed AttributeError related to conversion of numpy array to list View pull request
sct_create_mask: Few fixes and improvements View pull request
ENHANCEMENT
sct_get_centerline: Use the new viewer View pull request
sct_fmri_moco: Generalize motion correction for sagittal acquisitions and other improvements View pull request
FEATURE
sct_straighten_spinalcord: Few fixes and improvements View pull request
sct_deepseg_sc/lesion: Allow to input manual or semi-manual centerline View pull request
v3.2.4 (2018-08-24)¶
BUG
Updated URL for PAM50 View pull request
sct_register_to_template: Fixed wrong projection in case labels not in same space View pull request
sct_extract_metric: Fixed recently-introduced bug related to output results View pull request
ENHANCEMENT
Few fixes in sct_extract_metric and batch processing outputs View pull request
sct_dmri_compute_dti: Output tensor eigenvectors View pull request
Totally pimp the Image Slicer (to act like a sequence, to slice many images), and add unit tests for the slicer View pull request
Second pass at image refactoring View pull request
v3.2.3 (2018-07-21)¶
This release notably brings a useful feature, which now makes it possible to use single-label with -l flag for registration to the template. This feature was required by the recently-introduced analysis pipeline for multi-parametric data when FOV is systematically centered at a particular disc or mid-vertebral level. View detailed changelog
BUG
sct_register_multimodal
: Fixed bug when using partial mask with algo=slicereg View pull request
ENHANCEMENT
sct_propseg
: Labels and centerline are now output with correct header if -rescale is used View pull requestAdding a batch size of 4 for all deep learning methods. View pull request
FEATURE
sct_register_to_template
: Enable single-label with -l flag View pull request
v3.2.2 (2018-07-08)¶
Major changes to this release include a fix to SCT installation on OSX laptops with non-English encoding language. Another important fix is the inclusion of the link in sct_download_data
for downloading the Paris’18 SCT course material. A nice enhancement is the possibility to calculate metrics slice-wise or level-wise in sct_extract_metric
. View detailed changelog
View detailed changelog
BUG
sct_label_vertebrae: Added subcortical colormap for fslview View pull request
sct_flatten_sagittal: Fixed wrong indexation View pull request
ENHANCEMENT
sct_deepseg_gm: Lazy loading module: now faster when calling usage View pull request
sct_propseg: Now possible to rescale data header to be able to segment non-human spinal cord (mice, rats, etc.) View pull request
sct_deepseg_gm: Adding TTA (test-time augmentation) support for better segmentation results View pull request
sct_deepseg_gm: Removed restriction on the network input size (small inputs): Fixes bug that appeared when inputting images with small FOV View pull request
sct_deepseg_sc: Reducing TensorFlow cpp logging verbosity level View pull request
sct_extract_metric: Now possible to calculate metrics slice-wise or level-wise View pull request
DOCUMENTATION
Added documentation for installing SCT on Windows using Docker View pull request
Added information on the README about how to update SCT from git install View pull request
Updated documentation and added link to the data for the SCT course in Paris View pull request
INSTALLATION
Use pip install -e spinalcordtoolbox to gain flexibility View pull request
Local language support (LC_ALL) added to installation& launcher on macOS View pull request
TESTING
Removed sct_register_graymatter (obsolete old code) from sct_testing functions View pull request
Implemented multiprocessing and argparse in sct_testing, and other improvements related to Sentry View pull request
3.2.1 (2018-06-12)¶
This release fixes a few bugs, notably one related to template registration when using disc-based alignment. It also features an improved version of sct_deepseg_sc with the introduction of 3D kernel models, as well as a more accurate segmentation on T1-weighted scans. The main documentation now includes a link to a new collection of repositories: sct-pipeline, which gathers examples of personalized analysis pipelines for processing spinal cord MRI data with SCT. View detailed changelog
BUG
Skip URL if filename isn’t provided by HTTP server; catch anything in URL try loop View pull request
Fixed registration issue caused by labels far from cord centerline View pull request
Fixed wrong disc labeling and other minor improvements View pull request
Added test to make sure not to crop outside of slice range View pull request
Forcing output type to be float32 View pull request
Fixed z_centerline_voxel not defined if -no-angle is set to 1 View pull request
ENHANCEMENT
Adding threshold (or not) option for the sct_deepseg_gm View pull request
Manual centerline is now output when using viewer View pull request
Added CNN for centerline detection, brain detection and added possibility for 3d CNN kernel View pull request
Fixed verbose in QC, integrated coveralls View pull request
Now possible to specify a vertebral labeling file when using -vert View pull request
DOCUMENTATION
Added link to github.com/sct-pipeline View pull request
INSTALLATION
Adapted final verbose if user decided to not modify the .bashrc View pull request
TESTING
Coveralls added to Travis to prevent build failure View pull request
3.2.0 (2018-05-29)¶
This release includes: a new example dataset (now includes T2*-w and fMRI data) with an updated batch_processing.sh, a new function to compute MT-saturation effect (sct_compute_mtsat), an improved straightening that can account for inter-vertebral disc positions to be used alongside sct_register_to_template for more accurate registration, and few improvements on sct_pipeline and quality control (QC) report generation. View detailed changelog
BUG
Fixed sct_pipeline if more than two -p flags are used View pull request
Fixed re-use of the same figure during QC generation View pull request
sct_deepseg_sc - Issue when input is .nii instead of .nii.gz View pull request
Fslview no more called at the end of process if it it deprecated View pull request
Fixing the TensorFlow installation for some old platforms. View pull request
Re-ordering of 4th dimension when apply transformation on 4D scans View pull request
Fix “-split” option issues on sct_image View pull request
ENHANCEMENT
Updated batch_processing and sct_example_data with new features View pull request
Various fixes for sct_pipeline View pull request
sct_pipeline: store metadata in Pickle report View pull request
Adding volume-wise standardization normalization for the sct_deepseg_gm View pull request
Make sct_get_centerline robust to intensities with range [0, 1] View pull request
Improved doc and minor fixes with centerline fitting View pull request
Make sct_process_segmentation compatible with the new ldisc convention View pull request
Removed flirt dependency View pull request
More pessimistic caching of outputs View pull request
Slice counting fixed View pull request
output of -display ordered per label value View pull request
Improvements in straightening and registration to the template View pull request
The QC report is now a standalone html file. View pull request
Adding a port option for the qc server View pull request
Make QC generation opt-in View pull request
Fixing cropping issue in sct_straighten_spinalcord View pull request
Set MeanSquares the default metric for sct_fmri_moco View pull request
Now possible to change data orientation on 4D data View pull request
Use python concurrent.futures instead of multiprocessing View pull request
FEATURE
New function to create violin plots from sct_pipeline results View pull request
Enable input file with label at a specific disc View pull request
Control the brightness of the image in the GUI. View pull request
Implements MTsat function View pull request
Improvements in straightening and registration to the template View pull request
Integration of SCT into fsleyes UI View pull request
Add Sentry error reporting View pull request
3.1.1 (2018-02-16)¶
BUG
Fix TensorFlow installation on Debian View pull request
BUG: Fixed a small bug on None condition View pull request
Fixed missing output View pull request
Bug fix and various improvements View pull request
Now working for 2d data View pull request
Fix Timer with progress View pull request
BUG: concat_transfo: fixed wrong catch of dimension View pull request
reinstall only current numpy version View pull request
Enable the calculation of spinal cord shape at the edge of the image View pull request
Disabling rotation in register to template View pull request
ENHANCEMENT
Adding minimal Dockerfile for SCT. View pull request
Bug fix and various improvements View pull request
Find mirror servers in case OSF is not accessible View pull request
Now supports fsleyes when displaying viewer syntax at the end of a process View pull request
FEATURE
sct_deepseg_sc implementation View pull request
sct_deepseg_gm implementation View pull request
TESTING
Fixed minor verbose issues during testing View pull request
v3.1.0 (2017-10-27)¶
BUG
Fix errors in create_atlas.m View pull request
Fix a regression bug. View pull request
Used the absolute path to create the temporary label file in propseg View pull request
Fixed: Optic is used by default if -init-mask is used with external file provided View pull request
Fixed global dependency in sct_process_segmentation call View pull request
Fixed z-regularization for slicereg View pull request
ENHANCEMENT
Fixed: Raise in sct.run in bad order. Also added specific sct errors View pull request
More improvements to the viewer View pull request
Refactored WM atlas creation pipeline and improved documentation View pull request
Option to install SCT in development mode View pull request
Added key bindings to the undo, save and help actions. View pull request
Introduced the zoom functionality to the anatomical canvas View pull request
Improvements on centerline for template generation View pull request
Major refactoring of testing framework View pull request
FEATURE
Improvement of sct_analyze_lesions: compute percentage of a given tract occupied by lesions View pull request
sct_get_centerline: new manual feature View pull request
sct_detect_pmj: new_feature View pull request
TESTING
Major refactoring of testing framework View pull request
v3.0.8 (2017-09-13)¶
BUG
Added try/except for QC report View pull request
Conversion issue for float32 images with large dynamic View pull request
(Partly-)Fixed bug related to memory issue with diagonalization View pull request
DEV: fixed bug on centerline when referencing to the PMJ View pull request
ENHANCEMENT
Now possible to input single label at disc (instead of mid-body) View pull request
Now using N-1 instead of N as denominator for computing the STD. View pull request
FEATURE
Function to analyze lesions #1351 View pull request
v3.0.7 (2017-08-02)¶
BUG
The params attributes are initialized to the type integer View pull request
Fixing stdout issue on sct_testing View pull request
Changed destination image for concatenation of inverse warping field View pull request
crashes if apply transfo on 4d images View pull request
Allow the -winv parameter to write a file to disk View pull request
Change import path of resample View pull request
Precision error while calculating Dice coefficient #1098 View pull request
ENHANCEMENT
Enables to set Gaussian weighting of mutual information for finding C2-C3 disk View pull request
Adapt concat and apply transfo to work on 2d images View pull request
Fixed small issues in pipeline View pull request
Use custom template for sct_register_graymatter View pull request
compute_ernst_angle: set the parameter t1 default value to optional value of 850ms View pull request
Improvements on centerline and template generation View pull request
FEATURE
NEW: dmri_display_bvecs: new function to display bvecs View pull request
Function to extract texture features #1350 View pull request
TESTING
Various fixes to pipeline and testing View pull request
New test for sct_label_utils compatible with sct_pipeline View pull request
DOCUMENTATION
Changed default values and clarified doc View pull request
v3.0.6 (2017-07-04)¶
BUG
Catch the OSError exception thrown when the git command is missing View pull request
BUG: register_multimodal: fixed typo when calling isct_antsRegistration View pull request
BUG: fix bug when slice is empty View pull request
Ignore using user packages when install with conda and pip View pull request
Fix referential for JIM centerline View pull request
image/pad: now copy input data type (fixes issue 1362) View pull request
Use a pythonic way to compare a variable as None View pull request
The init-mask accepts “viewer” as a value View pull request
Fixed unassigned variable in case -z or -vert is not used View pull request
ENHANCEMENT
Restrict deformation for ANTs algo View pull request
Made error message more explicit if crash occurs View pull request
Insert previous and next buttons in the qc reports page View pull request
integrate new class for multiple stdout inside sct_check_dependencies View pull request
DOCUMENTATION
Update README.md View pull request
INSTALLATION
Ignore using user packages when install with conda and pip View pull request
Update sct testing data View pull request
Added the dependency psutil in the conda requirements View pull request
Added egg files in the list of gitignore View pull request
v3.0.5 (2017-06-09)¶
BUG
Force numpy 1.12.1 on osx and linux View pull request
Use a different function to identify if a file exists View pull request
Fixing an issue introduced with the sct_get_centerline. View pull request
ENHANCEMENT
Binarize GM seg after warping back result to original space View pull request
Generation of centerline as ROI View pull request
FEATURE
Introduce a pipeline to use the HPC architecture View pull request
v3.0.4 (2017-05-19)¶
BUG
Normalize the init value to between 0 and 1 for propseg View pull request
Moved the QC assets into the spinalcordtoolbox package View pull request
Improved the formatting of the changelog generator View pull request
Show remaining time status for downloads View pull request
ENHANCEMENT
Added the command parameter
-noqc
View pull requestAdd dimension sanity checking for input file padding op View pull request
FEATURE
Introducing spinal cord shape symmetry View pull request
TESTING
Validate the function name in sct_testing View pull request
Fix regression bug in sct_testing View pull request
v3.0.3 (2017-04-26)¶
BUG
Fixes case if data image, segmentation and labels are not in the same space View pull request
Fix the handling of the path of the QC report. View pull request
Change the format of the SCT version. View pull request
changed the DISPLAY variable due to conflicts with FSLView in batch_processing.sh View pull request
INSTALLATION
Added course_hawaii17 into the list of available dataset from sct_download_data View pull request
Incorrect variable when installing SCT in a different directory View pull request
DOCUMENTATION
Added description with examples in the register_to_template command (#1262) View pull request
Fixed typo in register_multimodal command View pull request
v3.0.2 (2017-04-20)¶
BUG
Force the SCT environment to use only the python modules installed by SCT View pull request
Fixing disabling options on straightening View pull request
Fixed tSNR computation of the mean and std of the input image View pull request
Increased the data type size from the default int16 to int32 to avoid overflow issues in sct_process_segmentation View pull request
Fixed data type issue in sct_process_segmentation View pull request
ENHANCEMENT
Improvements to denoising on sct_segment_graymatter View pull request
Extend the functionality of sct_viewer View pull request
Add OptiC for improved spinal cord detection View pull request
Introduction spinalcordtoolbox python setup file View pull request
FEATURE
Add option -rms to perform root mean square (instead of mean) in sct_maths View pull request
Introduce QC report generation View pull request
Introduce the QC html viewer View pull request
TESTING
Introduce the QC html viewer View pull request
Introduce python package configuration file (setup.cfg) View pull request
v3.0.1 (2017-03-22)¶
FEATURE¶
Merge multiple source images onto destination space. View pull request
v3.0.0 (2017-03-15)¶
BUG¶
Modifying the type of coordinates for vertebral matching View pull request
Removing discontinuities at edges on segmentation View pull request
BUG: computing centreline using physical coordinates instead of voxel… View pull request
Fix issue #1172: -vertfile as an optional parameter View pull request
Improvements to the viewer of sct_propseg View pull request
Removed confusion with command variables when using PropSeg viewer View pull request
Patch sct_register_to_template with -ref subject View pull request
zero voxels no more included when computing MI + new flag to compute normalized MI View pull request
ENHANCEMENT¶
Changed default threshold_distance from 2.5 to 10 to avoid edge effect View pull request
Adapt sct_create_mask and sct_label_utils to 2D data View pull request
Improvements to the viewer of sct_propseg View pull request
TESTING¶
OPT: display mean and std instead of mean twice View pull request
3.0_beta32 (2017-02-10)¶
BUG¶
BUG: install_sct: fixed PATH issue (#1153): closed at 2017-02-08 View pull request
BUG: compute_snr: fixed variable name: closed at 2017-02-03 View pull request
Changed the algorithm to fetch the download filename: closed at 2017-02-03 View pull request
Copy header of input file to ensure qform is unchanged: closed at 2017-01-31 View pull request
zero voxels no more included when computing MI + new flag to compute normalized MI: closed at 2017-02-01 View pull request
Downloading the binaries using the python module instead of CURL: closed at 2017-01-30 View pull request
[sct_segment_graymatter] correct background value: closed at 2017-01-31 View pull request
Fixing indexes issue on Travis OSX: closed at 2017-01-17 View pull request
REF: display spinal cord length when required (full spinal cord): closed at 2017-01-17 View pull request
Adding rules for in-segmentation errors: closed at 2017-01-17 View pull request
ENHANCEMENT¶
Generate a changelog from GitHub: closed at 2017-02-10 View pull request
OPT: maths: visu only produced if verbose=2: closed at 2017-02-02 View pull request
TESTING¶
Add message to user when spinal cord is not detected and verbose improvement for testing: closed at 2017-02-01 View pull request
Display results of isct_test_function: closed at 2017-01-20 View pull request
3.0_beta31 (2017-01-16)¶
BUG: sct_process_segmentation display spinal cord length when required (full spinal cord) (#1112)
BUG: sct_propseg Adding rules for in-segmentation errors (#1110)
BUG: PAM50: probabilist templates of WM and GM not sum to 1 (#411)
BUG: sct_propseg: fixed edge issue (#1074)
BUG: sct_label_vertebrae: fixed temporary folder not created (#1083)
BUG: isct_test_function: fixed temp folder of subject being created inside test folder of another subject (#1084)
BUG: sct_apply_transfo: fixed TR field on NIFTI is lost (#1013)
BUG: sct_register_graymatter: fixed empty inverse warping field (#1068)
OPT: sct_label_vertebrae: now outputing verbose=2 pics in ofolder (#1094)
OPT: sct_straighten_spinalcord: fixed Reduce required RAM (#979)
OPT: sct_straighten_spinalcord: removes accuracy computation by default (#1075)
OPT: sct_propseg: improve robustness towards exception (#207)
OPT: isct_test_function: send email when finished (#1081)
OPT: isct_test_function: removed color tags on log entries (#1035)
3.0_beta29 (2016-12-13)¶
NEW: PAM50 template now used as the default template
NEW: sct_compute_snr: compute SNR using several methods (Dietrich et al. 2007)
NEW: sct_propseg: now accepts a correction solution for sct_propseg in case of missing CSF/SC contrast and/or artefacts (see issue #664 for details)
NEW: sct_propseg: added flag to open a viewer for initializing spinal cord segmentation by manually providing a few points (issue #741)
NEW: install_sct: new installer, which downloads the necessary data (i.e., lighter package).
NEW: SCT now includes its own python (from miniconda), which simplifies the installation and allows users to have another Python installed without generating conflicts.
NEW: sct_dmri_create_noisemask: Identification and estimation of noise in the diffusion signal, implemented by the Dipy software project (http://nipy.org/dipy/), based on the PIESNO method
NEW: sct_register_graymatter: Multi-label registration that accounts for gray matter shape.
NEW: sct_register_multimodal: features two new transformations: centermassrot and columnwise.
NEW: sct_register_multimodal: flag smoothWarpXY: regularization of warping field (only for algo=columnwize)
NEW: sct_register_multimodal: flag pca_eigenratio_th: Min ratio between the two eigenvalues for PCA-based angular adjustment (only for algo=centermassrot).
NEW: sct_create_mask: now compatible with 2D data (#1066)
NEW: sct_maths: computes mutual information and cross-correlation between images (#1054)
BUG: sct_straighten_spinalcord: Fixed #917, #924, #1063
BUG: Fixed issues #715, #719
BUG: sct_propseg: fixed issues #147, #242, #309, #376, #501, #544, #674, #680
BUG: sct_segment_graymatter: fixed issues #782, #813, #815
BUG: sct_register_graymatter: fixed issue #1068
BUG: Fixed incompatibility with CENTOS 6.X (issue #776)
BUG: Binaries now hosted on Gihub for accessibility from China (#927)
BUG: sct_resample: Fixed slight image shift caused by resampling (#612)
OPT: sct_check_dependencies: Made test more sentitive to OS incompatibilities (issue #771)
OPT: sct_register_multimodal: major changes. Simplified flags. Fixed issues #350, #404, #414, #499, #650, #735, #737, #749, #807, #818, #1033, #1034
OPT: sct_register_to_template: now uses slicewise rigid transfo at first step (instead of slicereg), which improves accuracy (issue #666)
OPT: sct_register_to_template: added contrast for registration: t2s
OPT: sct_label_vertebrae: now fully automatic (although unstable– work in progress).
OPT: sct_testing: added integrity testing for CSA computation (#1031)
REF: sct_testing: sct_testing_data is now hosted on GitHub-release for better tracking and across-version compatibility.
3.0_beta28 (2016-11-25)¶
BUG: sct_process_segmentation: Fixed issue related to calculation of CSA (#1022)
BUG: sct_label_vertebrae: Fixed Vertebral labeling removes first vertebrae in the labelled segmentation (#700)
OPT: sct_register_multimodal: Now possible to input initial warping field (#1049)
OPT: sct_register_multimodal: Added feature to be able to input two pairs of label image for estimating affine/rigid/nonrigid transformation (#661)
OPT: sct_extract_metric: Added weighted-Maximum a posteriori extraction method (#1018)
OPT: Remove color tags on log entries (#1035)
3.0_beta27 (2016-10-23)¶
NEW: sct_extract_metric: method “max” to extract CSA value form interpolated volume (e.g. PAM50 space) without partial volume bias
3.0_beta26 (2016-10-05)¶
INST: Fixed #992, #1004, #1008, #1012
3.0_beta25 (2016-09-30)¶
OPT: Fixed #875
INST: Fixed #1007, #1009
3.0_beta24 (2016-09-28)¶
BUG: Fixed #870, #898, #859, #871, #1005, #750, #444, #878, #1000
INST: Fixed issue with matplotlib version 1.5.3
3.0_beta23 (2016-09-18)¶
BUG: Fixed #984, #983, #954, #978, #987, #938, #964, #638, #969, #922, #855
OPT: sct_register_to_template: added a flag “-ref” to be able to register to anisotropic data
3.0_beta22 (2016-09-09)¶
BUG: Fixed #994, #989, #988, #976, #968
2.2.3 (2016-02-04)¶
BUG: sct_straighten_spinalcord: fixed instabilities related to generation of labels (issue #722)
2.2.2 (2016-01-31)¶
OPT: sct_dmri_moco: added flag “-bvalmin” to specify b=0 threshold and improved reading of bval file.
2.2.1 (2016-01-29)¶
BUG: sct_dmri_moco: fixed bug related to the use of mask
BUG: sct_dmri_moco: fixed bug in the algorithm (iterative average of target DWI volume)
2.2 (2016-01-23)¶
BUG: Fixed major issue during installation (issue #708)
BUG: sct_process_segmentation: fixed bug occuring with small FOV (issue #706)
2.1.1 (2016-01-15)¶
BUG: sct_resample: fixed issue #691
OPT: sct_segment_graymatter: improved robustness of normalization
OPT: sct_process_segmentation: default parameter does not smooth CSA results anymore
2.1 (2015-12-01)¶
NEW: sct_testing: test SCT functions and their integrity
NEW: sct_maths: performs basic operations on images. Similar to fslmaths.
NEW: sct_get_centerline -method auto: uses advanced image processing methods for finding the spinal cord centerline automatically on any type of contrast. This script should be followed by sct_propseg for finer cord segmentation.
NEW: sct_label_vertebrae: can automatically label vertebral levels given an anatomical scan, a centerline and few prior info.
NEW: sct_segment_graymatter: segment spinal cord gray matter using multi-atlas approach from Asman et al.
NEW: sct_process_segmentation: feature to estimate CSA based on labels
NEW: sct_label_utils: new functionality for creating labels based on vertebral labeling
NEW: added “-qc” flag to some functions to output png images for quality control.
BUG: install_patch: now possible to install as non-admin (issues #380, #434)
BUG: sct_extract_metric: fix the case when averaging labels from different clusters with method map
INST: no more dependence with FSL
INST: no more dependence with c3d
OPT: sct_straighten_spinalcord: improved accuracy (issues #371, #425, #452, #472)
OPT: sct_registration_to_template: improved accuracy
REF: harmonization of flags. Most flags from v2.0 still work but a message of deprecation is sent.
2.1_beta21 (2015-11-30)¶
sct_process_segmentation: fixed issue with computation of volume based on vertebral level (slice selection now using centerline)
2.1_beta20 (2015-11-30)¶
fixed compatibility with new PAM50 template
2.1_beta19 (2015-11-25)¶
harmonized flags
sct_process_segmentation: now computes volume
2.0.6 (2015-06-30)¶
BUG: sct_process_segmentation: fixed bug of output file location (issue #395)
2.0.5 (2015-06-10)¶
BUG: sct_process_segmentation: fixed error when calculating CSA (issue #388)
2.0.4 (2015-06-06)¶
BUG: sct_process_segmentation: fixed error when calculating CSA (issue #388)
BUG: Hanning smoothing: fixed error that occurred when window size was larger than data (issue #390)
OPT: sct_check_dependencies: now checks if git is installed
OPT: simplified batch_processing.sh
2.0.3 (2015-05-19)¶
BUG: sct_register_to_template: fixed issue related to appearance of two overlapped templates in some cases (issue #367)
BUG: sct_register_to_template: now all input data are resampled to 1mm iso to avoid label mismatch (issue #368)
BUG: sct_resample: fixed bug when user specified output file
OPT: sct_create_mask: improved speed
2.0.2 (2015-05-16)¶
BUG: sct_fmri_compute_tsnr: fixed issue when input path includes folder
BUG: sct_orientation: now possibility to change orientation even if no qform in header (issue #360)
BUG: msct_smooth: fixed error with small Hanning window (issue #363)
BUG: sct_straighten_spinalcord: fixed issue with relative path (issue #365)
NEW: sct_label_utils: added new function to transform group of labels into discrete label points
NEW: sct_orientation: added a tool to fix wrong orientation of an image (issue #366)
OPT: sct_register_to_template: twice as fast! (issue #343)
2.0.1 (2015-04-28)¶
BUG: sct_extract_metric: MAP method did not scale properly with the data. Now fixed (issue #348)
BUG: fixed issue with parser when typing a command to see usage (it crashed)
2.0 (2015-04-17)¶
NEW: sct_fmri_compute_tsnr: new function to compute TSNR from fMRI data (performs moco before)
OPT: sct_straighten_spinalcord: now MUCH faster and more accurate (issue #240)
OPT: sct_register_to_template: allows more flexibility by allowing multiple steps for registration (flag -p).
N.B. flag “-m” has been replaced by “-s”
OPT: sct_register_multimodal: allows more flexibility by imposing only one stage. Several stages can be run sequentially and then transformations can be concatenated.
N.B. flags “-s” and “-t” were replaced with “-iseg” and “-dseg” respectively
OPT: sct_extract_metric:
new methods for extraction: maximum likelihood and maximum a posteriori, which take into account partial volume effect
now possible to specify global regions for extraction with flag -l: wm, gm, sc
now possible to include a bunch of labels using “:”. Example: 2:29
NEW: sct_get_centerline_from_labels: obtain a centerline using a combination of labels and/or segmentations
N.B. sct_get_centerline was renamed for sct_get_centerline_automatic
NEW: sct_compute_ernst_angle: new script to compute and display Ernst angle depending on T1 and TR
OPT: sct_process_segmentation:
can compute average CSA across vertebral levels or slices
can compute length of segmentation
can compute CSA on non-binary images such as probabilistic gray/white matter maps
N.B. process names were simplified to: “csa”, “length” and “centerline”
OPT: sct_crop_image: now possible to crop an image based on a reference space
OPT: new WM atlas: added gray matter and CSF for computing partial volume
OPT: now use all available cores for ANTs and adjust variable when running dmri_moco (issue #238)
INST: new installer in python, simpler to use and check for latest patches
REF: msct_parser: new parser that generate documentation/usage
REF: msct_image, sct_label_utils: smoothly converting the toolbox to objet-oriented, some scripts can be used as python module
1.1.2_beta (2014-12-25)¶
BUG: sct_dmri_moco: fixed crash when using mask (issue # 245)
OPT: sct_create_mask: (1) updated usage (size in vox instead of mm), (2) fixed minor issues related to mask size.
INST: links are now created during installation of release or patch (issue ).
1.1.1 (2014-11-13)¶
FIX: updated ANTs binaries for compatibility with GLIBC_2.13 (issue: https://sourceforge.net/p/spinalcordtoolbox/discussion/help/thread/e00b2aeb/)
1.1 (2014-11-04)¶
NEW: sct_crop: function to quickly crop an image.
NEW: sct_extract_metric (replaces the old sct_estimate_MAP_tracts.py). New functionalities added (maximum likelihood estimation and tract grouping). More flexible with label files.
NEW: sct_convert_mnc2nii
NEW: sct_create_mask: create mask of different shapes (cylinder, box, gaussian). Useful for moco.
NEW: sct_fmri_moco: motion correction function for fMRI data. Uses regularization along z.
NEW: sct_compute_mtr: compute MTR
NEW: sct_otsu: OTSU segmentation (usefull for DWI data)
NEW: sct_resample: quick upsample/downsample 3D or 4D data
NEW: sct_segment_greymatter: function to segment the grey matter by warping that one from the atlas
OPT: sct_orientation can now be applied to 4d data
OPT: sct_register_multimodal now using the new antsSliceReg method that regularizes along z.
OPT: new version of the white matter atlas: more accurate, deformation accounting for internal structure (use BSplineSyN instead of SyN).
OPT: sct_dmri_moco now using the new antsSliceReg method that regularizes along z.
OPT: removed all .py extensions for callable functions (created links)
OPT: sct_label_utils: now possible to create labels. Also added other useful features.
INST: now possible to specify installation path for the toolbox
INST: conda dependences are now automatically installed by the installer.
INST: added pillow (fixed issue #117)
INST: “getting started” now provided via example commands in batch_processing.sh
REF: sct_straighten_spinalcord (fixed issues #56, #116)
TEST: major changes on the testing framework for better modularity with Travis. Now using separate small dataset.
1.0.3 (2014-07-30)¶
BUG: fixed bug in sct_process_segmentation.py related to import of scipy.misc imsave,imread in miniconda distrib (issue #62)
BUG: fixed bug in sct_process_segmentation.py related to import of PIL/Pillow module (issue #58)
OPT: sct_register_multimodal now working for images with non-axial orientation (issue #59)
OPT: sct_register_straight_spinalcord_to_template has now been replaced by sct_register_multimodal in sct_register_to_template.
OPT: major improvements for sct_dmri_moco, including spline regularization, eddy correction, group-wise registration, gaussian mask.
OPT: sct_check_dependencies.py can now output log file and do extensive tests (type -h for more info)
NEW: sct_apply_transfo.py: apply warping field (wrapper to ANTs WarpImageMultiTransform)
NEW: sct_concat_transfo.py: concatenate warping fields (wrapper to ANTs ComposeMultiTransform)
NEW: batch_processing.sh: example batch for processing multi-parametric data
1.0.2 (2014-07-13)¶
NEW: virtual machine
BUG: fixed sct_check_dependencies for Linux
BUG: fix VM failure of sct_register_to_template (issue #41)
OPT: sct_register_to_template.py now registers the straight spinal cord to the template using sct_register_multimodal.py, which uses the spinal cord segmentation for more accurate results.
1.0.1 (2014-07-03)¶
INST: toolbox now requires matplotlib
1.0 (2014-06-15)¶
first public release!
0.7 (2014-06-14)¶
NEW: dMRI moco
INST: libraries are now statically compiled
OPT: propseg: now results are reproducible (i.e. removed pseudo-randomization)
0.6 (2014-06-13)¶
Debian + OSX binaries
BUG: fixed registration2template issue when labels were larger than 9
BUG: fixed bug on PropSeg when the image contains a lot of null slices
INST: now installer write on bashrc and links bash_profile to bashrc
BUG: removed random parts in PropSeg
0.5 (2014-06-03)¶
now possible to get both template2EPI and EPI2template warping fields
fixed major bug in registration (labels were cropped)
NEW: probabilistic location of spinal levels
NEW: binaries for Debian/Ubuntu
0.4 (2014-05-28)¶
NEW: installer for ANTs (currently only for OSX)
fixed bugs
0.3 (2014-05-26)¶
major changes in sct_register_multimodal
fixed bugs
0.2 (2014-05-18)¶
NEW: nonlocal means denoising filter
NEW: sct_smooth_spinalcord –> smoothing along centerline
fixed bugs
0.1 (2014-05-03)¶
first beta version!