DTU Informatics Introduction to Medical Image Analysis Rasmus R. Paulsen DTU Informatics TexPoint fonts.

Slides:



Advertisements
Similar presentations
Numbers Treasure Hunt Following each question, click on the answer. If correct, the next page will load with a graphic first – these can be used to check.
Advertisements

1 A B C
Chapter 4 Sampling Distributions and Data Descriptions.
Angstrom Care 培苗社 Quadratic Equation II
AP STUDY SESSION 2.
1
Ecole Nationale Vétérinaire de Toulouse Linear Regression
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Multicriteria Decision-Making Models
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
David Burdett May 11, 2004 Package Binding for WS CDL.
1 RA I Sub-Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Casablanca, Morocco, 20 – 22 December 2005 Status of observing programmes in RA I.
Process a Customer Chapter 2. Process a Customer 2-2 Objectives Understand what defines a Customer Learn how to check for an existing Customer Learn how.
CALENDAR.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt BlendsDigraphsShort.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt RhymesMapsMathInsects.
Mean, Median, Mode & Range
Chapter 7 Sampling and Sampling Distributions
1 Click here to End Presentation Software: Installation and Updates Internet Download CD release NACIS Updates.
The 5S numbers game..
Photo Slideshow Instructions (delete before presenting or this page will show when slideshow loops) 1.Set PowerPoint to work in Outline. View/Normal click.
Biostatistics Unit 5 Samples Needs to be completed. 12/24/13.
Break Time Remaining 10:00.
This module: Telling the time
The basics for simulations
Turing Machines.
Table 12.1: Cash Flows to a Cash and Carry Trading Strategy.
Red Tag Date 13/12/11 5S.
PP Test Review Sections 6-1 to 6-6
1 The Blue Café by Chris Rea My world is miles of endless roads.
Bright Futures Guidelines Priorities and Screening Tables
The Frequency Table or Frequency Distribution Table
EIS Bridge Tool and Staging Tables September 1, 2009 Instructor: Way Poteat Slide: 1.
Outline Minimum Spanning Tree Maximal Flow Algorithm LP formulation 1.
Bellwork Do the following problem on a ½ sheet of paper and turn in.
CS 6143 COMPUTER ARCHITECTURE II SPRING 2014 ACM Principles and Practice of Parallel Programming, PPoPP, 2006 Panel Presentations Parallel Processing is.
Exarte Bezoek aan de Mediacampus Bachelor in de grafische en digitale media April 2014.
Copyright © 2013, 2009, 2006 Pearson Education, Inc. 1 Section 5.5 Dividing Polynomials Copyright © 2013, 2009, 2006 Pearson Education, Inc. 1.
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
1 RA III - Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Buenos Aires, Argentina, 25 – 27 October 2006 Status of observing programmes in RA.
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
Adding Up In Chunks.
MaK_Full ahead loaded 1 Alarm Page Directory (F11)
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt Synthetic.
Artificial Intelligence
1 Using Bayesian Network for combining classifiers Leonardo Nogueira Matos Departamento de Computação Universidade Federal de Sergipe.
Model and Relationships 6 M 1 M M M M M M M M M M M M M M M M
: 3 00.
5 minutes.
1 hi at no doifpi me be go we of at be do go hi if me no of pi we Inorder Traversal Inorder traversal. n Visit the left subtree. n Visit the node. n Visit.
Analyzing Genes and Genomes
Prof.ir. Klaas H.J. Robers, 14 July Graduation: a process organised by YOU.
1 Let’s Recapitulate. 2 Regular Languages DFAs NFAs Regular Expressions Regular Grammars.
Essential Cell Biology
Converting a Fraction to %
Chapter 8 Estimation Understandable Statistics Ninth Edition
Clock will move after 1 minute
PSSA Preparation.
Essential Cell Biology
Immunobiology: The Immune System in Health & Disease Sixth Edition
Physics for Scientists & Engineers, 3rd Edition
Energy Generation in Mitochondria and Chlorplasts
Select a time to count down from the clock above
How to create Magic Squares
1 Decidability continued…. 2 Theorem: For a recursively enumerable language it is undecidable to determine whether is finite Proof: We will reduce the.
DTU Informatics Introduction to Medical Image Analysis Rasmus R. Paulsen DTU Informatics TexPoint fonts.
Presentation transcript:

