All Projects → korbinian90 → MriResearchTools.jl

korbinian90 / MriResearchTools.jl

Licence: MIT license
Specialized tools for MRI

Programming Languages

julia
2034 projects

Projects that are alternatives of or similar to MriResearchTools.jl

Brain-MRI-Segmentation
Smart India Hackathon 2019 project given by the Department of Atomic Energy
Stars: ✭ 29 (+81.25%)
Mutual labels:  mri, mri-images
brainGraph
Graph theory analysis of brain MRI data
Stars: ✭ 136 (+750%)
Mutual labels:  mri
vbcg
real-time application for video-based methods in the context of MRI
Stars: ✭ 20 (+25%)
Mutual labels:  mri
torchkbnufft
A high-level, easy-to-deploy non-uniform Fast Fourier Transform in PyTorch.
Stars: ✭ 133 (+731.25%)
Mutual labels:  mri
SemiDenseNet
Repository containing the code of one of the networks that we employed in the iSEG Grand MICCAI Challenge 2017, infant brain segmentation.
Stars: ✭ 55 (+243.75%)
Mutual labels:  mri
subpixel-embedding-segmentation
PyTorch Implementation of Small Lesion Segmentation in Brain MRIs with Subpixel Embedding (ORAL, MICCAIW 2021)
Stars: ✭ 22 (+37.5%)
Mutual labels:  mri
spinalcordtoolbox
Comprehensive and open-source library of analysis tools for MRI of the spinal cord.
Stars: ✭ 135 (+743.75%)
Mutual labels:  mri
MRQy
MRQy is a quality assurance and checking tool for quantitative assessment of magnetic resonance imaging (MRI) data.
Stars: ✭ 58 (+262.5%)
Mutual labels:  mri
nn-segmentation-for-lar
Neural networks to segment some type of biomedical images
Stars: ✭ 21 (+31.25%)
Mutual labels:  mri
mrnet
Building an ACL tear detector to spot knee injuries from MRIs with PyTorch (MRNet)
Stars: ✭ 98 (+512.5%)
Mutual labels:  mri-images
ROMEO
Executables for ROMEO unwrapping for Linux, Windows and Mac OSX
Stars: ✭ 27 (+68.75%)
Mutual labels:  mri-images
ArteryNetwork
A pipeline to extract vessels from MR images and perform analysis.
Stars: ✭ 21 (+31.25%)
Mutual labels:  mri-images
MIRT.jl
MIRT: Michigan Image Reconstruction Toolbox (Julia version)
Stars: ✭ 80 (+400%)
Mutual labels:  mri
VT-UNet
[MICCAI2022] This is an official PyTorch implementation for A Robust Volumetric Transformer for Accurate 3D Tumor Segmentation
Stars: ✭ 151 (+843.75%)
Mutual labels:  mri
ENIGMA
The ENIGMA Toolbox is an open-source repository for accessing 100+ ENIGMA statistical maps, visualizing cortical and subcortical surface data, and relating neuroimaging findings to micro- and macroscale brain organization. 🤠
Stars: ✭ 66 (+312.5%)
Mutual labels:  mri
BrainPrep
Preprocessing pipeline on Brain MR Images through FSL and ANTs, including registration, skull-stripping, bias field correction, enhancement and segmentation.
Stars: ✭ 107 (+568.75%)
Mutual labels:  mri
MRI intensity normalization
Intensity normalization of multi-channel MRI images using the method proposed by Nyul et al. 2000
Stars: ✭ 49 (+206.25%)
Mutual labels:  mri-images
sunrise
NumPy, SciPy, MRI and Music | Presented at ISMRM 2021 Sunrise Educational Session
Stars: ✭ 20 (+25%)
Mutual labels:  mri
DOSMA
An AI-powered open-source medical image analysis toolbox
Stars: ✭ 45 (+181.25%)
Mutual labels:  mri
fastmri-reproducible-benchmark
Try several methods for MRI reconstruction on the fastmri dataset. Home to the XPDNet, runner-up of the 2020 fastMRI challenge.
Stars: ✭ 117 (+631.25%)
Mutual labels:  mri

MriResearchTools

Dev Build Status Codecov

Prerequisites

A Julia installation v1.3 or higher is required. To get the newest version of this package, Julia v1.6 LTS or newer is recommended.

Magnitude and Phase images in NIfTI fileformat (4D images with echoes in the 4th dimension, 5D images with channels in the 5th dimension)

Installing

Open the Julia REPL and type

