What to do when you are the only one in step

Slides:



Advertisements
Similar presentations
Richard Young Optronic Laboratories Kathleen Muray INPHORA
Advertisements

ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: The Linear Prediction Model The Autocorrelation Method Levinson and Durbin.
Image Enhancement in the Frequency Domain (2)
Applications in Signal and Image Processing
Computer Engineering 203 R Smith Project Tracking 12/ Project Tracking Why do we want to track a project? What is the projects MOV? – Why is tracking.
EE4H, M.Sc Computer Vision Dr. Mike Spann
Dr. M. Smith, S. M. I. L. E. Hardware / Software Co-design Laboratory, Dept. of Electrical and Computer Engineering, Dept. of Radiology, University of.
Markus Strohmeier Sparse MRI: The Application of
lecture 2, linear imaging systems Linear Imaging Systems Example: The Pinhole camera Outline  General goals, definitions  Linear Imaging Systems.
Chapter 4: Sampling of Continuous-Time Signals
Copyright © Cengage Learning. All rights reserved.
The Wavelet Tutorial: Part3 The Discrete Wavelet Transform
1 Lesson 8: Basic Monte Carlo integration We begin the 2 nd phase of our course: Study of general mathematics of MC We begin the 2 nd phase of our course:
Progress in identification of damping: Energy-based method with incomplete and noisy data Marco Prandina University of Liverpool.
Precision and Accuracy Agreement Indices in HSP An Introduction to Rietveld Refinement using PANalytical X’Pert HighScore Plus v2.2d Scott A Speakman,
Lecture 3: The Sampling Process and Aliasing 1. Introduction A digital or sampled-data control system operates on discrete- time rather than continuous-time.
11 Making Decisions in a Program Session 2.3. Session Overview  Introduce the idea of an algorithm  Show how a program can make logical decisions based.
SOLVING QUADRATIC EQUATIONS A.4c: The student will solve multi-step linear and quadratic equations in two variables, including…solving quadratic equations.
Separation Lab overview  Given a mixture of Sand, Salt, Poppy Seeds and Iron Filings, design and execute a separation method.  Write a proposed procedure.
ECE 1100: Introduction to Electrical and Computer Engineering
Associate Professor, ECE Dept.
Chapter-4 Single-Photon emission computed tomography (SPECT)
Trigonometric Identities
Lesson 8: Basic Monte Carlo integration
Problems With Assistance Module 2 – Problem 4
Unit 5 – Chapters 10 and 12 What happens if we don’t know the values of population parameters like and ? Can we estimate their values somehow?
P.Astone, S.D’Antonio, S.Frasca, C.Palomba
Module 3 – Part 2 Node-Voltage Method with Voltage Sources
Solver & Optimization Problems
Chapter 21 More About Tests.
Image Sampling Moire patterns
Binary Addition and Subtraction
Basic Filters: Basic Concepts
Chapter 8: Inference for Proportions
James K Beard, Ph.D. April 20, 2005 SystemView 2005 James K Beard, Ph.D. April 20, 2005 April 122, 2005.
Final Year Project Presentation --- Magic Paint Face
Fourier Transform.
Sampling and Sampling Distributions
CT-321 Digital Signal Processing
Image Sampling Moire patterns
A Lesson on how to handle The Struggle.
A logical and systematic problem solving process
CSCE 643 Computer Vision: Thinking in Frequency
Discrete Event Simulation - 4
Chapter 8 The Discrete Fourier Transform
Where did we stop? The Bayes decision rule guarantees an optimal classification… … But it requires the knowledge of P(ci|x) (or p(x|ci) and P(ci)) We.
Filtering Part 2: Image Sampling
Image Sampling Moire patterns
7.1 Introduction to Fourier Transforms
Explaining issues with DCremoval( )
Chapter 12 Power Analysis.
Principles of the Global Positioning System Lecture 11
The of and to in is you that it he for was.
EE16A Imaging 3 TA, ASE, ASE, ASE
9.4 Enhancing the SNR of Digitized Signals
ECE 352 Digital System Fundamentals
Tonga Institute of Higher Education IT 141: Information Systems
Chapter 8 The Discrete Fourier Transform
Paper by D.L Parnas And D.P.Siewiorek Prepared by Xi Chen May 16,2003
Resampling.
Tonga Institute of Higher Education IT 141: Information Systems
Scatterplots Scatterplots may be the most common and most effective display for data. In a scatterplot, you can see patterns, trends, relationships, and.
Chapter 8 The Discrete Fourier Transform
Mistakes, Errors and Defects
Comments written by Pupils about particular strategies used in English which helped their writing As you will read, some of our pupils commented about.
Summarizing, Quoting, and Paraphrasing: Writing about research
Software Development Techniques
Presenter: Shih-Hsiang(士翔)
A logical and systematic problem solving process
A logical and systematic problem solving process
Presentation transcript:

