SlideShare ist ein Scribd-Unternehmen logo
1 von 91
Diffusion Tensor Imaging:  from Dicom to Nrrd Sonia Pujol, Ph.D. Randy Gollub, M.D., Ph.D. National Alliance for Medical Image Computing
Acknowledgments ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Goal of the Tutorial Training on how to convert DICOM DWI data to the Nrrd File format,  compatible with Slicer visualization and analysis Raw Data Raw Data Raw Data Nrrd Header Dicom Header Dicom Header Dicom Header Dicom Header Raw Data
Overview ,[object Object],[object Object],[object Object],[object Object],[object Object]
Diffusion Weighted Imaging The signal is dimmer when the direction of the applied gradient is parallel to the principal direction of diffusion. Diffusion Sensitizing Gradients  Diffusion Weighted  Images
Diffusion Weighted Imaging (DWI) Example: Correlation between the orientation of the 11 th  gradient and the signal intensity in the Splenium of the Corpus Callosum
Diffusion Weighted Imaging (Stejskal and Tanner 1965, Basser 1994 ) {Si} represent the signal intensities in presence of the diffusion sensitizing gradients  gi  b  is the diffusion weighted parameter Diffusion Weighted  Images
Background ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Which image is correct ?
Which image is correct ?
The left one is correct
Overview ,[object Object],[object Object],[object Object],[object Object],[object Object]
Nearly Raw Raster Data (Nrrd) ,[object Object],[object Object],Nrrd Header + Raw Data Raw Data Raw Data
Nrrd file format ,[object Object]
Nrrd file format ,[object Object]
Coordinate Frames Diffusion Weighted  Images Diffusion Sensitizing Gradients  Courtesy G.Kindlmann Courtesy G.Kindlmann (X,Y,Z) (I,J,K)
Coordinate Frames DWI Image Orientation (I,J,K)  Diffusion Sensitizing Gradients  (X,Y,Z) Patient Space Courtesy G.Kindlmann (X,Y,Z) (I,J,K)
Transformation matrices ,[object Object],(X,Y,Z) (I,J,K) T: XYZ  RAS (R,A,S) Courtesy G.Kindlmann
Nrrd Terminology ,[object Object],(X,Y,Z) (I,J,K) (R,A,S) T: IJK  RAS Courtesy G.Kindlmann
Nrrd requirements for DWI data ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Nrrd requirements for DWI data ,[object Object],[object Object],[object Object],[object Object],[object Object]
Overview ,[object Object],[object Object],[object Object],[object Object],[object Object]
Generating Nrrd Files ,[object Object],[object Object],[object Object],[object Object]
Unu syntax ,[object Object],[object Object],[object Object],[object Object],[object Object]
Unu syntax: ‘make’ command ,[object Object],[object Object],[object Object],[object Object]
Running unu on Windows ,[object Object],[object Object],[object Object],[object Object],[object Object]
Running unu on Mac/Linux/Solaris   ,[object Object],[object Object],[object Object],[object Object]
Overview ,[object Object],[object Object],[object Object],[object Object],[object Object]
DICOM DWI Training Data ,[object Object],[object Object]
DWI Training Data Type the command  cd  and enter the path to your data in the Tk Console. Type  ls  to list all the data files.
DWI Training Data The dataset is composed of 504 images named S4.xxx
Unu command (Windows) unu make -h --input S4.%03d 1 504 1 2 --encoding raw  --byteskip -1   Type the unu command with the  input ,  encoding  and  byteskip  fields  Min index Max index Increment 2D Image Read backwards from end of file Do not hit Enter
Unu command (Mac/Linux) unu make -h --input S4.%03d 1 504 1 2 --encoding raw  --byteskip -1   Type the unu command with the  input ,  encoding  and  byteskip  fields  Min index Max index Increment 2D Image Read backwards from end of file slicer2.6-opt-darwin-ppc-2006-05-18/Lib/darwin-ppc/teem-build/bin
Numbers as file naming convention  (*) ,[object Object],[object Object],[object Object],[object Object],(*) Background information  unu make -h --input S4.%03d 1 504 1 2 --encoding raw  --byteskip -1
Read the DICOM Header Click on  AddVolume
Read the DICOM Header Select the Properties  Dicom The Props  panel appears.
Read the DICOM Header Click on  Select Dicom Volume  and browse to load the dataset located in the directory  dwi-dicom The Dicom Props  panel appears.
Read the Dicom Header Slicer displays the list of Dicom files in the directory. Click on  OK
Read the Dicom Header Click on  Extract Header  to display the content of the Dicom Header.
Read the Dicom Header Slicer displays the content of the  Dicom Header . This information will be used to generate the  Nrrd header .
Extracting the volume characteristics ,[object Object],[object Object],[object Object],[object Object]
Extracting the volume characteristics - Data Type:  Short - Endianess:  Little
Unu Command Add the fields  endian  and  type  to the unu command  --endian little --type short
Extracting the volume characteristics The dataset was acquired with Nb=2 Baselines and Ng=12 Gradients  Image Dimensions: 256 pixels x 256 pixels
DICOM DWI Training Data ,[object Object],[object Object]
Extracting the volume characteristics The dataset was acquired with Nb=2 Baselines and Ng=12 Gradients  ,[object Object],[object Object],Image Dimensions: 256 pixels x 256 pixels
Unu Command  --size 256 256 36 14 --centering cell cell cell none Medical images are cell-centered samples Add the fields  size  and  centering  to the unu command
Slice Thickness  Extract the slice thickness from the Dicom header
Slice Thickness  slice thickness = 3.00 mm
Slice Thickness ,[object Object],Add the  field  thickness to the unu command
Building the transformation matrices ,[object Object],[object Object],[object Object],DICOM: LPS SLICER: RAS
Space Directions ,[object Object],--space  right-anterior-superior
Space Directions Extract the pixel size from the Dicom Header.
Space Directions Pixel size = 0.9375 mm x  0.9375 mm The dataset was acquired with Superior-Inferior slice ordering
Space Directions --directions  “ ( - 0.9375,0,0) (0, - 0.9375,0) (0,0,-3) none “ Add the fields  directions  and  unit  to the unu command DICOM: LPS SLICER: RAS
Space Origin Courtesy G.Kindlmann The space origin is the position of the first pixel in the first image.  This information is contained in the Dicom Header of the first slice.
Space Origin The space origin information is located in the Dicom header  [ 0020,0032, Image Position Patient ]  Courtesy G.Kindlmann
Space Origin ,[object Object],[object Object],[object Object],[object Object],Click on  Cancel  to come back to the Main menu
Space Origin Click  Add Volume select the tab  Props,  and the format  DICOM
Space Origin Click on  Select DICOM Volume Select the directory / FirstSlice containing the first slice
Space Origin Click on  List Headers  to display the content of the header of the first image.
Space Origin Slicer displays the content of the header of the first image.
Space Origin Scroll down to display the value of the tag  [0020,0032, Image Position Patient ]
Space Origin [0020,0032, Image Position Patient ]   = -125.0, -124.09, 79.30
Space Origin Click on OK to close the  Dicom Header Window
Space Origin --origin "( + 125.0, + 124.10,79.30)" Add the field  origin  to the unu command DICOM: LPS SLICER: RAS
Measurement Frame
Measurement Frame
Measurement Frame ,[object Object],Add the field  measurement frame  to the unu command
Axis Ordering Courtesy G.Kindlmann
Axis Ordering ,[object Object],Add the field  kinds  to the unu command Axis Ordering: columns, rows, slices, intensity values
Output File Add the field  output  to the unu command --output  myNrrdDWI.nhdr
Output File Type ls in the  Tk Console The file myNrrdDWI.nhdr is listed in the directory
Acquisition parameters Open the file  MyNrrdDWI.nhdr  with a text Editor
Acquisition parameters Open a web browser at the location  http://www.na-mic.org/Wiki/index.php/Dartmouth-DWI-parameters
Acquisition parameters Copy the acquisition parameters from this wiki page to the end of the file  MyNrrdDWI.nhdr, hit Enter  and save the resulting file
Result Final result of the tutorial: Nrrd header for the DWI training dataset
Overview ,[object Object],[object Object],[object Object],[object Object],[object Object]
Loading the Nrrd Volume Click on  Cancel  to come back to the Main Menu
Loading the Nrrd Volume Click on  Add Volume  to load the DWI training dataset using the Nrrd header
Loading the Nrrd Volume Select  Nrrd Reader  in the  Properties  field The  Props Panel  of the module Volumes appears.
Loading the Nrrd Volume Click on  Apply Check that the path to the file  myNrrdDWI.nhdr  is correct. If needed, manually enter it Browse to load the file  myNrrdDWI.nhdr
Loading the Nrrd Volume Slicer loads the Nrrd DWI  dataset  Left-click on  Or  and change the orientation to  Slices
Loading the Nrrd Volume Change the  FOV  to 2000
Loading the Nrrd Volume The sagittal and coronal viewers display the 14 DWI volumes: 2 baselines and 12 gradients
Loading the Nrrd Volume Display the axial and sagittal slices inside the viewer. Use the axial slider to observe the baselines and gradient volumes.
Converting the DWI data to tensors Select the module DTMRI and click on the tab  Conv Select the Input volume  myNrrdDWI.nhdr  and click on  ConvertVolume
Converting the DWI data to tensors Slicer displays the anatomical views of the  Average Gradient  volume.
Glyphs Select the panel  Glyphs  in the DTMRI module Select the Active DTMRI volume  myNrrdDWI-nhdr_Tensor Select  Glyphs on Slice  for the axial (red) view Set  Display Glyphs On
Glyphs Orientation of the glyphs in the Corpus Callosum
Conclusion ,[object Object],[object Object],[object Object]

