ct seeram chapter #3: digital imaging. analog vs. digital information analog continuous information...

45
CT Seeram Chapter #3: Digital Imaging

Upload: samantha-mcdaniel

Post on 01-Jan-2016

224 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

CT

Seeram Chapter #3:Digital Imaging

Page 2: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Analog vs. Digital Information

Analogcontinuous informationCan have any of an infinite

number of values

Digitaldiscrete informationCan have a finite number of

values limited by # of digits on display # of bits used to represent

value

Page 3: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Analog vs. Digital ImagesAnalog

continuous spatial information

Digital• discrete spatial

information

Page 4: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Digitizing a PictureCommercial scannerRenders a photograph into numbers

311, 255, 309, 78, 43, 99, 124,…

Page 5: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Analog vs. Digital ImagesAnalog

continuous gray shade information

DigitalDiscrete gray

shade information

Page 6: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Digital Image FormationDigital Image FormationClinical ImageScreen Wire Mesh

Page 7: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Digital Image Formation:SamplingDigital Image Formation:Sampling

Place mesh over image

Assign each square (pixelpixel) a value based on density

Pixel values form the digital image

22

73

194

Page 8: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Digital Image Formation:SamplingDigital Image Formation:Sampling

Each pixel assigned a value

Value averages entire pixelAny spatial

variation within a pixel is lost

The larger the pixel, the more variation

22

73

194

Page 9: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Digital Image FormationDigital Image Formation The finer the mesh (sampling), the more accurate the digital

rendering

Page 10: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

What is this?What is this?

12 X 9 Matrix

Page 11: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Same object, smaller squaresSame object, smaller squares

24 X 18 Matrix

Page 12: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Same object, smaller squaresSame object, smaller squares

48 X 36 Matrix

Page 13: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Same object, smaller squaresSame object, smaller squares

96 X 72 Matrix

Page 14: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Same object, smaller squaresSame object, smaller squares

192 X 144 Matrix

Page 15: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

The BitThe Bit

Fundamental unit of Fundamental unit of computer storagecomputer storage

Only 2 allowable valuesOnly 2 allowable values01

Computers do all operations with 0’s & 1’s

BUT

Computers group bits together

Page 16: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Popular Bit GroupingsPopular Bit GroupingsBitBit (binary digit)

Smallest binary unit; has value 0 or 1 onlyByteByte

8 bits28 = 256 unique values

WordWord16 bits216 = 65536 unique values

Double WordDouble Word32 binary bits

(1110 0100 0000 1011 0101 0101 1110 0101)

Page 17: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

# of values which can be # of values which can be represented by 1 bitrepresented by 1 bit# of values which can be # of values which can be represented by 1 bitrepresented by 1 bit

2 unique combinations / values

1

2

Page 18: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

# of values which can be # of values which can be represented by 2 bitsrepresented by 2 bits# of values which can be # of values which can be represented by 2 bitsrepresented by 2 bits

4 unique combinations / values2

1

3

4

Page 19: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

# of values which can be # of values which can be represented by 3 bitsrepresented by 3 bits# of values which can be # of values which can be represented by 3 bitsrepresented by 3 bits

8 unique combinations / values

2

1

3

4

6

5

7

8

Page 20: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Digital Image Bit DepthDigital Image Bit Depthbit depth controls # of possible values a pixel can

haveincreasing bit depth results in

more possible values for a pixelbetter contrast resolution

1 2 3 ...8

0, 100, 01, 10, 11000, 001, 010, 011, 100, 101, 110, 111...00000000, 00000001, ... 11111111

2 1 = 22 2 = 42 3 = 8...2 8 = 256

Bits Values # Values

Page 21: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

# of Possible Values & Contrast Resolution# of Possible Values & Contrast ResolutionThe more possible values for a pixel, the more

gray shades & the better the contrast.

4 grade shades 256 grade shades

Page 22: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Digital Image FormationQuantization (A to D Conversion)Digital Image FormationQuantization (A to D Conversion)Process of

assigning a number to a gray shade

Only discrete #’s assignedcan lose

information because of discrete # assignment

88 ? 89

The middle pixel attenuates between the other two. What # will the A to D converter assign it?

Page 23: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Analog to Digital ConverterAnalog to Digital Converter

88 ? 89

Since there are no #’s between 88 & 89 (88.5 not allowed), the A to D converter will assign pixel either a 88 or a 89.

The fact that the center pixel is darker than the left one and lighter than the right one is forever lost.