What to do when you are the only one in step Dr. M. Smith, S. M. I. L. E. Hardware / Software Co-design Laboratory, Dept. of Electrical and Computer Engineering, Dept. of Radiology, University of Calgary

Talk Overview Reason for doing the research Brief discussion of what “everybody else was doing”. Description of the “little project we planned to do” Our simulation study and all the problems that arose. Why so many problems? What we are currently doing (to solve the issue). 12/6/2018

Story 1 What you tell everybody else. Start of World War II with many men conscripted and being readied to be sent over-seas. After basic training, the men parade through the town (in front of their kin-folk) prior to embarking on a train. Mother (wife) and son watch the parade. Son – wanting to believe in the perfection of his father “Look, Mother! Father is the only one in step. 12/6/2018

Story 2 -- Have confidence in yourself and your research cability Sign on my desk given to me by one of my graduate students It’s difficult being perfect Buts somebody’s got to do it! 12/6/2018

Background HEMORRHAGIC ISCHEMIC Stroke --the third leading cause of death and the leading cause of adult disability. Goal of therapeutic strategies is to minimize the progression of tissue damage in the acute phase of the disease. Methods to rapidly assess acute stroke in individual patients are highly desirable. 85% of the stroke cases are ischemic strokes due to a reduction of the blood supply by the presence of a clot in a feeding artery (adapted from www.lanacion.com). 12/6/2018

Methods to measure Cerebral Blood Flow were known (1996) Track a bolus of magnetic material through the brain (arterial and tissue signals) Convert changes in “ MR signal intensity” to “concentration curves” using the “magic” log. Formula The technology of any sufficiently advanced civilization looks like magic. – Arthur C. Clarke 12/6/2018

What “everybody else” was doing Need to deconvolve “tissue signal” ( cVOI(t) ) by “arterial signal” ( cAIF(t) ) to get “residue function” ( R(t) ). Peak of residue function provides estimate of blood flow (CBF) 12/6/2018

Clinical results: Appear to make perfect sense (Calamente, MRM, 2000) Impact of delay Impact of Dispersion a: CBF map. b: Signal intensity time A clear delay of 2 sec in the arrival of the bolus can be seen in the right side. The presence of such delay (and possibly dispersion) introduced a significant underestimation in the CBF map. The measured right to left ratio in the CBF map is 0.55 due to delay 12/6/2018

What we were planning to tackle. Signal loss through noise filtering IMPACT OF NOISE FILTERING – LOSS OF SIGNAL 12/6/2018

Where did the signal loss come from? Deconvolution causes an enhancement of high frequency noise components. To stabilize the algorithm, you must apply a filter to reduce the noise. However, the noise filter also reduces the high frequency signal components – so maximum of residue function is reduced – CBF appears smaller TIME: AMPLITUDE LOSS HIGH FREQUENCY LOSS 12/6/2018

Plan of action “Quick one term project” Step 1 - “Stand on the shoulders of giants” Repeat what everybody else is doing so we can check we “understand” the problem. Generate some artificial data (tissue and AIF) Add some noise Do deconvolution (standard approach) to get residue function. Noise filtering removes “high frequency components Measure CBF as a function of delay / dispersion and tissue type 12/6/2018