Weitere ähnliche Inhalte

Was ist angesagt?

Predict price of car from Vehicles Dataset
Predict price of car from Vehicles DatasetPredict price of car from Vehicles Dataset
Predict price of car from Vehicles Dataset
Sumit Saini
 
Robust real time object detection
Robust real time object detectionRobust real time object detection
Robust real time object detection
Erliyah Jannah
 

Was ist angesagt? (20)

Lane Detection
Lane DetectionLane Detection
Lane Detection
 
Convolutional Neural Network and Its Applications
Convolutional Neural Network and Its ApplicationsConvolutional Neural Network and Its Applications
Convolutional Neural Network and Its Applications
 
Image Classification using deep learning
Image Classification using deep learning Image Classification using deep learning
Image Classification using deep learning
 
Object detection
Object detectionObject detection
Object detection
 
Titanic survivor prediction by machine learning
Titanic survivor prediction by machine learningTitanic survivor prediction by machine learning
Titanic survivor prediction by machine learning
 
K means clustering
K means clusteringK means clustering
K means clustering
 
Research Trends in Editing image using GAN (TAGAN, Editable GAN)
Research Trends in Editing image using GAN (TAGAN, Editable GAN)Research Trends in Editing image using GAN (TAGAN, Editable GAN)
Research Trends in Editing image using GAN (TAGAN, Editable GAN)
 