Page 24: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Contrast ResolutionContrast Resolution

difference in x-ray attenuation required for 2 pixels to be assigned different digital values

89

88

Page 25: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Gray ScaleGray Scale

the more candidate values for a pixelthe more shades of gray image

can be stored in digital imageThe less difference between x-ray

attenuation required to guarantee different pixel values See next slide

Page 26: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

1

2

3

4

5

6

7

1 2 6 6 4 4 5 3 2 3 7 7 6 4 2 5 5 2

1234567

2 4 11 11 7 8 10 6 3 6 14 14 11 6 4 8 12 4

89

1011121314

Setting pixel values

Page 27: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Display LimitationsDisplay Limitationsnot possible to display all shades of gray

simultaneouslywindow & level controls determine how pixel

values are mapped to gray shades numbers (pixel values) do not change;

window & level only change gray shade mapping

17 =

65 =

Change window / level

17 =

65 =

Page 28: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Presentation of Brightness LevelsPresentation of Brightness LevelsPre-processing

Assignment of values to a pixelIn CT values assigned according to attenuation

Post-processingEach pixel value assigned a brightnessDynamic process

Assigned brightness for a particular pixel values can be changeg Window Level

Does not affect image data

125 25 311 111 182 222 176

199 192 85 69 133 149 112

77 103 118 139 154 125 120

145 301 256 223 287 256 225

178 322 325 299 353 333 300

Page 29: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Digital Image Sources

CTMRICRDRDigital Subtraction AngiographyUltrasoundNuclear Medicine

Page 30: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Why Digital?Required for

computer usePerfect image copiesCompression

Reduction of image size in computer

Page 31: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Why Digital?o Image Manipulation

o Rotationo White/black reversalo Zoomo Window/level

o Enhancemento Edge enhancemento Smoothing (noise reduction)

o Analysiso Image statisticso Pattern recognition

Page 32: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Image Processing Techniques

Point OperationsSpatial Frequency

FilteringGeometric Operations

Some Operation

Input Pixel Values

Don’t Change

Output / Display Pixel Values(Gray shades)

Altered by Operation

Page 33: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Point OperationsValue of each pixel altered according to some

ruleNew pixel values assigned on pixel by pixel basis

independent of adjoining pixels

Example: Gray level mapping: window / levelLook-up table (LUT) altered

Maps pixel value to gray shades

Page 34: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

HistogramGraph showing # of pixels at each gray

shadeAltered by point operations

1 2 3 4 5 6 7 8 9 10 11

Pixel Value

#

1 2 3 4 5 6 7 8 9 10 11

Pixel Value

#

Page 35: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Local Operations

AKAArea processesGroup processes

Modification of input pixel based upon values of pixels close by

Page 36: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Local Operations

High frequency imagebrightness changes rapidly with distanceSmall pixels required

Low frequency imagebrightness changes slowly with distance

Page 37: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Spatial Frequency Filtering

Can increase or decrease brightness changes with distance

IncreasingSharpens imageIncreases noise

DecreasesBlurs imageSmoothes imageDecreases noise

Page 38: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Sharpening Image

Original Image Sharpened ImageNote Increased Noise

Page 39: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Smoothed Image

Original ImageSmoothed Image

Note Decreased Noise & Blurring

Page 40: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Geometric OperationsScalingSizingRotationTranslationModifies

Orientation of pixelsSpatial position of

pixels

Page 41: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Image Processing HardwareImage Memory

Image Processor

Digital to Analog Converter

Host Computer

Page 42: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Image Processing HardwareImage Memory

Temporary storage used while processing / displaying image

Image ProcessorDigital to Analog ConverterHost Computer

Page 43: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Image Processing HardwareImage MemoryImage Processor

Computer responsible for processing (arithmetic) done on input digital image

Digital to Analog ConverterHost Computer

Page 44: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Image Processing HardwareImage MemoryImage ProcessorDigital to Analog Converter

Converts output pixel values from Look-up table to analog voltage required by monitor

Host Computer

125 25 311 111 182 222 176

199 192 85 69 133 149 112

77 103 118 139 154 125 120

145 301 256 223 287 256 225

178 322 325 299 353 333 300

Page 45: CT Seeram Chapter #3: Digital Imaging. Analog vs. Digital Information Analog continuous information Can have any of an infinite number of values Digital

Image Processing HardwareImage MemoryImage ProcessorDigital to Analog ConverterHost Computer

Directs above hardwareHolds stored imagesDirects archiving