
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Library of useful tools for Medical Imaging Handling
Instructions for installation and usage examples can be found below.
It's highly recommended you install I2T2
and its dependencies in a virtual environment (conda or others), so that you don't interfere with system-wide python packages.
git clone https://github.com/UCSF-intelligent-imaging/I2T2/
cd I2T2
conda create -n I2T2 python=3.7
conda activate I2T2
pip install nbdev jupyter
pip install -e .
conda install -c conda-forge gdcm
conda create -n I2T2 python=3.7
conda activate I2T2
pip install nbdev jupyter
pip install I2T2
conda install -c conda-forge gdcm
conda activate I2T2
python
>>> import I2T2
NOTE:
I2T2
uses GDCM to uncompress some DICOMs.
Make sure to have GDCM installed in your conda environment via conda install -c conda-forge gdcm
conda activate I2T2
python
>>> import gdcm
# example usage:
from I2T2.io import *
import matplotlib.pyplot as plt
data_path = '../data/knee/'
try:
array = load_dcm(path_to_dicom_dir = data_path, sort_by_slice_location=True)
plt.imshow(array[:,:,0])
plt.show()
except:
print('could not load array')
FAQs
Suite of useful tools for manipulating medical images.
We found that I2T2 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.