Support Vector Machine ppt presentation
Support Vector Machine ppt presentationSupport Vector Machine ppt presentation
Support Vector Machine ppt presentation
 
Human age and gender Detection
Human age and gender DetectionHuman age and gender Detection
Human age and gender Detection
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
Object detection presentation
Object detection presentationObject detection presentation
Object detection presentation
 
ShortStoryPPT.pptx
ShortStoryPPT.pptxShortStoryPPT.pptx
ShortStoryPPT.pptx
 
Boundary Extraction
Boundary ExtractionBoundary Extraction
Boundary Extraction
 
Autocorrelators1
Autocorrelators1Autocorrelators1
Autocorrelators1
 
Convolutional Neural Networks
Convolutional Neural NetworksConvolutional Neural Networks
Convolutional Neural Networks
 
Object Detection using Deep Neural Networks
Object Detection using Deep Neural NetworksObject Detection using Deep Neural Networks
Object Detection using Deep Neural Networks
 
Yolo
YoloYolo
Yolo
 
Predict price of car from Vehicles Dataset
Predict price of car from Vehicles DatasetPredict price of car from Vehicles Dataset
Predict price of car from Vehicles Dataset
 
Multimedia content based retrieval in digital libraries
Multimedia content based retrieval in digital librariesMultimedia content based retrieval in digital libraries
Multimedia content based retrieval in digital libraries
 
Robust real time object detection
Robust real time object detectionRobust real time object detection
Robust real time object detection
 

Ähnlich wie Nrrd to Dicom Conversion-3769

L&G EI_Release Proc
L&G EI_Release ProcL&G EI_Release Proc
L&G EI_Release Proc
Paul Rouse
 
I doc packaging and mapping techniques.doc
I doc packaging and mapping techniques.docI doc packaging and mapping techniques.doc
I doc packaging and mapping techniques.doc
VERUS BRASIL
 

Ähnlich wie Nrrd to Dicom Conversion-3769 (20)

Medianet manual
Medianet manualMedianet manual
Medianet manual
 
Dicom
DicomDicom
Dicom
 
Secure Image Transmission for Cloud Storage System Using Hybrid Scheme
Secure Image Transmission for Cloud Storage System Using Hybrid SchemeSecure Image Transmission for Cloud Storage System Using Hybrid Scheme
Secure Image Transmission for Cloud Storage System Using Hybrid Scheme
 
Diffusion Tensor Imaging Analysis-3749
Diffusion Tensor Imaging Analysis-3749Diffusion Tensor Imaging Analysis-3749
Diffusion Tensor Imaging Analysis-3749
 
dicom.ppt
dicom.pptdicom.ppt
dicom.ppt
 