DTU Informatics Introduction to Medical Image Analysis Rasmus R. Paulsen DTU Informatics TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A AA A A A A A A A A AA

DTU Informatics 1/4/2009Introduction to Medical Imaging 2 DTU Informatics, Technical University of Denmark Lecture 9 – Pixel Classification 9.00Lecture Exercises – 13.00Lunch break 13.00Lecture ? Exercises

DTU Informatics 1/4/2009Introduction to Medical Imaging 3 DTU Informatics, Technical University of Denmark What can you do after today? Describe the concept of pixel classification Use Matlab to select pixel training data Compute the pixel value ranges in a minimum distance classifier Implement and use a minimum distance classifier Describe how a pixel value histogram can be approximated using a Gaussian distribution Describe how the pixel value ranges can be selected in a parametric classifier Implement and use a parametric classifier Explain the concept of Bayesian classification

DTU Informatics 1/4/2009Introduction to Medical Imaging 4 DTU Informatics, Technical University of Denmark Classification Take a measurement and put it into a class ? Wheels: 2 HP: 50 Weight: 200 Bike Truck Car Motorbike Train Bus MeasurementClasses Classifier

DTU Informatics 1/4/2009Introduction to Medical Imaging 5 DTU Informatics, Technical University of Denmark General Classification Multi-dimensional measurement Pre-defined classes –Can also be found automatically – can be very difficult!

DTU Informatics 1/4/2009Introduction to Medical Imaging 6 DTU Informatics, Technical University of Denmark Pixel Classification Classify each pixel –Independent of neighbours Also called labelling –Put a label on each pixel We look at the pixel value and assign them a label Labels already defined CT scan of human head Background Soft-Tissue Trabecular Bone Hard Bone Quiz: Two class classification with background and object?

DTU Informatics 1/4/2009Introduction to Medical Imaging 7 DTU Informatics, Technical University of Denmark Pixel Classification – formal definition Pixel value (the measurement) k classes Classification rule

DTU Informatics 1/4/2009Introduction to Medical Imaging 8 DTU Informatics, Technical University of Denmark Pixel Classification – example Pixel value Set of 4 classes Classification rule How do we construct a classification rule?

DTU Informatics 1/4/2009Introduction to Medical Imaging 9 DTU Informatics, Technical University of Denmark Pixel classification rule background soft-tissue trabeculae bone How do we do this?

DTU Informatics 1/4/2009Introduction to Medical Imaging 10 DTU Informatics, Technical University of Denmark Pixel classification rule – manual inspection background soft-tissue trabeculae bone Looking at some few pixels

DTU Informatics 1/4/2009Introduction to Medical Imaging 11 DTU Informatics, Technical University of Denmark Pixel classification rule – manual inspection background soft-tissue trabeculae bone Looking at some few pixels New pixel – where do we put it?

DTU Informatics 1/4/2009Introduction to Medical Imaging 12 DTU Informatics, Technical University of Denmark Pixel classification rule – manual inspection background soft-tissue trabeculae bone Looking at some few pixels New pixel – where do we put it? Measure the “distance” to the other classes Select the closest class Minimum distance classification

DTU Informatics 1/4/2009Introduction to Medical Imaging 13 DTU Informatics, Technical University of Denmark Pixel classification rule Minimum Distance Classification background soft-tissue trabeculae bone The possible pixel values are divided into ranges Here the distance to “background” is equal to “soft-tissue” Background range soft-tissue range Trabecular range Bone range

DTU Informatics 1/4/2009Introduction to Medical Imaging 14 DTU Informatics, Technical University of Denmark Pixel classification rule Minimum Distance Classification background soft-tissue trabeculae bone Background range soft-tissue range Trabecular range Bone range

