This work by John Galeotti and Damion Shelton, © 2004-2013, was made possible in part by NIH NLM contract# HHSN276201000580P, and is licensed under a Creative.

Slides:



Advertisements
Similar presentations
The content of these slides by John Galeotti, © 2013 Carnegie Mellon University (CMU), was made possible in part by NIH NLM contract# HHSN P,
Advertisements

This work by John Galeotti and Damion Shelton, © , was made possible in part by NIH NLM contract# HHSN P, and is licensed under a Creative.
… because good research needs good data DMP Online, Lincoln, 28 th Feb 2013 DMP Online Kerry Miller Digital Curation Centre University of Edinburgh
The content of these slides by John Galeotti, © Carnegie Mellon University (CMU), was made possible in part by NIH NLM contract# HHSN P,
This work by John Galeotti and Damion Shelton, © , was made possible in part by NIH NLM contract# HHSN P, and is licensed under a Creative.
This work by John Galeotti and Damion Shelton was made possible in part by NIH NLM contract# HHSN P, and is licensed under a Creative Commons.
Lecture 8 Registration with ITK
The content of these slides by John Galeotti, © 2012 Carnegie Mellon University (CMU), was made possible in part by NIH NLM contract# HHSN P,
Lecture 12 Level Sets & Parametric Transforms sec & ch
This work by John Galeotti and Damion Shelton, © , was made possible in part by NIH NLM contract# HHSN P, and is licensed under a Creative.
Foundations of (Theoretical) Computer Science Chapter 3 Lecture Notes (Section 3.2: Variants of Turing Machines) David Martin With.
This work by John Galeotti and Damion Shelton, © , was made possible in part by NIH NLM contract# HHSN P, and is licensed under a Creative.
1 ITK Lecture 7 - Writing Filters, Part 1 Methods in Image Analysis CMU Robotics Institute U. Pitt Bioengineering 2630 Spring Term, 2006 Methods.
Methods in Image Analysis 2004, Damion Shelton 1 ITK Lecture 6 - The Pipeline Methods in Image Analysis CMU Robotics Institute U. Pitt Bioengineering.
The content of these slides by John Galeotti, © Carnegie Mellon University (CMU), was made possible in part by NIH NLM contract# HHSN P,
March /18R. Smith - University of St Thomas - Minnesota QMCS 230: Today in Class I/O ObjectsI/O Objects Lab 12Lab 12.
Spring R. Smith - University of St Thomas - Minnesota QMCS 130: Today’s Class Return HomeworkReturn Homework Class ScheduleClass Schedule Functions:
March /18R. Smith - University of St Thomas - Minnesota QMCS 230: Today in Class The ExamThe Exam Homework NotesHomework Notes.
This work by John Galeotti and Damion Shelton was made possible in part by NIH NLM contract# HHSN P, and is licensed under a Creative Commons.
The content of these slides by John Galeotti, © 2008 to 2015 Carnegie Mellon University (CMU), was made possible in part by NIH NLM contract# HHSN P,
Ppt-toolkit.com. Map – United States of America Individual states can be colored for highlight – click the state you would like to color and use the shape.
The content of these slides by John Galeotti, © Carnegie Mellon University (CMU), was made possible in part by NIH NLM contract# HHSN P,
SubVersioN – the new Central Service at DESY by Marian Gawron.
The content of these slides by John Galeotti, © Carnegie Mellon University (CMU), was made possible in part by NIH NLM contract# HHSN P,
Lecture 6 Linear Processing ch. 5 of Machine Vision by Wesley E
26 April Licensing of Intellectual Property Phoenix Ambulatory Blood Pressure Monitoring System © 2009 Christopher J. Adams This work is licensed.
The content of these slides by John Galeotti, © Carnegie Mellon University (CMU), was made possible in part by NIH NLM contract# HHSN P,
T EACHING ITK: T HOUGHTS FOR V ERSION 4 John Galeotti February 3, 2011.
Introduction to Microsoft Outlook 2007 For existing users who are upgrading to Outlook 2007 David Wicks | Assistant Professor | Director of Instructional.
SAS: The last of the great mainframe stats packages STA431 Winter/Spring 2015.
The content of these slides by John Galeotti, © Carnegie Mellon University (CMU), was made possible in part by NIH NLM contract# HHSN P,
Photosynthesis lab. Outline of the day 1.Turn in your lab reports at the front –More than 10 minutes late = bad 2.Any questions on last week’s lab? 3.Quiz.
The content of these slides by John Galeotti, © Carnegie Mellon University (CMU), was made possible in part by NIH NLM contract# HHSN P,
The content of these slides by John Galeotti, © Carnegie Mellon University (CMU), was made possible in part by NIH NLM contract# HHSN P,
General Programming Introduction to Computing Science and Programming I.
EndNote X4 (14) Tutorial Medical Center Library Frank Davis, MSLS Research & Education Division Updated
The content of these slides by John Galeotti, © Carnegie Mellon University (CMU), was made possible in part by NIH NLM contract# HHSN P,
The content of these slides by John Galeotti, © Carnegie Mellon University (CMU), was made possible in part by NIH NLM contract# HHSN P,
Modifying a shareable resource: a demo for librarians. This is based on: Open Access and Free Collections in OutLook OnLine: A Demonstration, Open Medicine.
IBM Software Group ® Overview of SA and RSA Integration John Jessup June 1, 2012 Slides from Kevin Cornell December 2008 Have been reused in this presentation.
1 ITK Lecture 8 - Neighborhoods Methods in Image Analysis CMU Robotics Institute U. Pitt Bioengineering 2630 Spring Term, 2006 Methods in Image.
User Documentation. User documentation  Is needed to help people (the users) understand how to use a computer system or software application, such as.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Microscopy. Outline of the day 1.Turn in your lab reports at the front –More than 10 minutes late = bad 2.Any questions on last week’s lab? 3.Quiz 4.Introduction.
Pipes & Filters Architecture Pattern Source: Pattern-Oriented Software Architecture, Vol. 1, Buschmann, et al.
The content of these slides by John Galeotti, © Carnegie Mellon University (CMU), was made possible in part by NIH NLM contract# HHSN P,
MIS 105 LECTURE 1 INTRODUCTION TO COMPUTER HARDWARE CHAPTER REFERENCE- CHP. 1.
The Concept Jam Health edition This work is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 2.5 Canada License. To view a copy.
July 22, 2010 Steve Costello - BRCS Freeware SIG1 Freeware Procedures My procedures for checking out new freeware applications.
Lecture 9 Segmentation (ch 8) ch. 8 of Machine Vision by Wesley E
Intro to Simulink April 15, Copyright , Andy Packard. This work is licensed under the Creative Commons.
Open Access and Free Journals In OutLook OnLine: A Demonstration
1 ITK Lecture 6 - The Pipeline Methods in Image Analysis CMU Robotics Institute U. Pitt Bioengineering 2630 Spring Term, 2006 Methods in Image Analysis.
April 2011BRCS Freeware SIG1 Opera Browser Set Up For Slow Connections.
1 ITK Lecture 5 Intro to Iterators Methods in Image Analysis CMU Robotics Institute U. Pitt Bioengineering 2630 Spring Term, 2006 Methods in Image.
March /18R. Smith - University of St Thomas - Minnesota QMCS 230: Today in Class What’s on the Exam Next Week?What’s on the Exam Next Week? Lab 8Lab.
A Training Program for Shareable Metadata Metadata for You & Me is a collaboration between the University of Illinois Library and Indiana University. This.
Intro to Simulink Modified by Gary Balas 20 Feb 2011 Copyright , Andy Packard. This work is licensed under.
Copyright Crash Course Laura Rivera EDTC
October 28, 2010Steve Costello - BRCS Freeware SIG - Online Storage 1 Online Storage by turtlemom4baconturtlemom4bacon.
Ppt-toolkit.com.
A brief introduction to the topic
Introduction to desktop virtualization
Final Project Details Note: To print these slides in grayscale (e.g., on a laser printer), first change the Theme Background to “Style 1” (i.e., dark.
Lecture Notes: Spatial Convolution
Comp 20 - Training & Instructional Design
BUSINESS MODEL CAPABILITY MAP
Presentation transcript:

This work by John Galeotti and Damion Shelton, © , was made possible in part by NIH NLM contract# HHSN P, and is licensed under a Creative Commons Attribution 3.0 Unported License. To view a copy of this license, visit or send a letter to Creative Commons, 171 2nd Street, Suite 300, San Francisco, California, 94105, USA. Permissions beyond the scope of this license may be available by ing Commons Attribution 3.0 Unported License The most recent version of these slides may be accessed online via Lecture 17 ITK Pipeline Methods in Medical Image Analysis - Spring 2013 BioE 2630 (Pitt) : (CMU RI) (CMU ECE) : (CMU BME) Dr. John Galeotti Based on Shelton’s slides from

The Pipeline 2

The pipeline idea The pipeline consists of:  Data objects  Process object (things that create data objects) 3 SourceImage FilterA Image FilterB Image Start here End here

Image sources 4 itk::ImageSource The base class for all process objects that produce images without an input image SourceImage FilterA Image FilterB Image Start here End here

Image to image filters 5 itk::ImageToImageFilter The base class for all process objects that produce images when provided with an image as input. SourceImage FilterA Image FilterB Image Start here End here

Input and output 6

Ignoring intermediate images 7 SourceFilterImageFilter Start here End here = SourceImage FilterA Image FilterB Image Start here End here

How this looks in code 8

When execution occurs 9

Propagation of Update() 10

When are process objects updated?  If the input to the process object has changed  If the process object itself has been modified - e.g., I change the radius of a Gaussian blur filter 11 How does it know?

Detecting process object modification 12

Process object modification, cont. 13

Running the pipeline – Step 1 14 Not sureModifiedUpdated Modified? SourceFilterImageFilter Start here End here

Running the pipeline – Step2 15 SourceFilterImageFilter Start here End here Not sureModifiedUpdated

Running the pipeline – Step3 16 SourceFilterImageFilter Start here End here Not sureModifiedUpdated

Running the pipeline – Step4 17 SourceFilterImageFilter Start here End here Not sureModifiedUpdated

Modifying the pipeline – Step1 18 SourceFilterImageFilter Start here End here Change a filter parameter here Not sureModifiedUpdated

Modifying the pipeline – Step2 19 SourceFilterImageFilter Start here End here We detect that the input is modified This executes Not sureModifiedUpdated

Modifying the pipeline – Step3 20 SourceFilterImageFilter Start here End here This executes Not sureModifiedUpdated

Thoughts on pipeline modification  Note that in the previous example the source never re-executed; it had no input and it was never modified, so the output cannot have changed  This is good! We can change things at the end of the pipeline without wasting time recomputing things at the beginning 21

It’s easy in practice 22

Reading & writing  You will often begin and end pipelines with readers and writers  Fortunately, ITK knows how to read a wide variety of image types! 23

Reading and writing images 24

Reading an image (4.1.2) 25

Reader notes 26

Writing an image 27

More read/write notes  ITK actually has several different ways of reading files - what I’ve presented is the simplest conceptually  Remember, you can read files without knowing their format a-priori  Just don’t specify any IO objects.  Many more details are in ch. 7 of the software guide. 28

SimpleITK Pipeline It doesn’t have one!  SimpleITK’s interface does NOT use a pipeline  Every time you call a filter in SimpleITK, it re- executes.  You manually execute each filter every time you think it is necessary  You also manually pass the updated output from one filter to the input of the next filter 29

Combining ITK and SimpleITK  You can combine ITK with SimpleITK!  For example:  Use SimpleITK to quickly read and preprocess images  Use “full” ITK to perform a complex registration  Use SimpleITK to save the results  This is really easy in C++  We just need to integrate SimpleITK into our ITK pipeline 30

Using SimpleITK in an ITK Pipeline 31

Using SimpleITK in an ITK Pipeline 32

Example: ITK with SimpleITK 33

Example: ITK with SimpleITK 34

CMakeLists.txt: ITK + SimpleITK 35