Lab report 8 creating TIN map of Trivandrum district, kerala
Lab report 8  creating TIN map of Trivandrum district, keralaLab report 8  creating TIN map of Trivandrum district, kerala
Lab report 8 creating TIN map of Trivandrum district, kerala
 
A METHOD FOR ENCRYPTING AND DECRYPTINGWAVE FILES
A METHOD FOR ENCRYPTING AND DECRYPTINGWAVE FILESA METHOD FOR ENCRYPTING AND DECRYPTINGWAVE FILES
A METHOD FOR ENCRYPTING AND DECRYPTINGWAVE FILES
 
Data Loading and Visualization-3735
Data Loading and Visualization-3735Data Loading and Visualization-3735
Data Loading and Visualization-3735
 
L&G EI_Release Proc
L&G EI_Release ProcL&G EI_Release Proc
L&G EI_Release Proc
 
DICOM Structure Basics
DICOM Structure BasicsDICOM Structure Basics
DICOM Structure Basics
 
Structure of DICOM Image
Structure of DICOM ImageStructure of DICOM Image
Structure of DICOM Image
 
Conquest for dummies: how to setup a pacs server
Conquest for dummies: how to setup a pacs serverConquest for dummies: how to setup a pacs server
Conquest for dummies: how to setup a pacs server
 
Image Encryption in java ppt.
Image Encryption in java ppt.Image Encryption in java ppt.
Image Encryption in java ppt.
 
Image Compression Using Intra Prediction of H.264/AVC and Implement of Hiding...
Image Compression Using Intra Prediction of H.264/AVC and Implement of Hiding...Image Compression Using Intra Prediction of H.264/AVC and Implement of Hiding...
Image Compression Using Intra Prediction of H.264/AVC and Implement of Hiding...
 
Sermon
SermonSermon
Sermon
 
I doc packaging and mapping techniques.doc
I doc packaging and mapping techniques.docI doc packaging and mapping techniques.doc
I doc packaging and mapping techniques.doc
 
Secured Data Transmission Using Video Steganographic Scheme
Secured Data Transmission Using Video Steganographic SchemeSecured Data Transmission Using Video Steganographic Scheme
Secured Data Transmission Using Video Steganographic Scheme
 
Encryption & Decryption of Sound in image format on Matlab
Encryption & Decryption of Sound in image format on MatlabEncryption & Decryption of Sound in image format on Matlab
Encryption & Decryption of Sound in image format on Matlab
 
Optimized Feedforward Network of CNN with Xnor Final Presentation
Optimized Feedforward Network of CNN with Xnor Final PresentationOptimized Feedforward Network of CNN with Xnor Final Presentation
Optimized Feedforward Network of CNN with Xnor Final Presentation
 
Learning spatiotemporal features with 3 d convolutional networks
Learning spatiotemporal features with 3 d convolutional networksLearning spatiotemporal features with 3 d convolutional networks
Learning spatiotemporal features with 3 d convolutional networks
 

Mehr von Kitware Kitware

Mehr von Kitware Kitware (20)

Radial Thickness Calculation and Visualization for Volumetric Layers-8397
Radial Thickness Calculation and Visualization for Volumetric Layers-8397Radial Thickness Calculation and Visualization for Volumetric Layers-8397
Radial Thickness Calculation and Visualization for Volumetric Layers-8397
 
A Framework for Comparison and Evaluation of Nonlinear Intra-Subject Image Re...
A Framework for Comparison and Evaluation of Nonlinear Intra-Subject Image Re...A Framework for Comparison and Evaluation of Nonlinear Intra-Subject Image Re...
A Framework for Comparison and Evaluation of Nonlinear Intra-Subject Image Re...
 
Registration-3771
Registration-3771Registration-3771
Registration-3771
 
Automatic Brain Segmentation-3770
Automatic Brain Segmentation-3770Automatic Brain Segmentation-3770
Automatic Brain Segmentation-3770
 
Data Saving-3767
Data Saving-3767Data Saving-3767
Data Saving-3767
 
FreeSurfer Reader-3766
FreeSurfer Reader-3766FreeSurfer Reader-3766
FreeSurfer Reader-3766
 
Functional Magnetic Resonance Imaging Analysis-3765
Functional Magnetic Resonance Imaging Analysis-3765Functional Magnetic Resonance Imaging Analysis-3765
Functional Magnetic Resonance Imaging Analysis-3765
 
Manual Segmentation-3747
Manual Segmentation-3747Manual Segmentation-3747
Manual Segmentation-3747
 
Principles and Practices of Scientific Originology-8392
Principles and Practices of Scientific Originology-8392Principles and Practices of Scientific Originology-8392
Principles and Practices of Scientific Originology-8392
 
