Git Product home page Git Product logo

slicerelastix's Introduction

SlicerElastix

This extension makes available Elastix medical image registration toolkit (http://elastix.isi.uu.nl/) available in Slicer.

Installation

  • Download and install latest stable release or a recent nightly release of 3D Slicer (https://download.slicer.org).
  • Start 3D Slicer application, open the Extension Manager (menu: View / Extension manager)
  • Install SlicerElastix extension (in Registration category)

Register two volumes

  • Start 3D Slicer
  • Load your volumes (for example: switch to SampleData module and load MRBrainTumor1 and MRBrainTumor2 images)
  • Switch to General registration (Elastix) module (in Registration category)
  • Select Fixed volume (for example: MRBrainTumor1)
  • Select Moving volume (this volume will be resampled to match voxels of the Fixed volume; for example: MRBrainTumor2)
  • Select Preset: generic (all) performs deformable registration; generic rigid (all) performs rigid registration
  • Select "Create new Volume" for Output volume (this will be the resampled moving volume)
  • Select "Create new Transform" if later you want to visualize the displacement field or apply the transform to other nodes (points, surfaces, other volumes)
  • Click Apply button and wait a couple of minutes

Visualize and save results

  • To compare Fixed volume with Output volume (registered moving volume): set Fixed volume as Foreground volume in slice viewers and fade between the Output volume and Foreground volume to see how well they are aligned.
  • To display displacement field: in Transforms module, select the Output transform and in Display section enable visualization in slice and/or 3D views.
  • To apply transforms to other nodes: use Transforms module (or in Data module / Transform hierarchy tab: drag-and-drop nodes under the Output transform).
  • To save Output volume or transform, select menu: File / Save.

Customize registration parameters

  • Click Show database folder in Advanced section, which will open the tolder that contains all registration preset parameter files
  • Edit the parameter set database file (ElastixParameterSetDatabase.xml) to edit or add a new preset (each ParameterSet element defines one preset)
  • To modify parameters of a registration step, edit the corresponding .txt parameter file

slicerelastix's People

Contributors

lassoan avatar jcfr avatar pieper avatar cpinter avatar bishopwolf avatar sunderlandkyl avatar pcarnah avatar surgicaltechlab 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.