author(s): charles p. friedman, october 29, 2013 license: unless otherwise noted, this material is...

37
Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons Attribution- NonCommercial-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-nc-sa/3.0/ We have reviewed this material in accordance with U.S. Copyright Law and have tried to maximize your ability to use, share, and adapt it. The citation key on the following slide provides information about how you may share and adapt this material. Copyright holders of content included in this material should contact [email protected] with any questions, corrections, or clarification regarding the use of content. For more information about how to cite these materials visit http://open.umich.edu/education/about/terms-of-use. Any medical information in this material is intended to inform and educate and is not a tool for self-diagnosis or a replacement for medical evaluation, advice, diagnosis or treatment by a healthcare professional. Please speak to your physician if you have questions about your medical condition. Viewer discretion is advised: Some medical content is graphic and may not be suitable for all viewers.

Upload: aldous-howard

Post on 06-Jan-2018

217 views

Category:

Documents


4 download

DESCRIPTION

Data, Computation, Images and WaveForms Prof. Charles P. Friedman Introduction to Health Informatics University of Michigan October 29, 2013

TRANSCRIPT

Page 1: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Author(s): Charles P. Friedman, October 29, 2013

License: Unless otherwise noted, this material is made available under the terms of the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-nc-sa/3.0/

We have reviewed this material in accordance with U.S. Copyright Law and have tried to maximize your ability to use, share, and adapt it. The citation key on the following slide provides information about how you may share and adapt this material.

Copyright holders of content included in this material should contact [email protected] with any questions, corrections, or clarification regarding the use of content.

For more information about how to cite these materials visit http://open.umich.edu/education/about/terms-of-use.

Any medical information in this material is intended to inform and educate and is not a tool for self-diagnosis or a replacement for medical evaluation, advice, diagnosis or treatment by a healthcare professional. Please speak to your physician if you have questions about your medical condition.

Viewer discretion is advised: Some medical content is graphic and may not be suitable for all viewers.

Page 2: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Citation Keyfor more information see: http://open.umich.edu/wiki/CitationPolicy

Use + Share + Adapt

Make Your Own Assessment

Creative Commons – Attribution License

Creative Commons – Attribution Share Alike License

Creative Commons – Attribution Noncommercial License

Creative Commons – Attribution Noncommercial Share Alike License

GNU – Free Documentation License

Creative Commons – Zero Waiver

Public Domain – Ineligible: Works that are ineligible for copyright protection in the U.S. (17 USC § 102(b)) *laws in your jurisdiction may differ

Public Domain – Expired: Works that are no longer protected due to an expired copyright term.

Public Domain – Government: Works that are produced by the U.S. Government. (17 USC § 105)

Public Domain – Self Dedicated: Works that a copyright holder has dedicated to the public domain.

Fair Use: Use of works that is determined to be Fair consistent with the U.S. Copyright Act. (17 USC § 107) *laws in your jurisdiction may differ

Our determination DOES NOT mean that all uses of this 3rd-party content are Fair Uses and we DO NOT guarantee that your use of the content is Fair.

To use this content you should do your own independent analysis to determine whether or not your use will be Fair.

{ Content the copyright holder, author, or law permits you to use, share and adapt. }

{ Content Open.Michigan believes can be used, shared, and adapted because it is ineligible for copyright. }

{ Content Open.Michigan has used under a Fair Use determination. }

Page 3: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Data, Computation, Images and WaveForms

Prof. Charles P. FriedmanIntroduction to Health

InformaticsUniversity of Michigan

October 29, 2013

Page 4: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Where are We?• Channel 1• Method Lectures

1. Health information exchange2. Knowledge representation3. Information retrieval4. Imaging and image analysis (today)5. Policy development and analysis6. Organization/management7. Human-computer interactionAnd more to follow…

4

Page 5: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Key Questions1. What are the primary data types we deal

with in health informatics?2. How are non-alphanumeric data types

represented and made “computable”?3. What kinds of computations are

performed on images and how?4. How are images managed, curated, and