Principles and Practices of Scientific Originology-8391
Principles and Practices of Scientific Originology-8391Principles and Practices of Scientific Originology-8391
Principles and Practices of Scientific Originology-8391
 
ITK Tutorial Presentation Slides-953
ITK Tutorial Presentation Slides-953ITK Tutorial Presentation Slides-953
ITK Tutorial Presentation Slides-953
 
ITK Tutorial Presentation Slides-952
ITK Tutorial Presentation Slides-952ITK Tutorial Presentation Slides-952
ITK Tutorial Presentation Slides-952
 
ITK Tutorial Presentation Slides-951
ITK Tutorial Presentation Slides-951ITK Tutorial Presentation Slides-951
ITK Tutorial Presentation Slides-951
 
ITK Tutorial Presentation Slides-950
ITK Tutorial Presentation Slides-950ITK Tutorial Presentation Slides-950
ITK Tutorial Presentation Slides-950
 
ITK Tutorial Presentation Slides-949
ITK Tutorial Presentation Slides-949ITK Tutorial Presentation Slides-949
ITK Tutorial Presentation Slides-949
 
ITK Tutorial Presentation Slides-948
ITK Tutorial Presentation Slides-948ITK Tutorial Presentation Slides-948
ITK Tutorial Presentation Slides-948
 
ITK Tutorial Presentation Slides-947
ITK Tutorial Presentation Slides-947ITK Tutorial Presentation Slides-947
ITK Tutorial Presentation Slides-947
 
ITK Tutorial Presentation Slides-946
ITK Tutorial Presentation Slides-946ITK Tutorial Presentation Slides-946
ITK Tutorial Presentation Slides-946
 
ITK Tutorial Presentation Slides-945
ITK Tutorial Presentation Slides-945ITK Tutorial Presentation Slides-945
ITK Tutorial Presentation Slides-945
 
ITK Tutorial Presentation Slides-944
ITK Tutorial Presentation Slides-944ITK Tutorial Presentation Slides-944
ITK Tutorial Presentation Slides-944
 

Kürzlich hochgeladen

Call Girls in Gagan Vihar (delhi) call me [🔝 9953056974 🔝] escort service 24X7
Call Girls in Gagan Vihar (delhi) call me [🔝  9953056974 🔝] escort service 24X7Call Girls in Gagan Vihar (delhi) call me [🔝  9953056974 🔝] escort service 24X7
Call Girls in Gagan Vihar (delhi) call me [🔝 9953056974 🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girl In Pune 👉 Just CALL ME: 9352988975 💋 Call Out Call Both With High p...
Call Girl In Pune 👉 Just CALL ME: 9352988975 💋 Call Out Call Both With High p...Call Girl In Pune 👉 Just CALL ME: 9352988975 💋 Call Out Call Both With High p...
Call Girl In Pune 👉 Just CALL ME: 9352988975 💋 Call Out Call Both With High p...
chetankumar9855
 
Russian Call Girls Lucknow Just Call 👉👉7877925207 Top Class Call Girl Service...
Russian Call Girls Lucknow Just Call 👉👉7877925207 Top Class Call Girl Service...Russian Call Girls Lucknow Just Call 👉👉7877925207 Top Class Call Girl Service...
Russian Call Girls Lucknow Just Call 👉👉7877925207 Top Class Call Girl Service...
adilkhan87451
 

Kürzlich hochgeladen (20)

Call Girls in Gagan Vihar (delhi) call me [🔝 9953056974 🔝] escort service 24X7
Call Girls in Gagan Vihar (delhi) call me [🔝  9953056974 🔝] escort service 24X7Call Girls in Gagan Vihar (delhi) call me [🔝  9953056974 🔝] escort service 24X7
Call Girls in Gagan Vihar (delhi) call me [🔝 9953056974 🔝] escort service 24X7
 
Call Girls Kolkata Kalikapur 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Girl Se...
Call Girls Kolkata Kalikapur 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Girl Se...Call Girls Kolkata Kalikapur 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Girl Se...
Call Girls Kolkata Kalikapur 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Girl Se...
 
9630942363 Genuine Call Girls In Ahmedabad Gujarat Call Girls Service
9630942363 Genuine Call Girls In Ahmedabad Gujarat Call Girls Service9630942363 Genuine Call Girls In Ahmedabad Gujarat Call Girls Service
9630942363 Genuine Call Girls In Ahmedabad Gujarat Call Girls Service
 
Top Rated Pune Call Girls (DIPAL) ⟟ 8250077686 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls (DIPAL) ⟟ 8250077686 ⟟ Call Me For Genuine Sex Serv...Top Rated Pune Call Girls (DIPAL) ⟟ 8250077686 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls (DIPAL) ⟟ 8250077686 ⟟ Call Me For Genuine Sex Serv...
 
Andheri East ^ (Genuine) Escort Service Mumbai ₹7.5k Pick Up & Drop With Cash...
Andheri East ^ (Genuine) Escort Service Mumbai ₹7.5k Pick Up & Drop With Cash...Andheri East ^ (Genuine) Escort Service Mumbai ₹7.5k Pick Up & Drop With Cash...
Andheri East ^ (Genuine) Escort Service Mumbai ₹7.5k Pick Up & Drop With Cash...
 
Call Girls Madurai Just Call 9630942363 Top Class Call Girl Service Available
Call Girls Madurai Just Call 9630942363 Top Class Call Girl Service AvailableCall Girls Madurai Just Call 9630942363 Top Class Call Girl Service Available
Call Girls Madurai Just Call 9630942363 Top Class Call Girl Service Available
 
Call Girls Rishikesh Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Rishikesh Just Call 8250077686 Top Class Call Girl Service AvailableCall Girls Rishikesh Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Rishikesh Just Call 8250077686 Top Class Call Girl Service Available
 
Andheri East ) Call Girls in Mumbai Phone No 9004268417 Elite Escort Service ...
Andheri East ) Call Girls in Mumbai Phone No 9004268417 Elite Escort Service ...Andheri East ) Call Girls in Mumbai Phone No 9004268417 Elite Escort Service ...
Andheri East ) Call Girls in Mumbai Phone No 9004268417 Elite Escort Service ...
 