New idea – based on a previously successful MRI reconstruction approach Generate some artificial data (tissue and AIF) Add some noise Do deconvolution (standard approach) to get residue function. Noise filtering removes “high frequency components MODEL the low frequency signal components and extrapolate those signals into “high” frequencies Compare “our CBF” to “their CBF” 12/6/2018

ARMA modeling – TERA algorithm Use known low frequency data to generate high frequency data 12/6/2018

Issue 1 – Insufficient information about how to construct signals Mathematical formula for constructing arterial signal is given “Nothing” about how to construct “tissue signal” – we suspect that “either we are missing something obvious (out-of step)” or else construction done by “numerical convolution” rather than algebraic. “Nothing” specific about how to add noise to get “realistic data”, although some people mention adding “gaussian white noise” to the concentration Every body discusses low and high “signal to noise ratio” – but nobody says how to measure it. 12/6/2018

Start putting on the “engineers hat” Generating data by “convolution” is a delicate process. If the data is not sampled “fast enough” then “Nyquist” is not satisfied. MR DSC data sampled at 2.25 seconds If Nyquist not satisfied then “data” gets distorted at high frequencies (aliasing). All CBF results “are wrong”, but by “how much” and “when”? 12/6/2018

Other “engineering stuff” You can get better results “doing it wrong” Would “everybody else” not doing things the proper “engineer way” impact on our “new” method done the “correct way”? 12/6/2018

2 -- We don’t understand the properties of “SVD” (time domain deconvolution) Need to deconvolve “tissue signal” ( cVOI(t) ) by “arterial signal” ( cAIF(t) ) to get “residue function”. Peak of arterial signal provides estimate of blood flow (CBF) 12/6/2018

Use “engineering principles again” We would expect that frequency domain deconvolution to give same results as time domain deconvolution – except for fine detail HOWEVER literature is saying “MUCH BETTER RESULTS” are being obtained with SVD than with FT – does not make engineering sense – unless “something wonderful is happening” 12/6/2018

Problem 2 -- Noise modeling is being done wrong The MR signal (upper picture) has “gaussian noise” on it (unless very small in intensity and then the noise characteristics change) This means that adding noise to the concentration curves does not model “clinical data” Added noise Calculated noise 12/6/2018

Paper 1 – Discussing SNR issues based on true noise model True SNR of concentration signal changes with MR signal intensity – specific “best” conditions 12/6/2018

Paper 1 – Discussing SNR issues based on true noise model Consequences – we believe that everybody is “setting the image parameters” the wrong way 12/6/2018

Paper 1 Did not cause much “controversy” Other researchers have now demonstrated that our predictions are to be found in practice. Optimize SNR through TE changes and have different MR sequence for tissue and AIF signals Largely ignored Difficult to get the “correct” imaging parameters. Takes too long to get “an DSC image sequence” “Tissue” signal have low intensity, therefore people “push arterial signals” into an unsatisfactory “high intensity” region to compensate. 12/6/2018

Next step -- Deconvolution We have the noise simulation problems understood Lets try using frequency domain deconvolution (about which we have much knowledge) rather than SVD – time domain deconvolution As engineers we expect Equivalent results between SVD and FT 12/6/2018

Trouble is – the FT and SVD answers are very different FT shows “no time delay effects” that are so evident with SVD. We are really out of step SVD deconvolution FT deconvolution 12/6/2018

Noise characteristics of SVD and FT differ in unexpected way Noise Enhancement during deconvolution SVD deconvolution eigen-value thresholding causes “band pass” filtering 12/6/2018

We have big problems The delay sensitivity of SVD deconvolution is “breaking” the deconvolution rules BUT the SVD is a VERY well-known algorithm and NOBODY has reported problems like this in 50 years The noise effect shows that the SVD filtering is a series of band pass filters. Band pass characteristics controlled by “eigenvalues” which are identical to the (ordered) Fourier transform coefficients of the arterial function This was found empirically by us, but turns out to be well-known effect from radar studies in 1991 12/6/2018

