FEATURE
- sct_compute_ascor: Add function to compute aSCOR. View pull request
- sct_deepseg: Add new
-test-time-augflag fornnunetv2models to turn onuse_mirroringbehavior. View pull request - sct_fmri_moco: Allow specifying a reference scan as the registration target with new flag
-ref. View pull request - sct_process_segmentation: Update AP diameter to be based on rotated seg + add new
-anatflag (for symmetry, quadrant area, and HOG angle properties). View pull request - sct_run_batch: Add new
-ymlarguments to include/exclude both subjects and files based on YAML lists. View pull request
ENHANCEMENT
- sct_analyze_lesion: Add
vert_levelcolumn to-foutput spreadsheet. View pull request - sct_apply_transfo, sct_label_vertebrae, sct_register_multimodal: Improve performance of
-x labelwhen applying a warping field to single-voxel point labels. View pull request - sct_compute_ascor, sct_process_segmentation: Update
-centerlineargument to allow for consistent-discfileprojection (used in aSCOR script). View pull request - sct_deepseg: Rework
totalspineseginference (rename task tospine, set-step1-onlybehavior as default, improve output filenames). View pull request - Hide developer-specific arguments in argparse help. View pull request
BUG
- sct_compute_ascor, sct_process_segmentation: Update how
-discfileintermediate images are saved (output directory, relative paths). View pull request - sct_deepseg, sct_qc: Fix cropping and labeling for DeepSeg axial mosaic QC Reports. View pull request
- sct_process_segmentation: Solve projection anomaly on anisotropic data. View pull request
- sct_register_multimodal: Fix logging message to correctly print voxel size in
centermassrot. View pull request - Only create "detailed summary" test files in CI (and only when the directory exists). View pull request
INSTALLATION
- sct_deepseg: Switch to
neuropolyfork ofnnunetv2to support multi-fold "custom trainer" version oflesion_ms. View pull request - sct_deepseg: Pin
blosc2<3.9.0to avoid failing PRs due to incompatibility wihtnumpy<2.0. View pull request - sct_deepseg: Make
spinalcorda default model to solvePyTorchStreamReadererror insct_run_batch. View pull request - Allow
blosc2>=3.9.1due to re-added support fornumpy==1.26. View pull request - Restrict
numexpr!=2.14.0andh5py!=3.15.0to address recent installation failures. View pull request - Avoid
libffibug by installing all of thecondapackages fromconda-forgein a single step. View pull request
DOCUMENTATION
- sct_deepseg: Added ref for
lesion_msESMRMB 2025 model. View pull request - sct_deepseg: Update spinal rootlets model description. View pull request
- sct_deepseg: Add citation for RootletSeg model in models.py. View pull request
- sct_dmri_moco, sct_fmri_moco: Improve moco argparse usage for
-param {poly,iter}(help descriptions) and-g(positive integer requirement). View pull request - sct_register_to_template: Add tutorial for rootlets-based registration to template. View pull request
- Replace PaperPile links with PubMed links in
pam50.rstdoc page. View pull request - Update "Citing SCT" page with missing references and better formatting. View pull request
- Tweak
-ref subject-related documentation for 3+ labels. View pull request - Update
sct_tutorial_datalinks to point to the newest release (SCT Course 2025). View pull request - Fix typos in MS lesion tutorial (
ms_lesion->lesion_ms). View pull request
REFACTORING
- sct_compute_ascor, sct_process_segmentation: Clarify
ValueErrorif the-centerlinedoes not cover all the slices in the input mask. View pull request - sct_deepseg, sct_fmri_compute_tsnr, sct_label_utils, sct_label_vertebrae, sct_qc, sct_register_multimodal, sct_register_to_template: Refactor QC code for six scripts. View pull request
CI
- Refactor the broken link checker. View pull request
- Replace deprecated macOS 13 runners with new
macos-15-intelrunners. View pull request
GIT/GITHUB
- Update pull request template to mention tests requirement (and improve readability). View pull request
FEATURE
- sct_analyze_lesion: Implement "tissue bridge ratio" metrics. View pull request
- sct_compute_compression: Allow MSCC to be computed on lesion masks (as an alternative to compression labels). View pull request
- sct_maths: Implement anisotropic dilation and erosion. View pull request
- sct_process_segmentation: Add flag
-discfileto allow for determiningVertLevelusing projected disc labels. View pull request
ENHANCEMENT
- sct_deepseg: Update
lesion_msDeepSeg model fromr20241101tor20250626(ESMRMB 2025). View pull request - sct_deepseg: Add slice numbers to axial mosaic QC reports. View pull request
- sct_deepseg: Tweak
totalspinesegaxial mosaic QC report to make it easier to read. View pull request - sct_extract_metric: Use centerline of
-vertfilefor more accurate mapping of vert levels tozslices. View pull request - sct_label_vertebrae: Speed up labeling for
-discfileby replacing the straightening step with disc projection. View pull request - sct_register_multimodal: Mask output of
sct_apply_transfowhen applying-initwarpduring multimodal registration. View pull request - sct_run_batch: Improve clarity of terminal errors when a batch script fails. View pull request
- [EXPERIMENTAL] Add Apptainer installation for use on HPC systems. View pull request
- Allow the use of custom mapping for
sct_label_vertebrae. View pull request - Expand
LazyLoaderusage to improve import times across scripts. View pull request
BUG
- sct_analyze_lesion: Change
interpolated_midsagittal_sliceto be saved in the original orientation (instead ofRPI). View pull request - sct_analyze_lesion, sct_qc: Fix
IndexErrorby more thoroughly applying the SC mask to the lesion image. View pull request - sct_deepseg: Fix two small crashes when generating QC reports using
-qc-seg. View pull request - sct_qc: Update report-ui to v0.1.1. View pull request
- sct_qc: Use
Path.resolve()instead ofPath.absolute(). View pull request - sct_register_multimodal, sct_register_to_template: Add safeguards to handle when
type=imsegis used withrot_method=pca. View pull request - sct_register_to_template: Fix check for user's labels against template's labels by adopting
issubset. View pull request - sct_register_to_template, sct_straighten_spinalcord: Prevent repeated slices during straightening by correctly zeroing out duplicate slices. View pull request
- Update PAM50 template to
r20250730to fix pixel error inPAM50_rootlets.nii.gz. View pull request
INSTALLATION
- Update SCT's virtual environment to use Python 3.10 instead of 3.9. View pull request
- Limit
onnx<1.16.2to fix CI failures on Windows runners. View pull request - Add fixes for
PyQt5andonnxruntimeto amend our previous switch to Python 3.10. View pull request - Validate
$SCT_DIRfor path-length issues (even for the default directory + non-interactive mode). View pull request - Fix failing CI runs for Arch (
rl_print_keybindings) and Debian 10 (EOL). View pull request
DOCUMENTATION
- sct_deepseg: Clean up argparse help to only display arguments and descriptions relevant to specific tasks. View pull request
- sct_dmri_moco, sct_fmri_moco: Make sure that all useful parameters in
ParamMocoare documented in the-h. View pull request - Move
graymattermodel togray_mattergroup. View pull request - Update and reorganize Docker installation instructions. View pull request
REFACTORING
- Retire our obsolete shim for
str.removesuffix. View pull request
CI
- Enable
macos-15andwindows-2025in all CI workflows. View pull request - Handle
windows-2019incompatibility withonnxruntime==1.22.0(drop2019, limit<1.22.0). View pull request - Add a blanket exclusion for
403 - Forbiddenresponses to our broken link checker. View pull request - Filter out
VersionandCodeURLwhen diffing JSON sidecars. View pull request - Fix
check-urlGithub CI failing when no new URLs are present. View pull request - Remove default value from Apptainer bundling script to fix CI error. View pull request
- Fix hanging WSL runners by replacing
windows-2022withwindows-2025. View pull request - Address new
DeprecationWarningsthrown duringpytesttest suite. View pull request - Automatically reset the
stabledocs branch when creating a new release. View pull request - Make it easier to manually check QC reports produced by
pytest. View pull request - Remove hardcoded path to
D:\drive for older Windows tests. View pull request test_cli.py: Increase threshold for macOS duration failures. View pull request- Fix failing tests due to faulty
platformsyntax. View pull request - Disable false-positive shell check for
SC2329ininstall_sct. View pull request - Tag QC reports from automated tests with the OS used. View pull request
GIT/GITHUB
- Simplify SCT's pull request template to match the new Contributing Guidelines. View pull request
FEATURE
- sct_deepseg: Add the bavaria-quebec nnUNet model for MS lesion and cord segmentation to sct_deepseg model suite. View pull request
- sct_deepseg: Allow adding
-qc-segto crop the QC generated bysct_deepseg. View pull request - sct_deepseg: Add new contrast-agnostic
graymattermodel. View pull request - sct_deepseg: Add
-step1-onlyargument to thetotalspinesegtask's subparser. View pull request - sct_detect_compression: Add new CLI script to predict compression probability. View pull request
- sct_qc: Add new column to QC report to rank images numerically from 0-9. View pull request
- sct_register_to_template: Add
-lrootletargument to enable rootlets-informed registration to the PAM50 template. View pull request - Add detailed time and memory profiling for CLI scripts. View pull request
ENHANCEMENT
- sct_compute_compression, sct_download_data: Update PAM50 normalized metrics URL to latest release (
r20250321). View pull request - sct_analyze_lesion: Update interpolation logic used when determining the midsagittal slice of lesions. View pull request
- sct_deepseg: Update contrast-agnostic model from v2.5 to v3.0 . View pull request
- sct_deepseg: Updated
sct_deepsegusage to improve clarity and ease of use. View pull request - sct_qc: Overhaul the QC report backend to use modern web technologies (Vite/React/Tailwind/Typescript). View pull request
- sct_resample: Improve clarity of
ZeroDivisionErrormessage when resampling. View pull request - sct_warp_template: Update PAM50 release links to
r20250422(ventral rootlets, Th1 level). View pull request - Change over to MiniForge as the package manager (from MiniConda prior). View pull request
- Add basic automatic time profiling for all CLI scripts by default. View pull request
BUG
- sct_deepseg: Preserve the
_segsuffix for the contrast-agnostic model. View pull request - sct_get_centerline: Update
get_centerlineto ensure that output arrays match the orientation of the output centerline image. View pull request - sct_process_segmentation: Fix slice indexing for
-angle-corr-centerline. View pull request - sct_qc: Replace
pyplotusage inqc.pyto address crashing in Jupyter notebooks. View pull request - sct_qc: Implement QC outlines for multi-valued segmentations. View pull request
INSTALLATION
- Change over to MiniForge as the package manager (from MiniConda prior). View pull request
- Pin
torchto<2.3to keep versions in sync with Intel Mac platforms. View pull request - Transfer hotfixes from the
test-past-releases.ymlCI workflow to the 5.x-6.x series of SCT releases. View pull request - Allow ANTs binaries to access
msvc-runtimeDLLs to avoid DLL not found errors. View pull request - Gracefully handle permission issues on RC files during installation. View pull request
DOCUMENTATION
- sct_apply_transfo: Amend argparse help of transform tool to make
-dand-oarguments clearer. View pull request - sct_deepseg: Update
sct_deepsegdocumentation and arg help. View pull request - sct_deepseg: Fix missed rename of the contrast agnostic model (
_monai->_nnunet). View pull request - Update
courses.rstwith SCT Course 2024 links. View pull request - Fix wording in opening paragraph within
courses.rstdocumentation page. View pull request - Update web tutorials to match the changes made for the 2024 SCT Course. View pull request
- Expand "batch processing" tutorial with steps for manual correction. View pull request
REFACTORING
- sct_deepseg: Use argparse subparsers for
sct_deepseg. View pull request - sct_deepseg: Retire the model
sc_t2starfromsct_deepseg(and move its model gallery entry). View pull request - Consolidate common elements (
-h/-v/-r+ argument groups) intoSCTArgumentParser. View pull request
CI
- Improve how we track changes to SCT's outputs by exporting a summary of all output files. View pull request
- Add new GitHub Actions workflow to test if old releases install without error. View pull request
- Upgrade Ubuntu 20.04 -> 22.04/24.04 in test suite. View pull request
- Compare new
batch_processing.shfile summaries between PRs andmasterbranch. View pull request - Add automated testing for new profiling utilities. View pull request
- Remove
--verbosefrom defaultpytestconfig. View pull request
FEATURE
- sct_analyze_lesion: Output lesion length and width for the midsagittal slice. View pull request
- sct_deepseg: Add
-custom-urlarg to allow users to install specific.zips for existing deepseg models. View pull request - sct_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-planeflag to allow switching the QC view to'Sagittal'. View pull request - sct_fmri_compute_tsnr, sct_qc: Add
-m(mask) and-qcoptions to fMRI TSNR script. View pull request - sct_get_centerline: Expose
spaceAPI 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
.xlsto.xlsx. View pull request - sct_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
NearestNeighbourinterpolation. View pull request - sct_apply_transfo, sct_warp_template: Use faster dilation algorithm when dilating "mostly zero" point label images (
-x label). View pull request - sct_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_dataURL 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_proccall (to silence logging for-v 0). View pull request - sct_deepseg: Test EPI model to ensure that it has the correct
nnUNetTrainermodel structure. View pull request - sct_deepseg: Remove faulty
zip()that breaks-installoption. View pull request - sct_deepseg: Fix the suffix of the rootlets model (
_seg->_rootlets) to prevent overwriting. View pull request - sct_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
dipyimports. View pull request - sct_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_qformandset_sformmethods. View pull request - Update warnings filter to properly filter
Private reposwarning fromrequirements.parse. View pull request
INSTALLATION
- Skip
acvl_utils==0.2.1due to buggy interaction withnnunetv2. View pull request - Install
monai[cucim]extra when specifying GPU SCT-gflag. View pull request - Allow
nnunetv2>=2.5.1due to bugfix for previous issue with2.4.2. View pull request
DOCUMENTATION
- sct_analyze_lesion: Add
lesion-analysistutorial. View pull request - sct_deepseg: Add spinal nerve rootlets segmentation tutorial. View pull request
- sct_deepseg: Add example commands for the
-custom-urlarg. View pull request - sct_deepseg: Retire outdated DeepSeg models (
seg_sc_ms_lesion_stir_psir,ms_sc_mp2rage). View pull request - Address 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 request - Move "Labeling Conventions" page to "Concepts", while preserving tutorial using
.. include::directive. View pull request - Remove
/en/latest/slugs fromspinalcordtoolbox.comURLs. View pull request - Handle 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 (
-tasksyntax). View pull request - Fix hyperlink syntax in documentation (Markdown -> RST). View pull request
CI
- Skip
-hduration test on macOS CI runners due to sporadic runtimes. View pull request - Allow 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 request - Bump oldest macOS version used by test runners (12 -> 13). View pull request
FEATURE
- sct_analyze_lesion: Automatically compute midsagittal tissue bridges. View pull request
- sct_analyze_lesion: Support
CombinedLabelsfrominfo_label.txtwhen computing lesion distributions with-f. View pull request - sct_analyze_lesion: Add
-persliceoption (plus performance improvements to make it feasible). View pull request - sct_compute_flow: New function to compute velocity from VENC sequence. View pull request
- sct_deepseg: Track
sct_deepsegmodel provenance withsource.json(in model folder) and JSON sidecar (in output). View pull request - sct_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-taskarg to-install. View pull request - sct_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_mp2ragemodel with a nnUnet based model onsct_deepseg. View pull request - sct_deepseg: Fix rootlets QC by improving the cropping, centering, and colormap. View pull request
- sct_deepseg: Set
edgepadding as default for contrast-agnostic monai model. View pull request - sct_deepseg: Update SCI model to SCIsegV2 and standardize on
nnUNetTrainerfolder structure. View pull request - sct_maths: Allow multiple
sct_mathsoperations to be run sequentially on an image in one command. View pull request - sct_maths: Add
-volumewiseto process the individual 3D volumes of 4D input images. View pull request - Run 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
pandaswarning by explicitly usingcopyto remove view/copy ambiguity View pull request - sct_analyze_lesion: Fix slice numbering in QC and CLI output View pull request
- sct_apply_transfo: Make sure that
fname_outis set properly forfsleyescommand when-ois not passed. View pull request - sct_deepseg: Ensure that using
-thr 0with the contrast agnostic model generates a useful softseg. View pull request - sct_deepseg: Avoid buggy version of
nnunetv2that produces empty output predictions. View pull request - sct_dmri_moco, sct_fmri_moco: Output ANTs syntax in moco functions with
-v 2for easier debugging. View pull request - sct_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 request - sct_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.pyandqc2.py. View pull request - sct_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
mutexto avoidAlreadyLockederrors with many concurrent processes. View pull request - sct_register_to_template: Add rotation to landmark-based preregistration (
step=0) during template registration. View pull request - sct_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-inlinebackend for compatibility with Jupyter notebooks. View pull request
INSTALLATION
- Make
sct_download_dataerrors non-fatal during installations of SCT. View pull request - Restrict
numpy<2to avoid upstream errors. View pull request
DOCUMENTATION
- sct_analyze_lesion: Improve documentation of the
-fargument to make the percentages clearer. View pull request - sct_analyze_lesion: Improve formatting of bullet points in CLI help. View pull request
- sct_apply_transfo: Rewrite help for
-x labelto clarify the difference between single-voxel and multi-voxel labels. View pull request - sct_label_utils: Clarify that
-discdoes not involve orthogonal projection. View pull request - sct_run_batch: Clarified how many subjects are processed in parallel. View pull request
sct_label_utils: Clarify argument order for-disc. View pull request- Update 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_deepsegandsct_register_to_template. View pull request - sct_maths: Minor improvements to PR #4485. View pull request
- sct_qc: Refactor
qc.pyto usecreate_qc_entry. View pull request - Use Tensorflow's simple
LazyLoaderclass to minimize import times of expensive packages. View pull request - Simplify calls to
np.einsum. View pull request
CI
- Update github action to Node.js 20. View pull request
- Replace
libglib2.0-0witht64version to fix Debian Rolling Release test failure. View pull request - Update CentOS Stream 8 runner to work past EOL. View pull request
- Set
norecursedirsinsetup.cfgto avoid pytest collecting tests from our dependencies within ourvenv. View pull request
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-agnosticSC segmentation model to the latest v2.3 version. View pull request - sct_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.tsvfile used for QC. View pull request - sct_process_segmentation: Add improvements to CSA calculation for GM/WM masks (
-angle-corr-centerline,float32precision fix, doc warnings). View pull request - sct_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 + replaceLockwith Semaphore-basedmutex. View pull request - sct_qc: Switch from two-tone colormap to transparency for
sct_deepsegQC. View pull request
BUG
- sct_deepseg: Address upstream breaking API change by renaming
_gpuinput param to_device. View pull request - sct_deepseg: Avoid
nnunetv2=={2.4.0,2.4.1}to mitigate upstream bug forpredict_single_npy_array. View pull request - sct_qc: Fix
-p sct_label_vertebraeQC report when providing TotalSegmentator labels. View pull request - sct_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
int64arrays by explicitly passingdtype/headertoNifti1Image. View pull request - sct_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
ivadomedchanges that let us upgrade previously-pinned versions ofdipy/numpy/nibabel. View pull request - Address test warnings by pinning
pyqt5-sip<12.13.0and updatingsetup.cfgignore entries (pkg_resources). View pull request - Pin to
dipy<1.6until conflicts withdipy>=1.8can 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-headeroption to provide caution about header/data mismatches. View pull request - Add 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_entrycontext 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.oswithrunner.osto more robustly detect Win OSs in GHA workflows. View pull request - Move most broken link checking to a daily job. View pull request
- Fix broken link checker. View pull request
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.gzfile. View pull request
ENHANCEMENT
- Convert integer images to floating point when resampling with linear interpolation. View pull request
BUG
- sct_analyze_lesion: Set
minmax=Falseto prevent cropping during angle correction, avoiding slice number mismatches. View pull request - sct_compute_compression: Fix reversed slice numbering (
S->I=>I->S) in output CSV file. View pull request - sct_compute_mtsat: Apply missing B1 correction to
r1mapandacalculations to fix MTsat bug. View pull request - sct_deepseg: Reverse spacings to match nnUNet's
SimpleITK-based conventions. View pull request - sct_deepseg, sct_label_vertebrae: Mitigate scaling issues (
1.0->0.999) due to float/int datatype mismatches between header and array. View pull request - sct_label_vertebrae: Fix path splitting when space (
' ') is present inisct_spine_detectmodel path. View pull request - sct_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.0and not10.16. View pull request - Document 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
-discargument. View pull request - sct_run_batch: Add example syntax for YAML and JSON config files to the argparse help description for
exclude_list. View pull request - sct_run_batch: Add examples to
-include-listand-exclude-listflags. View pull request - Add 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
sphinxandfurowhile removing "Edit on GitHub" hack in the process. View pull request
REFACTORING
- Remove
utilsstar imports and ensure we are importing directly from submodules{fs,sys,shell}. View pull request - Remove unused
Image.verboseattribute. View pull request - Replace assertions with more appropriate errors. View pull request
CI
- Use the same Python version as SCT for linting. View pull request
FEATURE
- sct_analyze_lesion: Add function to output the axial damage ratio + minor improvements. View pull request
- sct_download_data: Add current
sct_tutorial_datarelease as a new course dataset. View pull request - sct_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 request - sct_deepseg: Append
-list-tasksto argparse help and update-list-tasks-long. View pull request - sct_label_utils: Speed up
-remove-referenceby removing unnecessary iteration. View pull request - sct_run_batch: Raise error if
-configfile has wrong suffix. View pull request
BUG
- sct_compute_compression: Use pandas for
.csvsaving to correctly merge existing output metric columns. View pull request - sct_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 request - sct_dmri_compute_dti: Avoid
dipyversions 1.6.0 + 1.7.0 that contain amethod=restorebug. View pull request - sct_dmri_display_bvecs: Fix
ValueErrorby passing a tuple tocolor=instead of a numpy array. View pull request - sct_label_vertebrae: Check whether the provided discfile is empty. View pull request
- sct_propseg: Remove parent parts from
fname_outto fix buggy-obehavior. View pull request - sct_qc: Fix QC for soft segmentations that have light regions close to
1.0(e.g.0.999). View pull request - sct_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.arraychange. View pull request - sct_straighten_spinalcord: Fix
IndexErrorduring straightening if-destimage is shorter than centerline image (-s). View pull request - Gracefully 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 request - Temporarily pin
onnxruntimeto <1.16. View pull request - Avoid onnxruntime 1.16.0 but allow onnxruntime >=1.16.1. View pull request
INSTALLATION
- Inline small
.yml"model" files. View pull request - Update Docker installation instructions for Linux/macOS/Windows. View pull request
DOCUMENTATION
- sct_compute_compression: Add tutorial for
sct_compute_compressionin documentation. View pull request - sct_compute_compression, sct_process_segmentation: Add references for PAM50 normalized metrics. View pull request
- sct_download_data: List
sct_download_datadatasets at the end of-h. View pull request - sct_download_data: Color installed datasets for
sct_download_data -h. View pull request - sct_run_batch: Clarification of
sct_run_batch -script-argsinput flag help. View pull request - sct_run_batch: Add note that
~should not be used in paths passed using the-script-argsarg. View pull request - Update installation docs for Windows (Miniconda) and Linux/macOS (standalone installer). View pull request
- Migrate old ReadTheDocs settings to
.readthedocs.yaml. View pull request - Update 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_firstmethod. View pull request - sct_warp_template: Remove
-sfunctionality 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
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
-dilateoption to enable cropping around a spinal cord segmentation. View pull request - sct_deepseg: Add support for model ensembles to
sct_deepseg, updatemp2rage_lesionmodel. View pull request - sct_deepseg_lesion, sct_qc: Add sagittal mosaic QC and use it for
sct_deepseg_lesionQC report. View pull request - sct_get_centerline: Add
-centerline-softoption to output a non-binary "soft" centerline. View pull request - sct_image: Replace
-setorient-datawith-flipand-transposeoptions. WARNING: Breaks compatibility with previous version. View pull request - sct_label_utils: Add new
project_centerlineoption insct_label_utilsto project an image on the spinal cord centerline . View pull request - sct_process_segmentation: Bring metrics in PAM50 anatomical dimensions in
sct_process_segmentation. View pull request - sct_process_segmentation: Display vertebral levels when provided with
-perslice 1. View pull request - sct_warp_template: Add new
-histooption to warp the newly-added PAM50 histology files. View pull request - sct_register_to_template: List resampled labels in order. View pull request
ENHANCEMENT
- sct_detect_pmj: Add
-qc-datasetand-qc-subjectflags tosct_detect_pmj.py. View pull request - sct_image: Add
-qc-subjectand-qc-datasetflags tosct_image. View pull request - sct_label_utils: Update
labelize_from_discs()to add level labels above the top disc and below the bottom disc. View pull request - sct_maths: Use
filters.rankinstead ofdilate/erodeforuint8/uint16images. View pull request - sct_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
tqdmbehavior for Windows and older Unix platforms. View pull request - Use
sct_progress_barforalgo=columnwiseandregister2dslicewise loops. View pull request - Replace
algo=rigidwithalgo=sliceregfor mt0-mt1 registration. View pull request - Selectively display
relpathorabspathin viewer syntax based on CWD. View pull request
BUG
- sct_analyze_texture: Change
grey-->grayin imports ofskimage.featurefunctions. View pull request - sct_compute_ernst_angle: Fix upper/lower TR bounds used when plotting Ernst angles (argument
-b). View pull request - sct_deepseg: Clean up improper submodule access (via imported parent modules). View pull request
- sct_deepseg_lesion: Fix broken
-v 2case by making surefname_res_ctrexists prior to resampling. View pull request - sct_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_centerlinefitseg. View pull request - sct_image: Swap order of
sct_image -stitchQC images to fix incorrect YML path. View pull request - sct_label_utils: Fix buggy
-create-viewerbehavior on initialization (undo crash, blank checkboxes). View pull request - sct_plugin.py (FSLeyes): Catch errors from outdated
wxpythonversions bundled with FSL, then suggest a solution. View pull request - sct_qc: Faithfully display
sct_qcarguments, rather than making a fake command. View pull request - sct_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 request - sct_register_to_template: Ensure that the
straightening.cachefile is output to the PWD during template registration. View pull request - sct_resample: Update
-mmand-refargument descriptions, fixparse.errorlogic, and add tests. View pull request - Pin
numpy<1.24to mitigate incompatibility withpystrum==0.2. View pull request - Better isolate the SCT conda env by using
-pinstead of-nduring creation. View pull request - Make matplotlib less verbose. View pull request
- Use
importlib.metadatato fetch list of scripts instead ofpkg_resources. View pull request
INSTALLATION
- sct_segment_graymatter: Remove
gm_modelfromdownload.pymodule and install scripts. View pull request - Replace
version.txtcontents (dev) with PEP440-compliant version (6.0.dev0). View pull request - Remove outdated/unused settings from
setup.cfg. View pull request - Update
version.txton master branch during release workflow. View pull request - Use Miniconda instead of built-in Python for Windows installations. View pull request
- Clean up
.egg-infoandpython/folders when reinstalling SCT. View pull request - Allow
install_sctto be run standalone (without downloading "Source code" archive). View pull request - Add missing features from
install_scttoinstall_sct.bat. View pull request - Remove 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: Installlibffifromconda-forge, rather thandefaults. View pull request- Make sure that
$SCT_DIRis 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_centerlineflag to mention-centerline fileinstead of-centerline manual. View pull request - sct_register_multimodal: Add an example
-paramconfiguration to the argparse help description ofalgo=dl. View pull request - Improve the readability of temporary directory names throughout SCT. View pull request
- Add link to mailing list. View pull request
- Improve the appearance of
spinalcordtoolbox.comin search results. View pull request - Standardize 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
flake8linting issues in thesct_plugin.pyscript. View pull request - sct_plugin.py (FSLeyes): Rename FSLeyes script from
sct_plugin.pytosct_fsleyes_script.py. View pull request - sct_register_multimodal: Simplify weight-loading model code for
algo='dl'. View pull request - Refactor
get_centerlinefunction to distinguish between OptiC and non-OptiC methods. View pull request - Remove
_get_centerline()and put functionality intocenterline/core.py'sget_centerline(). View pull request - Remove
round_and_clipfunction fromcenterline/core.py. View pull request - Add
im_typeargument indisplay_viewer_syntaxto facilitate colormap selection. View pull request - Fix flake8 lints. View pull request
- Remove each instance of the
-igtargument from SCT scripts. View pull request - Fix
flake8linting issues in thetesting/directory. View pull request - Code cleanup in
types.py. View pull request - Refactor
get_dimension. View pull request - Refactor
find_and_sort_coord. View pull request - Delete
create_test_data.pyand movedummy_functions into their respective test files. View pull request - Refactor
reports/qc.py. View pull request - Remove unused QC report assets. View pull request
CI
- List changed files for flake8. View pull request
- Improve
release-body.mdcontents to address feedback from v5.8 release. View pull request - Use 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_sctas an asset during release creation CI workflow. View pull request - Remove all 70,000+ warnings from test suite. View pull request
- Fix Debian 9 CI failures by adding
archivelinks to/etc/apt/sources.list. View pull request - Update 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 themasterbranch. View pull request - Add warning filters for upstream
pkg_resourceswarnings. View pull request
GIT/GITHUB
- Update PR template links to testing and documentation. View pull request
FEATURE
- sct_image: Add new
-stitchoption that wraps stitching functionality from Glocker et al.. View pull request - sct_process_segmentation: Add DistancePMJ when perslice flag in
sct_process_segmentation. View pull request - sct_run_batch: Add
-ignore-sesflag to processsub-directories even whenses-subdirectories are present. View pull request
ENHANCEMENT
- Update header
dtypeproperty on save/load to match the datatype of the data array. View pull request - sct_analyze_lesion, sct_analyze_texture, sct_denoising_onlm: Enforce use of
display_viewer_syntaxin four scripts using hardcodedfsleyescommands. View pull request - sct_get_centerline: Ensure that the output of
get_centerline()can be saved using-r 0. View pull request - sct_image: Update
binaries_linuxto include a rebuilt version ofstitchingthat targetscentos7. View pull request - sct_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 request - sct_register_to_template: Throw error when labels are lost during the straightening transform. View pull request
BUG
- Properly escape
\in the regex for removingsct_envfrom old RC files. View pull request - Ensure that calling
printv(type='error')actually exits the program. View pull request - Reduce logging from intermediate CLI scripts by setting
-v 0inmain()calls. View pull request - Address
[Errno 24] Too many open filesduring motion correction. View pull request - Fix several bugs when loading headers in the
Imageconstructor. View pull request - Set a more permissive
quaternion_thresholdinsideImageconstructor. View pull request - sct_analyze_lesion: Fix output filename spelling. View pull request
- sct_check_dependencies: Re-add
print_linecall for PropSeg check. View pull request - sct_extract_metric: Ensure that
-list-labelsis the last argument that is parsed. View pull request - sct_get_centerline: Exclude original file extension (e.g.
.nii.gz) from the output.csvfilename. View pull request - sct_merge_images, sct_smooth_spinalcord: Enforce
type=intfor arguments that usechoices=(0, 1). View pull request - sct_propseg, sct_straighten_spinalcord: Pass
argvtogenerate_qcfunctions (instead ofargumentsorsys.argv[1:]). View pull request - sct_register_multimodal: Improve handling of case where
algois specified alongsidetype='label'. View pull request - sct_run_batch: Modify
-include-listand-exclude-listto check against parts of a directory, too. View pull request - sct_run_batch: Fix
include_list/excludeargument ordering in call to_filter_directories. View pull request - sct_run_batch: Allow
path_outputparameter to start with~. View pull request - install_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
pyqt5to >5.11 and <5.15 to avoid "Cannot load library libqxcb.so" error on Ubuntu. View pull request - Ensure bundled GLIBC is up-to-date in order to resolve
MESA-LOADERerrors. View pull request - Add more thorough check for
gitwithin thePATHfor 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 request - Switch to higher-quality "Tools used" graph on the studies page. View pull request
- Update outdated links to
atlasandspinal_levelscripts inpam50.rst. View pull request - Clarify strengths of both
sct_propsegandsct_deepsegin the documentation. View pull request - Fix typo in "Registration" tutorial (
slice-by-slide->slice-by-slice). View pull request - sct_deepseg_lesion: Add missing spaces in multiline strings, and missing commas in lists. View pull request
- sct_image:
sct_image: Clarify descriptions for-setorientcommands. View pull request - sct_maths: Fix small typo in
-uthrhelp description (below->above). View pull request - sct_process_segmentation: Add references to Bédard and Cohen-Adad. View pull request
- sct_register_multimodal: Add scaling to
sct_register_multimodal -dofargument help. View pull request
REFACTORING
- Replace
run_proccalls withmaincalls across SCT's scripts. View pull request - Replace
argv=Nonedefault byargv: Sequence[str]type hint. View pull request - Simplify
add_suffix. View pull request - Move 5 unused scripts to
spinalcordtoolbox-dev. View pull request - Remove unused
isct_scripts from SCT's CLI and test suite. View pull request - sct_check_dependencies: Convert
isct_test_antsscript into apytesttest, then call viasct_check_dependencies. View pull request - sct_compute_snr, sct_dmri_moco, sct_fmri_moco, sct_maths, sct_process_segmentation: Call
parser.errorproperly. View pull request - sct_dmri_denoise_patch2self: Deal with
nibabeldeprecation ofget_headerandget_data. View pull request - sct_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
selemdeprecation by usingfootprint. View pull request - shell.py: Let
Metavarinherit fromstrto silence PyCharm type warning. View pull request
CI
- Upgrade Ubuntu 18.04 -> 20.04/22.04 in test suite. View pull request
- Set
draft: truein the release creation workflow. View pull request - Pin
flake8<6.0.0in our linting workflow. View pull request
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.batas a release asset duringcreate-release.ymlworkflow. View pull request - Remove coverage reporting via
codecov. View pull request - Refactor release workflow into 3 stages to properly test PR branches. View pull request
- Exclude
certifi @ filefrom pip freeze to work around upstream conda bug. View pull request - Expand
batch_processing.shtest 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
ifforelifto prevent error from being thrown when callingsct_maths -mi. View pull request - sct_merge_images: Remove catch-all exception handling. View pull request
- image.py: Use
shutil.copyfilefor output files if src/dest are on different filesystems. View pull request - sct_process_segmentation: Move CSA normalization models to
./data/at the root of the SCT repo. View pull request - sct_maths: Rewrite
-add/-sub/-mul/-divto match expected behavior for 3D/4D images. View pull request - image.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
protobufto fix upstream Keras issue. View pull request - Replace pushd/popd with cd-in-a-subshell. View pull request
- requirements.txt: Use CPU
--extra-index-urlto remove strict dependency pinning fortorch. View pull request - sct_download_data: Use binaries that are packaged by the
spinalcordtoolbox-binariesrepo. 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
Noneorientation strings when printing image headers. View pull request - sct_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.moveby using onlyutils.fs.mv. View pull request - Reduce flake8 warnings throughout the codebase. View pull request
- sct_label_vertebrae: Remove deprecation warning for previously-removed
gaussian_stdargument. View pull request - Fix executable file permissions and remove unnecessary header declarations. View pull request
- aggregate_slicewise.py: Update docstring for the
aggregate_per_slice_or_levelfunction. View pull request - sct_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 themasterbranch. View pull request - create-release.yml: Release directly from the
masterbranch. View pull request
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_propsegon Windows. View pull request - sct_analyze_texture: Stop using a tempfile for data reorientation. View pull request
- Open CSV files using
newline=''to fix\r\r\nissue. View pull request - sct_run_batch: Check
isdirdirectly, rather than trying to catchIsADirectoryError. View pull request - sct_dice_coefficient: Update
CMakeLists.txtto include bugfix for unresolved external symbol errors. View pull request - sct_run_batch: Account for non-UNIX platforms in
sys.platformchecks. View pull request - Replace hardcoded
/tmpdirectory withtmp_path. View pull request - Clean-up Windows-incompatible hardcoded
/path separators. View pull request - sct_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
-paramparsing to address several bugs. View pull request - sct_propseg: Fix parsing of
-dargument in script. View pull request - sct_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 request - sct_get_centerline: Stop appending
.nii.gzto the centerline output filepath if-ohas an extension. View pull request
INSTALLATION
- Suppress output of
where deactivatecheck. View pull request - Allow
install_sct.batfile execution from double click. View pull request - Isolate SCT script launchers from the
venv_sct/Scripts/directory on Windows. View pull request - Add
msvc-runtimeto our requirements to avoid DLL load error on Windows. View pull request install_sct.batOnly deactivate if script is available on PATH. View pull requestinstall_sct.bat: Userequirements-freeze.txtif 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-flink for PyTorch CPU HTML page. View pull request- Revert "requirements.txt -> setup.py" PR to restore old dependency-checking behavior. View pull request
DOCUMENTATION
- Fix inaccurate comment in
batch_processing.sh. View pull request - Update 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-longto print in-depth descriptions of deepseg tasks. View pull request
ENHANCEMENT
- Cosmetic fixes on
-list-tasks. View pull request - Add support for ITK-Snap + multiple viewers to
display_viewer_syntax. View pull request - sct_label_vertebrae: Improve the label cleaning function. View pull request
REFACTORING
- sct_label_vertebrae: Code cleanup. View pull request
- Refactor
sys.platformchecks to include Windows and use.startswith()idiom. View pull request - sct_label_vertebrae: Refactor argument parsing code. View pull request
- Rename and move CLI tests from
testing/api/totesting/cli/. View pull request
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 request - sct_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 request- Add coverage via
codecov. View pull request
BUG
- Add utility function to strip '.py' extensions. View pull request
- sct_maths: Refactor
-symmetrizefunction to fix dimension bug. View pull request - sct_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=Noneforpyramid_expandto fix bug inskimage==0.19.0. View pull request - sct_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 request - sct_qc: Fix colormap for vertebral labeling in the QC report. View pull request
INSTALLATION
- Allow
install_sctto run from any directory. View pull request - Use
--ignore-installedto preserve the version ofcertifithat gets installed duringconda create. View pull request - Use a more reliable way to disable USER_SITE. View pull request
requirements.txt: Pinonnxruntime>=1.7.0rather than==1.4.0. View pull requestinstall_sct: Skippip==21.2to avoid suboptimal dependency resolver. View pull requestinstall_sct: Replacesed -iwithperl -pi -e. View pull requestinstall_sct: Addtouchfixes to address WSL connection issues. View pull request- Fix 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
futuresfrom ourrequirements.txtfile. View pull request - Use 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_mathswithsct_separate_dmri_separate_dwi_and_b0in tutorial dMRI preprocessing. View pull request - Help 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 request - sct_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 request - Remove misleading
FSLeyesinstallation instructions. View pull request README.rst: Fix typo. View pull requestwindows.rst: Recommend echoing DISPLAY to ~/.profile, not .profile. View pull request- Remove leftover unnecessary
R|formatting. View pull request - Add 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 request- Add 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=Nonebugfix that was superseded by upstreamskimage=0.19.1patch. 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
FEATURE
- sct_process_segmentation: Add CSA normalization in
sct_process_segmentation. View pull request - sct_register_multimodal: Add
-owarpinvtosct_register_multimodal. View pull request - sct_maths: Introduce
-uthr(upper threshold) to complement-thr(lower threshold) in sct_maths. View pull request - sct_process_segmentation: Add PMJ-based CSA in
batch_processing.sh. View pull request - sct_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_segmentationfor PMJ-based CSA. View pull request - sct_compute_snr: Add
-oargument to output SNR value to a text file. View pull request - sct_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.pyto display multi-shell acquisition. View pull request
CI
- Upgrade Ubuntu versions in test suite. View pull request
- Modify
lint_code.ymlto try to make it work for PRs from forks.. View pull request - Improve the readability of the test suite. View pull request
- Add
workflow_dispatchfor test suite workflows. View pull request - Add GitHub Actions workflow to publish a new release. View pull request
BUG
- sct_check_dependencies: Import
pyplotbeforePyQtto mitigate a finickylibgcc_s.so.1error. View pull request - sct_smooth_spinalcord: Fix the output files of
sct_smooth_spinalcord(smooth.nii.gz,straight_ref.nii.gz). View pull request - Fix-up broken test for
sct_compute_snr. View pull request - sct_register_to_template,sct_register_multimodal: Apply softmask workaround to
sliceregalgorithm. View pull request - sct_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->srcfiles if registration is only performed one-way. View pull request - sct_propseg: Fix
rescale_header is not 1because the default value is1.0. View pull request - sct_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_liketo fix-create-viewerbug. View pull request - sct_dmri_display_bvecs: Add test for
sct_dmri_display_bvecs, then add-vargument to make the test pass. View pull request - sct_dmri_moco: Fix
-bvalsfilepath handling and update bvals argparse help. View pull request - sct_resample: Make sure TR parameter isn't lost when resampling 4D images. View pull request
- sct_apply_transfo: Change
sct_apply_transfo -v 0to matchisct_antsApplyTransformoutput. 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 request - Throw error during installation if
$SCT_DIRcontains spaces. View pull request
DOCUMENTATION
- Update references. View pull request
- Fix inconsistent description on
studies.rstpage. View pull request - Update 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 request - Remove 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 request - sct_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 request - sct_qc: Add QC field in .yml list for
sct_detect_pmj. View pull request - Fix table size and scrolling in the QC report. View pull request
REFACTORING
- Update outdated information + PEP8 fixes in
setup.py. View pull request - Clean up scattered/broken tests and move into a single folder. View pull request
- Test
batch_processing.shvalues by indexing column name, not number. View pull request - Modify
zeros_liketo no longer make a copy, and to avoid rescaling. View pull request - sct_testing: Replace all 45
sct_testingtests with Pytest equivalents. View pull request - Remove generate_path from methods in Image class. View pull request
GIT/GITHUB
- Replace
neuropoly/spinalcordtoolboxwithspinalcordtoolbox/spinalcordtoolbox. View pull request
FEATURE
- sct_image: Handle affine matrix mismatches better by exposing
-set-qform-to-sform. View pull request - sct_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_imageto print image headers. View pull request - sct_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 request - sct_deepseg: Update model and fixed default output suffix. View pull request
- Update outdated
sct_register_graymattercommand inbatch_processing.sh. View pull request - sct_run_batch: Unset
PYTHONNOUSERSITEin environment before calling batch script. View pull request - sct_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_tolerancein thebatch_processing.shtest. View pull request - sct_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 request - Add 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.shto 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 request- Adding 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
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
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
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
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
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
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
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
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
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
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
-noqcView pull request - Add 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
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
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
- Merge multiple source images onto destination space. View pull request
- 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
- 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
- OPT: display mean and std instead of mean twice View pull request
- 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
- 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
- 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
- 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)
- 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.
- 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)
- NEW: sct_extract_metric: method "max" to extract CSA value form interpolated volume (e.g. PAM50 space) without partial volume bias
- INST: Fixed #992, #1004, #1008, #1012
- OPT: Fixed #875
- INST: Fixed #1007, #1009
- BUG: Fixed #870, #898, #859, #871, #1005, #750, #444, #878, #1000
- INST: Fixed issue with matplotlib version 1.5.3
- 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
- BUG: Fixed #994, #989, #988, #976, #968
- BUG: sct_straighten_spinalcord: fixed instabilities related to generation of labels (issue #722)
- OPT: sct_dmri_moco: added flag "-bvalmin" to specify b=0 threshold and improved reading of bval file.
- 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)
- BUG: Fixed major issue during installation (issue #708)
- BUG: sct_process_segmentation: fixed bug occuring with small FOV (issue #706)
- 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
- 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.
- sct_process_segmentation: fixed issue with computation of volume based on vertebral level (slice selection now using centerline)
- fixed compatibility with new PAM50 template
- harmonized flags
- sct_process_segmentation: now computes volume
- BUG: sct_process_segmentation: fixed bug of output file location (issue #395)
- BUG: sct_process_segmentation: fixed error when calculating CSA (issue #388)
- 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
- 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
- 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)
- 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)
- 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
- 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 ).
- FIX: updated ANTs binaries for compatibility with GLIBC_2.13 (issue: https://sourceforge.net/p/spinalcordtoolbox/discussion/help/thread/e00b2aeb/)
- 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.
- 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
- 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.
- INST: toolbox now requires matplotlib
- first public release!
- NEW: dMRI moco
- INST: libraries are now statically compiled
- OPT: propseg: now results are reproducible (i.e. removed pseudo-randomization)
- 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
- 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
- NEW: installer for ANTs (currently only for OSX)
- fixed bugs
- major changes in sct_register_multimodal
- fixed bugs
- NEW: nonlocal means denoising filter
- NEW: sct_smooth_spinalcord --> smoothing along centerline
- fixed bugs
- first beta version!