Call Girls Mysore Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Mysore Just Call 8250077686 Top Class Call Girl Service AvailableCall Girls Mysore Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Mysore Just Call 8250077686 Top Class Call Girl Service Available
 
Call Girls Varanasi Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Varanasi Just Call 8250077686 Top Class Call Girl Service AvailableCall Girls Varanasi Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Varanasi Just Call 8250077686 Top Class Call Girl Service Available
 
Call Girl In Pune 👉 Just CALL ME: 9352988975 💋 Call Out Call Both With High p...
Call Girl In Pune 👉 Just CALL ME: 9352988975 💋 Call Out Call Both With High p...Call Girl In Pune 👉 Just CALL ME: 9352988975 💋 Call Out Call Both With High p...
Call Girl In Pune 👉 Just CALL ME: 9352988975 💋 Call Out Call Both With High p...
 
Call Girls Hyderabad Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Hyderabad Just Call 8250077686 Top Class Call Girl Service AvailableCall Girls Hyderabad Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Hyderabad Just Call 8250077686 Top Class Call Girl Service Available
 
Russian Call Girls Lucknow Just Call 👉👉7877925207 Top Class Call Girl Service...
Russian Call Girls Lucknow Just Call 👉👉7877925207 Top Class Call Girl Service...Russian Call Girls Lucknow Just Call 👉👉7877925207 Top Class Call Girl Service...
Russian Call Girls Lucknow Just Call 👉👉7877925207 Top Class Call Girl Service...
 
Call Girls Service Jaipur {9521753030 } ❤️VVIP BHAWNA Call Girl in Jaipur Raj...
Call Girls Service Jaipur {9521753030 } ❤️VVIP BHAWNA Call Girl in Jaipur Raj...Call Girls Service Jaipur {9521753030 } ❤️VVIP BHAWNA Call Girl in Jaipur Raj...
Call Girls Service Jaipur {9521753030 } ❤️VVIP BHAWNA Call Girl in Jaipur Raj...
 
(Low Rate RASHMI ) Rate Of Call Girls Jaipur ❣ 8445551418 ❣ Elite Models & Ce...
(Low Rate RASHMI ) Rate Of Call Girls Jaipur ❣ 8445551418 ❣ Elite Models & Ce...(Low Rate RASHMI ) Rate Of Call Girls Jaipur ❣ 8445551418 ❣ Elite Models & Ce...
(Low Rate RASHMI ) Rate Of Call Girls Jaipur ❣ 8445551418 ❣ Elite Models & Ce...
 
Models Call Girls In Hyderabad 9630942363 Hyderabad Call Girl & Hyderabad Esc...
Models Call Girls In Hyderabad 9630942363 Hyderabad Call Girl & Hyderabad Esc...Models Call Girls In Hyderabad 9630942363 Hyderabad Call Girl & Hyderabad Esc...
Models Call Girls In Hyderabad 9630942363 Hyderabad Call Girl & Hyderabad Esc...
 