julia> ] # enter julia package manager
(v1.8) pkg> add MriResearchTools
(v1.8) pkg> # type backspace to get back to the julia REPL
julia>

Quick Start

Open multi-echo 4D NIfTI phase and magnitude files and perform ROMEO phase unwrapping.

using MriResearchTools
# input images
TEs = [4,8,12]
nifti_folder = joinpath("test", "data", "small")
magfile = joinpath(nifti_folder, "Mag.nii") # Path to the magnitude image in nifti format, must be .nii or .hdr
phasefile = joinpath(nifti_folder, "Phase.nii") # Path to the phase image
# load images
mag = readmag(magfile)
phase = readphase(phasefile)
# unwrap
unwrapped = romeo(phase; mag=mag, TEs=TEs)
# save unwrapped image
outputfolder = "outputFolder"
mkpath(outputfolder)
savenii(unwrapped, "unwrapped", outputfolder, header(phase))

Included Functionality

Function Reference: https://korbinian90.github.io/MriResearchTools.jl/dev

ROMEO 3D/4D Phase Unwrapping
romeo unwrap unwrap_individual romeovoxelquality mask_from_voxelquality

QSM 3D/4D QSM (experimental stage) qsm_average qsm_B0 qsm_laplacian_combine qsm_romeo_B0 qsm_mask_filled

Laplacian unwrapping
laplacianunwrap

MCPC-3D-S multi-echo coil combination
mcpc3ds

Reading, writing and other functions for NIfTI files (adapted from JuliaIO/NIfTI)
readphase readmag niread savenii header write_emptynii

Magnitude homogeneity correction (example)
makehomogeneous

Masking
robustmask phase_based_mask

Combine multiple coils or echoes (magnitude only)
RSS

Unwarping of B0 dependent shifts
getVSM thresholdforward unwarp

Fast gaussian smoothing for real, complex data and phase (via complex smoothing)
gaussiansmooth3d gaussiansmooth3d_phase

  • standard
  • weighted
  • with missing values
  • optional padding to avoid border effects

Fast numeric estimation of T2* and R2*
NumART2star r2s_from_t2s

Other functions
robustrescale getHIP getsensitivity getscaledimage estimatequantile estimatenoise

Methods are implemented from these Publications

ROMEO

Dymerska, B., Eckstein, K., Bachrata, B., Siow, B., Trattnig, S., Shmueli, K., Robinson, S.D., 2020. Phase Unwrapping with a Rapid Opensource Minimum Spanning TreE AlgOrithm (ROMEO). Magnetic Resonance in Medicine. https://doi.org/10.1002/mrm.28563

MCPC-3D-S

Eckstein, K., Dymerska, B., Bachrata, B., Bogner, W., Poljanc, K., Trattnig, S., Robinson, S.D., 2018. Computationally Efficient Combination of Multi-channel Phase Data From Multi-echo Acquisitions (ASPIRE). Magnetic Resonance in Medicine 79, 2996–3006. https://doi.org/10.1002/mrm.26963

Homogeneity Correction

Eckstein, K., Trattnig, S., Robinson, S.D., 2019. A Simple Homogeneity Correction for Neuroimaging at 7T, in: Proceedings of the 27th Annual Meeting ISMRM. Presented at the ISMRM, Montréal, Québec, Canada. https://index.mirasmart.com/ISMRM2019/PDFfiles/2716.html Eckstein, K., Bachrata, B., Hangel, G., Widhalm, G., Enzinger, C., Barth, M., Trattnig, S., Robinson, S.D., 2021. Improved susceptibility weighted imaging at ultra-high field using bipolar multi-echo acquisition and optimized image processing: CLEAR-SWI. NeuroImage 237, 118175. https://doi.org/10.1016/j.neuroimage.2021.118175

NumART2* - fast T2* and R2* fitting

Hagberg, G.E., Indovina, I., Sanes, J.N., Posse, S., 2002. Real-time quantification of T2* changes using multiecho planar imaging and numerical methods. Magnetic Resonance in Medicine 48(5), 877-882. https://doi.org/10.1002/mrm.10283

Phase-based-masking

Hagberg, G.E., Eckstein, K., Tuzzi, E., Zhou, J., Robinson, S.D., Scheffler, K., 2022. Phase-based masking for quantitative susceptibility mapping of the human brain at 9.4T. Magnetic Resonance in Medicine. https://doi.org/10.1002/mrm.29368

License

This project is licensed under the MIT License - see the LICENSE for details

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].