communicated?We’re going to use simplified examples to emphasize the methods.

5

Page 6: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Data Types• Alphanumeric

– Examples: free text, coded text, numerical results of tests and observations, others

• Images– Examples: photographs, radiographs

(x-rays), CT scans, ultrasound, others• Waveforms

– Examples: ECG results, sounds, others

6

A patient presents to emergency department complaining of flu-like symptoms. Her fever is 40 C and pulse is 87.

Page 7: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Non-Alphanumeric Data Capture Modalities

• Xrays and Fluoroscopy• Ultrasound• Computerized tomography (CT scans and

related)• Magnetic Resonance• Electrocardiograms (ECGs)• Microphones• Many others…

7

Page 8: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

EHRs and Data Types

• Today’s EHR is an alphanumeric EHR• Images typically are managed in separate

PACS (Picture Archive and Communication Systems)– Don’t say: “PACS systems”

• The EHR of the future is a multimedia EHR that seamlessly integrates data types

8

Seto B, Friedman C. Moving toward multimedia electronic health records: how do we get there?J Am Med Inform Assoc 2012;19:503-505.

Page 9: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Key Questions

1. What are the primary data types we deal with in health informatics?

2. How are non-alphanumeric data types represented and made “computable”?

3. What kinds of computations are performed on images and how?

4. How are images managed, curated, and communicated?

9

Page 10: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Computability• In digital computers, ultimately this

requires reduction to binary “bits” (1 or 0)• Any number can be represented (in Base 2)

as a string of 1’s and 0’s(1011) Base 2 = (11) Base 10

• Using ASCII codes (a standard), any text character can be represented as a number

“C” = (67)ASCII = (1000011)Base 2

• “Chuck” = (67|104|117| 95|107) ASCII

10

Page 11: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

So How Do We Make Images and Waveforms Computable?

11

Page 12: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Computable Representation of Digital Images (2D for now)• Goal: Make a picture into an array of

numbers• Method:

– Represent an image as a matrix of dots (pixels)– Each pixel has a location in the matrix,

corresponding to a location in the image– Each pixel can be characterized by intensity

and color (if color image)• Computing on images = mathematical

calculations on pixels12

Page 13: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

2D Image as a Matrix of Pixels

13

The location, intensity, and color of each pixel completely represents the image in computable form.

Pixel (10, 10) = 128

Page 14: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Image Quality Indices• Spatial resolution: Number of pixels per

unit area of actual image (pixel density)– Diagnostic quality digital xray is 2048 x 2048

pixels to cover ~ 200 square inches• Contrast resolution: Number of bits used

to represent the intensity of a pixel– “12 bit” monochrome image ~ 4000 shades of

grey• Temporal resolution: Time required to

generate an image (important for animation) 14

Page 15: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Representing Waveforms to Make Them Computable

15

• Sample the height of the waveform at discrete times.• As the time interval (sampling interval) diminishes, the

sampled waveform approaches the exact one.• Analogous to a one-dimensional “image”.

Page 16: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Key Questions

1. What are the primary data types we deal with in health informatics?

2. How are non-alphanumeric data types represented and made “computable”?

3. What kinds of computations are performed on images and how?

4. How are images managed, curated, and communicated?

16

Page 17: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Computing on Images and Waveforms

Once images are in“computable” (numerical) form, what kinds of computations are done on them?• Display manipulation• Image compression• Computing size and distance• Computing difference (example in depth)• Computing structure and automated

inferencing17

Page 18: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

And How Is This Done?• Straightforward manipulations of individual

pixels• Creating a mathematical model of the

information in the image or waveform– Capturing the relationships between pixels

18

Page 19: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Display ManipulationTo help the viewer inspect the image and detect features of interest.• Select area of interest• Zoom in on area of interest• Enhance brightness• Enhance contrast

19

Page 20: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Image CompressionTo reduce the number of bytes required to store the image.• Lossless vs. lossy compression.• Lossless compression reduces size of image

file without loss of fidelity• Lossy compression comes with loss of