DTU Informatics 1/4/2009Introduction to Medical Imaging 15 DTU Informatics, Technical University of Denmark Pixel classification rule For all pixel in the image do

DTU Informatics 1/4/2009Introduction to Medical Imaging 16 DTU Informatics, Technical University of Denmark Pixel Classification example Background Soft-Tissue Trabecular Bone Hard Bone CT scan of human head

DTU Informatics 1/4/2009Introduction to Medical Imaging 17 DTU Informatics, Technical University of Denmark Better range selection Guessing range values is not a good idea Better to use “training data” Start by selecting representative regions from an image Annotation –To mark points, regions, lines or other significant structures

DTU Informatics 1/4/2009Introduction to Medical Imaging 18 DTU Informatics, Technical University of Denmark Classifier training - annotation An “expert” is asked how many different tissue types that are possible Then the expert is asked to mark representative regions of the selected tissue types Background Soft-Tissue Trabecular Bone Hard Bone

DTU Informatics 1/4/2009Introduction to Medical Imaging 19 DTU Informatics, Technical University of Denmark Classifier training – region selection Many tools exist Matlab tool roipoly –Select closed regions using a piecewise polygon Training is only done once! Optimally, the training can be used on many pictures that contains the same tissue types

DTU Informatics 1/4/2009Introduction to Medical Imaging 20 DTU Informatics, Technical University of Denmark Initial analysis - histograms Gaussian

DTU Informatics 1/4/2009Introduction to Medical Imaging 21 DTU Informatics, Technical University of Denmark Initial analysis - histograms Class separation

DTU Informatics 1/4/2009Introduction to Medical Imaging 22 DTU Informatics, Technical University of Denmark Simple pixel statistics Calculate the average (mean) and the standard deviation of each class Average Standard deviation

DTU Informatics 1/4/2009Introduction to Medical Imaging 23 DTU Informatics, Technical University of Denmark

DTU Informatics 1/4/2009Introduction to Medical Imaging 24 DTU Informatics, Technical University of Denmark Minimum distance classification Any objections? The pixel value ranges are not always in good correspondence with the histograms?

DTU Informatics 1/4/2009Introduction to Medical Imaging 25 DTU Informatics, Technical University of Denmark Exam question 09.15

DTU Informatics 1/4/2009Introduction to Medical Imaging 26 DTU Informatics, Technical University of Denmark Parametric classification Describe the histogram using a few parameters Gaussian/Normal distribution –Average –Standard deviation Trabecular bone Only two values needed

DTU Informatics 1/4/2009Introduction to Medical Imaging 27 DTU Informatics, Technical University of Denmark Parametric classification Trabecular bone Training pixel values Estimated average Estimated standard deviation

DTU Informatics 1/4/2009Introduction to Medical Imaging 28 DTU Informatics, Technical University of Denmark Parametric classification Fit a Gaussian to the training pixels for all classes What do we see here? What is the difference between the two classes? Trabeculae has much higher variation in the pixel values

DTU Informatics 1/4/2009Introduction to Medical Imaging 29 DTU Informatics, Technical University of Denmark Parametric classification New pixel with value 78 –Is it soft-tissue or trabecular bone? Minimum distance classifier? –Soft-tissue Is that fair? –Soft-tissue Gaussian says “Extremely low probability that this pixel is soft-tissue”

DTU Informatics 1/4/2009Introduction to Medical Imaging 30 DTU Informatics, Technical University of Denmark Parametric classification – repeat the question New pixel with value 78 –Is it soft-tissue or trabecular bone? –Most probably trabecular bone Where should we set the limit? –Where the two Gaussians cross!

DTU Informatics 1/4/2009Introduction to Medical Imaging 31 DTU Informatics, Technical University of Denmark Parametric classification – ranges The pixel value ranges depends on –The average –The standard deviation Compared to the minimum distance classifier –Only the average Soft-tissue Trabecular bone