Jogeshwari ! Call Girls Service Mumbai - 450+ Call Girl Cash Payment 90042684...
Jogeshwari ! Call Girls Service Mumbai - 450+ Call Girl Cash Payment 90042684...Jogeshwari ! Call Girls Service Mumbai - 450+ Call Girl Cash Payment 90042684...
Jogeshwari ! Call Girls Service Mumbai - 450+ Call Girl Cash Payment 90042684...
 
Call Girls Ahmedabad Just Call 9630942363 Top Class Call Girl Service Available
Call Girls Ahmedabad Just Call 9630942363 Top Class Call Girl Service AvailableCall Girls Ahmedabad Just Call 9630942363 Top Class Call Girl Service Available
Call Girls Ahmedabad Just Call 9630942363 Top Class Call Girl Service Available
 
Independent Call Girls In Jaipur { 8445551418 } ✔ ANIKA MEHTA ✔ Get High Prof...
Independent Call Girls In Jaipur { 8445551418 } ✔ ANIKA MEHTA ✔ Get High Prof...Independent Call Girls In Jaipur { 8445551418 } ✔ ANIKA MEHTA ✔ Get High Prof...
Independent Call Girls In Jaipur { 8445551418 } ✔ ANIKA MEHTA ✔ Get High Prof...
 
Russian Call Girls Service Jaipur {8445551418} ❤️PALLAVI VIP Jaipur Call Gir...
Russian Call Girls Service  Jaipur {8445551418} ❤️PALLAVI VIP Jaipur Call Gir...Russian Call Girls Service  Jaipur {8445551418} ❤️PALLAVI VIP Jaipur Call Gir...
Russian Call Girls Service Jaipur {8445551418} ❤️PALLAVI VIP Jaipur Call Gir...
 