Engineering “convolution” theory indicates “we are right” Consider convolving (or deconvolving) two signals LINEARITY PROPERTY: Double the amplitude of one input – doubles output amplitude – no change in shape POSITION INDEPENDENT: Shift position of input by amount x. Output will shift position by amount x – no change in shape Theory indicates that a “proper” deconvolution algorithm should be “delay independent” 12/6/2018

SVD well known – Why is it not working in DSC MR studies? Actually neither SVD nor FT have ever really worked in one sense – but nobody says it. Deconvolution works by deconvolving the “effect” by its “cause” – and a “cause” signal always arrive before the “effect. The “tissue” is not the “effect” that is produced by the “arterial” signal, but is the effect of the “injection into the arm. Thus it is physiologically possible for the tissue “effect” signal to arrive BEFORE the “proxy” arterial “cause” signal. 12/6/2018

SVD and FT deconvolution have different properties NEGATIVE POSITIVE TIME TIME The FT deconvolution algorithm has “cyclic” properties In the presence of a delay, any “negative time residue function signals” are wrapped around (aliased) to become a false “high time signal”. However, PROVIDED THERE ARE NO TRUE HIGH TIME SIGNALS, we can unwrap and get “correct answer” . “UNWRAPPED” HIGH TIME SIGNAL 12/6/2018

SVD and FT deconvolution have different properties NO NEGATIVE SIGNAL ALLOWED The SVD deconvolution algorithm was not being implemented with “cyclic” properties No negative time signals are allowed. But that “energy” must go somewhere – and it goes into boosting the early residue function peak For a zero delay -- This boost counterbalances the signal loss from noise filtering SVD acts as “the better algorithm” when incorrectly implemented However, the “improvement” is very unstable “MISPLACED” NEGATIVE ENERGY 12/6/2018

Big fight with reviewers First of all reviewers would not accept that There was an effect or that our theory was valid Later, when somebody “well known” published a circular SVD implementation, we were told by the reviewers that “since a better algorithm had already been published, then ours should not be published”. Fortunately the editor stepped in and we published our improved SVD algorithm (as a short note), but we never recovered the precedence. New papers are still showing misunderstanding of the significance of what we have explained about delay issues. 12/6/2018

0ther implications All that “dispersion effect” is also an artifact Using a “delay” insensitive deconvolution approach shows dispersion effect is much smaller than described earlier 12/6/2018

Biggest issue remaining We are continually changing our algorithms as we better understand the “engineering” theory. How can we (easily) check that the changes we are making are not having an unexpected effect in “previously working” parts of our code. In the business world, a new concept in software development is “Agile” – a light weight, low- document producing development process. A key element of “Agile” is test driven development and an automated testing framework – two issues useful in different ways 12/6/2018

Comparing Test-Driven-Development with “the Scientific method” (Mugridge 2003) Test-Driven Development (TDD) We don’t need to change our thought processes very much to switch to TDD. Biggest issue is having to change our work habits and beliefs. As a physicist I had been trained to “think about tests and testing issues” before coding, therefore formalizing those thoughts into real tests is not too hard (30% of the time) 12/6/2018

Main difference between TDD and “normal” software development TDD approach -- Many initial tests used to describe “ideas” – later used for “regression testing” when ideas change Standard water-fall method. Tests often forgotten in time crunch. 12/6/2018

We have been successfull in applying TDD to biomedical embedded systems F. Huang A. Tran A. Kwan 12/6/2018

Current research (J. Qiao) How do you move the “idea behind applying the scientific method” in planning your research procedure over into “using test-driven development” in planning the software code (Matlab) you need for that research procedure and later use those tests when commercializing onto the biomedical instrument? 12/6/2018

Conclusion When starting your research project – make sure you understand your goals. Be prepared to change your goals as opportunities arise. Try to duplicate the results in existing literature, but remember, you are “engineers” and have a different knowledge set that many of the “clinical” people Be prepared for unexpected results. Have an automated testing approach so that you can duplicate your (software) results easily and provide easily repeatable evidence that “everybody else has “not handled things correctly. 12/6/2018