Giter Site home page Giter Site logo

cudipy's Introduction

GPU-accelerated functions for DIPY

cuDIPY is a Python library providing GPU-based implementations of a subset of algorithms from the DIPY software library.

This repository is at an early stage of development and should be considered experimental. Longer-term, we plan to incorporate GPU support into DIPY itself rather than maintaining two libraries in parallel.

Documentation

The behavior of functions in this repository should match those in the main DIPY respository. See DIPY's Documentation for details of individual functions.

Requirements

The following requirements should be installed prior to installing cuDIPY.

numpy >= 1.17 cupy >= 9.0.0b1 (targeting CuPy 9.0 release in April 2021) nibabel >= 3.0.0 scipy >= 1.1

Installing cuDIPY

cuDIPY is not currently on PyPI, but can be installed from the repository using `pip`:

pip install git+https://github.com/dipy/cudipy.git

Available Functionality

This library implements what is currently a relatively small, but useful subset of DIPY. Currently this include some the following primary functionality:

  • Non-rigid registration via cudipy.align.SymmetricDiffeomorphicRegistration (SyN) using a normalized cross-correlation metric (CCMetric). The AffineMap, DiffeoMorphicMap and ScaleSpace classes have also been implemented.
  • Tissue segmentation using cudipy.segment.TissueClassifierHMRF.
  • Gibbs artifactd removal via cudipy.denoise.gibbs_removal
  • Noise estimation via cudipy.denoise.noise_estimate and cudipy.denoise.pca_noise_estimate.
  • Brain extraction via median_otsu

In general, the functions and classes operate in the same way as their DIPY counterparts, but take CuPy arrays as inputs rather than NumPy arrays. The functions have only been tested on NVIDIA GPUs, but some functionality may also work on AMD GPUs via CuPy's initial HIP/ROCm support.

cudipy's People

Contributors

grlee77 avatar arokem avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.