DTU Informatics 1/4/2009Introduction to Medical Imaging 32 DTU Informatics, Technical University of Denmark Parametric classification – how to Select training pixels for each class Fit Gaussians to each class Use Gaussians to determine pixel value ranges Little bit difficult with the Gaussians

DTU Informatics 1/4/2009Introduction to Medical Imaging 33 DTU Informatics, Technical University of Denmark Parametric classifier - ranges We want to compute where they cross Create a lookup table: Run through all 256 possible pixel values Check which Gaussian is the highest Store the [value, class] in the table

DTU Informatics 1/4/2009Introduction to Medical Imaging 34 DTU Informatics, Technical University of Denmark Alternatively – analytic solution The two Gaussians Intercept at Piece of cake!

DTU Informatics 1/4/2009Introduction to Medical Imaging 35 DTU Informatics, Technical University of Denmark Exam Question 09.2 and 09.19

DTU Informatics 1/4/2009Introduction to Medical Imaging 36 DTU Informatics, Technical University of Denmark Exercises ?

DTU Informatics 1/4/2009Introduction to Medical Imaging 37 DTU Informatics, Technical University of Denmark Bayesian Classification Area = 1 Pure parametric classifier assumes equal amount of different tissue types

DTU Informatics 1/4/2009Introduction to Medical Imaging 38 DTU Informatics, Technical University of Denmark Bayesian Classification Area = 1 Much more soft- tissue than trabecular bone How do we handle that?

DTU Informatics 1/4/2009Introduction to Medical Imaging 39 DTU Informatics, Technical University of Denmark Bayesian Classification An expert tells us that a CT scan of a head contains –20% Trabecular bone –50% Soft-tissue Picking a random pixel in the image –20% Chance that it is trabecular bone –50% Chance that it is soft- tissue How do use that?

DTU Informatics 1/4/2009Introduction to Medical Imaging 40 DTU Informatics, Technical University of Denmark Bayesian Classification – histogram scaling Parametric classifier Bayesian classifier Scaled with 0.50 Scaled with 0.20 Little change in class border (sometimes significant changes)

DTU Informatics 1/4/2009Introduction to Medical Imaging 41 DTU Informatics, Technical University of Denmark Formal definition Given a pixel value What is the probability that the pixel belongs to class Example: If the pixel value is 78, what is the probability that the pixel is bone

DTU Informatics 1/4/2009Introduction to Medical Imaging 42 DTU Informatics, Technical University of Denmark Formal definition Constant – ignored from now on

DTU Informatics 1/4/2009Introduction to Medical Imaging 43 DTU Informatics, Technical University of Denmark Formal definition The a priori probability (what is known from before) Example: From general biology it is known that 20% of a brain CT scan is trabecular bone. Therefore P(trabecular) = 0.20

DTU Informatics 1/4/2009Introduction to Medical Imaging 44 DTU Informatics, Technical University of Denmark Formal definition The class conditional probability Given a class, what is the probability of a pixel with value v Example: If we consider class = soft-tissue. What is the probability that the pixel value is 78? Very low

DTU Informatics 1/4/2009Introduction to Medical Imaging 45 DTU Informatics, Technical University of Denmark Formal definition – sum up

DTU Informatics 1/4/2009Introduction to Medical Imaging 46 DTU Informatics, Technical University of Denmark Parametric classification – how to Select training pixels for each class Fit Gaussians to each class Ask an expert for the prior probabilities (how much there normally is in total of each type) For each pixel in the image –Compute for each class (the a posterior probability) –Select the class with the highest

DTU Informatics 1/4/2009Introduction to Medical Imaging 47 DTU Informatics, Technical University of Denmark When to use Bayesian classification The parametric classifier is good when there are approximately the same amount of all type of tissues Use Bayesian classification if there are very little or very much of some types

DTU Informatics 1/4/2009Introduction to Medical Imaging 48 DTU Informatics, Technical University of Denmark Exercises ?