Nrrd to Dicom Conversion-3769

  • 1. Diffusion Tensor Imaging: from Dicom to Nrrd Sonia Pujol, Ph.D. Randy Gollub, M.D., Ph.D. National Alliance for Medical Image Computing
  • 2.
  • 3. Goal of the Tutorial Training on how to convert DICOM DWI data to the Nrrd File format, compatible with Slicer visualization and analysis Raw Data Raw Data Raw Data Nrrd Header Dicom Header Dicom Header Dicom Header Dicom Header Raw Data
  • 4.
  • 5. Diffusion Weighted Imaging The signal is dimmer when the direction of the applied gradient is parallel to the principal direction of diffusion. Diffusion Sensitizing Gradients Diffusion Weighted Images
  • 6. Diffusion Weighted Imaging (DWI) Example: Correlation between the orientation of the 11 th gradient and the signal intensity in the Splenium of the Corpus Callosum
  • 7. Diffusion Weighted Imaging (Stejskal and Tanner 1965, Basser 1994 ) {Si} represent the signal intensities in presence of the diffusion sensitizing gradients gi b is the diffusion weighted parameter Diffusion Weighted Images
  • 8.
  • 9. Which image is correct ?
  • 10. Which image is correct ?
  • 11. The left one is correct
  • 12.
  • 13.
  • 14.
  • 15.
  • 16. Coordinate Frames Diffusion Weighted Images Diffusion Sensitizing Gradients Courtesy G.Kindlmann Courtesy G.Kindlmann (X,Y,Z) (I,J,K)
  • 17. Coordinate Frames DWI Image Orientation (I,J,K) Diffusion Sensitizing Gradients (X,Y,Z) Patient Space Courtesy G.Kindlmann (X,Y,Z) (I,J,K)
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30. DWI Training Data Type the command cd and enter the path to your data in the Tk Console. Type ls to list all the data files.
  • 31. DWI Training Data The dataset is composed of 504 images named S4.xxx
  • 32. Unu command (Windows) unu make -h --input S4.%03d 1 504 1 2 --encoding raw --byteskip -1 Type the unu command with the input , encoding and byteskip fields Min index Max index Increment 2D Image Read backwards from end of file Do not hit Enter
  • 33. Unu command (Mac/Linux) unu make -h --input S4.%03d 1 504 1 2 --encoding raw --byteskip -1 Type the unu command with the input , encoding and byteskip fields Min index Max index Increment 2D Image Read backwards from end of file slicer2.6-opt-darwin-ppc-2006-05-18/Lib/darwin-ppc/teem-build/bin
  • 34.
  • 35. Read the DICOM Header Click on AddVolume
  • 36. Read the DICOM Header Select the Properties Dicom The Props panel appears.
  • 37. Read the DICOM Header Click on Select Dicom Volume and browse to load the dataset located in the directory dwi-dicom The Dicom Props panel appears.
  • 38. Read the Dicom Header Slicer displays the list of Dicom files in the directory. Click on OK
  • 39. Read the Dicom Header Click on Extract Header to display the content of the Dicom Header.
  • 40. Read the Dicom Header Slicer displays the content of the Dicom Header . This information will be used to generate the Nrrd header .
  • 41.
  • 42. Extracting the volume characteristics - Data Type: Short - Endianess: Little
  • 43. Unu Command Add the fields endian and type to the unu command --endian little --type short
  • 44. Extracting the volume characteristics The dataset was acquired with Nb=2 Baselines and Ng=12 Gradients Image Dimensions: 256 pixels x 256 pixels
  • 45.
  • 46.
  • 47. Unu Command --size 256 256 36 14 --centering cell cell cell none Medical images are cell-centered samples Add the fields size and centering to the unu command
  • 48. Slice Thickness Extract the slice thickness from the Dicom header
  • 49. Slice Thickness slice thickness = 3.00 mm
  • 50.
  • 51.
  • 52.
  • 53. Space Directions Extract the pixel size from the Dicom Header.
  • 54. Space Directions Pixel size = 0.9375 mm x 0.9375 mm The dataset was acquired with Superior-Inferior slice ordering
  • 55. Space Directions --directions “ ( - 0.9375,0,0) (0, - 0.9375,0) (0,0,-3) none “ Add the fields directions and unit to the unu command DICOM: LPS SLICER: RAS
  • 56. Space Origin Courtesy G.Kindlmann The space origin is the position of the first pixel in the first image. This information is contained in the Dicom Header of the first slice.
  • 57. Space Origin The space origin information is located in the Dicom header [ 0020,0032, Image Position Patient ] Courtesy G.Kindlmann
  • 58.
  • 59. Space Origin Click Add Volume select the tab Props, and the format DICOM
  • 60. Space Origin Click on Select DICOM Volume Select the directory / FirstSlice containing the first slice
  • 61. Space Origin Click on List Headers to display the content of the header of the first image.
  • 62. Space Origin Slicer displays the content of the header of the first image.
  • 63. Space Origin Scroll down to display the value of the tag [0020,0032, Image Position Patient ]
  • 64. Space Origin [0020,0032, Image Position Patient ] = -125.0, -124.09, 79.30
  • 65. Space Origin Click on OK to close the Dicom Header Window
  • 66. Space Origin --origin "( + 125.0, + 124.10,79.30)" Add the field origin to the unu command DICOM: LPS SLICER: RAS
  • 69.
  • 70. Axis Ordering Courtesy G.Kindlmann
  • 71.
  • 72. Output File Add the field output to the unu command --output myNrrdDWI.nhdr
  • 73. Output File Type ls in the Tk Console The file myNrrdDWI.nhdr is listed in the directory
  • 74. Acquisition parameters Open the file MyNrrdDWI.nhdr with a text Editor
  • 75. Acquisition parameters Open a web browser at the location http://www.na-mic.org/Wiki/index.php/Dartmouth-DWI-parameters
  • 76. Acquisition parameters Copy the acquisition parameters from this wiki page to the end of the file MyNrrdDWI.nhdr, hit Enter and save the resulting file
  • 77. Result Final result of the tutorial: Nrrd header for the DWI training dataset
  • 78.
  • 79. Loading the Nrrd Volume Click on Cancel to come back to the Main Menu
  • 80. Loading the Nrrd Volume Click on Add Volume to load the DWI training dataset using the Nrrd header
  • 81. Loading the Nrrd Volume Select Nrrd Reader in the Properties field The Props Panel of the module Volumes appears.
  • 82. Loading the Nrrd Volume Click on Apply Check that the path to the file myNrrdDWI.nhdr is correct. If needed, manually enter it Browse to load the file myNrrdDWI.nhdr
  • 83. Loading the Nrrd Volume Slicer loads the Nrrd DWI dataset Left-click on Or and change the orientation to Slices
  • 84. Loading the Nrrd Volume Change the FOV to 2000
  • 85. Loading the Nrrd Volume The sagittal and coronal viewers display the 14 DWI volumes: 2 baselines and 12 gradients
  • 86. Loading the Nrrd Volume Display the axial and sagittal slices inside the viewer. Use the axial slider to observe the baselines and gradient volumes.
  • 87. Converting the DWI data to tensors Select the module DTMRI and click on the tab Conv Select the Input volume myNrrdDWI.nhdr and click on ConvertVolume
  • 88. Converting the DWI data to tensors Slicer displays the anatomical views of the Average Gradient volume.
  • 89. Glyphs Select the panel Glyphs in the DTMRI module Select the Active DTMRI volume myNrrdDWI-nhdr_Tensor Select Glyphs on Slice for the axial (red) view Set Display Glyphs On
  • 90. Glyphs Orientation of the glyphs in the Corpus Callosum
  • 91.