fidelity but effect may be imperceptible• Most compression algorithms require a

mathematical model of the image (more later)

20

Page 21: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Computing Size and DistanceTo assist in diagnosis and

treatment planning.• User points to or outlines

what is to be measured• Can be computed from pixel

density and physical scale of the image.

• How big is the lesion?• What is the distance

between two structures?

21

Page 22: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Computing Difference• Clinically, a difference between two images

is often hard to detect “by eye”• By computing on pixels, differences can be

detected

22

Page 23: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

How the Difference Algorithm Works

23

New Image

Pixel (10, 10) = 160

Old Image

Pixel (10, 10) = 23

Pixel (10, 10) = 137

Difference Image

Pixel (1 10) = 255

Pixel (1 10) = 255

Pixel (1 10) = 0

Page 24: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Computing DifferenceA patient presents with this X-ray on a follow-up

visit

24

Page 25: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Computing DifferenceHere was his X-ray three months earlier

25

Page 26: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

The “Difference” Image

26

Page 27: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

I “Cheated” the Problem of Image Registration

27

Page 28: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Computing StructureAdvanced computational methods that enable:• Automated interpretations of ECGs• 3 dimensional rendering from 2 dimensional

slices (Visible Human Project)http://www.youtube.com/watch?v=ojCNUoVfzh4• Feature detection: automated “grading” of

tumors• These methods require creation of a

mathematical model of the image

28

Page 29: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Representing Images and Waveforms Mathematically

• The secret of advanced image and waveform processing is to create a mathematical model of the information in the image

• Effectively, this results in a set of equations that:– Given a location in an image or waveform– Will return a close approximation to the pixel value

(intensity, color) or the waveform height at that location

29

Page 30: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Any Musical Tone is a Combination a Fundamental and Its Harmonics

30

Page 31: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Key Questions

1. What are the primary data types we deal with in health informatics?

2. How are non-alphanumeric data types represented and made “computable”?

3. What kinds of computations are performed on images and how?

4. How are images managed, curated, and communicated?

31

Page 32: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

How Does One “Retrieve” This Image?

32

Page 33: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Managing Images Requires a Standardized Way of Characterizing

Them• Images bring out the difference between

data and metadata• The data………………….

• The metadata: Mrs. Jane Smith, Chest X-ray, Acquired May 11, 2012

33

Page 34: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

The DICOM HeaderDICOM = Digital information and Communications in Medicine1 SOP Instance UID: Unique identifier for the Study2 Study Date: Date the Study started, if any previous procedure steps within the same study have already been performed. 3 Acquisition Date: The date the acquisition of data that resulted in sources started. 4 Study Time: The time the acquisition of data that resulted in sources started. 5 Modality: Type of equipment that originally acquired the data used to create the images in this Series.

6 Manufacturer: Manufacturer of the equipment that produced the sources. 7 Institution Name: Institution or organization to which

the identified individual is responsible or accountable.

And six more…34

Page 35: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Curating and Exchanging Images• Curating images requires their preservation

– Digital images a big advantage over film– Storage costs no longer an issue

• Images are a big challenge for information exchange– Even compressed images are large files (16 Mb

for a chest xray)– Images are “bandwidth hogs”– Need for fluidity of images made the

compelling case for the Next Generation Internet

35

Page 36: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Summary: Key Questions

1. What are the primary data types we deal with in health informatics?

2. How are non-alphanumeric data types represented and made “computable”?

3. What kinds of computations are performed on images and how?

4. How are images managed, curated, and communicated?

36

Page 37: Author(s): Charles P. Friedman, October 29, 2013 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons

Image Attributions• “Thymic large cell neuroendocrine carcinoma: report of a resected case - a case report” by PubMed Central is under a

Creative Commons license CC BY 2.0. • “VistA Img” by an employee of the United States Department of Veterans Affairs, taken or made as part of that person's

official duties is in the Public Domain. • “1st thru 5th harmonics of vibrating string” by http://bbasound.wikispaces.com/ is under a Creative Commons license

CC BY-SA 3.0.

37