mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National...

47
1 http://mipav.cit.nih.gov

Transcript of mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National...

Page 1: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

1

http://mipav.cit.nih.gov

Page 2: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

2

Medical Image Processing,

Analysis & Visualization

in Clinical Research

Justin Senseney

[email protected]

dcb.cit.nih.gov/~senseneyj

Biomedical Image Processing Research Services Section

Center for Information Technology

mipav.cit.nih.gov

Page 3: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

3

MIPAV Team

Employees

Ruida Cheng

William Gandler

Matthew McAuliffe

Evan McCreedy

Justin Senseney

Fellows

Sara Shen (Maryland)

Contractors

Alexandra Bokinsky, Geometric Tools Inc. (Visualization)

Olga Vovk, SRA International Inc. (Technical Writing)

Alumni

Paul Hemler (Hampden-Sydney), Agatha Monzon, Nishith Pandya (FITBIR),

Beth Tyriee (Kentucky), Hailong Wang (Heidelberg)

Page 4: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

4

• Portability

– cross-platform or platform-independent execution

• Data format independence

– access to images: DICOM, Analyze, TIFF, Raw, …

• Extensibility

– plugins and/or scripts

• Scalability

– foundation to support the growth to larger and more intricate data structures

• Usability

– coherent graphical user interface (GUI)

Requirements for an Image Quantification and

Visualization Application

Page 5: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

5

Portability Java Primer

Source Code Byte Code

(class files)

Java Interpreter

for the PC

Machine

code

PC

Java Interpreter

for a

Unix Workstation

Machine

code

UNIX Java applications can be "written once and

run anywhere", significantly reducing

cross-platform development and

maintenance.

Page 6: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

6

Data Independence

• DICOM file reader/writer

• DICOM Query/Retrieve and “Catcher”

• Comprehensive file format support/conversion – http://mipav.cit.nih.gov/fileformat.html

• MIPAV XML file format

Page 7: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

7

Extensibility

Plugins and Scripts • Plugins

– Functions written in Java using the MIPAV API.

• Scripts

– Use MIPAV to record and save function(s) applied to

image dataset(s).

– Apply the script to any number of image datasets

using the script wizard.

Page 8: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

8

• Model Image is an n-dimensional structure.

• Algorithms can support up to 4D datasets.

• Viewers support 4D dataset with fusion.

Scalability

Page 9: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

9

Usability

• GUI elements

• Scripting system

• Command-line tools

Page 10: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

10

Page 11: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

11

File types (Raw, Analyze, DICOM 3.0, GE, Siemens, Bruker, Interfile,

Micro cat, MINC, MRC, FITS, Cheshire, AFNI, TIFF, JPEG, GIF,

BMP, AVI, QuickTime, Biorad, Ziess LSM510, XML, and more)

Data (Image) types: n-dimensional structure (boolean, byte, unsigned byte, short,

unsigned short, int, long, float, double, Complex, ARGB)

Views – with data fusion 2D planar,

“Lightbox”,

Cine (movie),

Multi-planar,

3D tri-planar,

Surface render, (supports 3D texture

mapped volume rendering

Volume render

Algorithms Filtering

Segmentation/classification

Measurement/quantification

Registration/fusion

Utilities

Plugins

VOIs

32K

Manual and

automated

contouring

Functional Overview

PACS DICOM 3.0:

Query/Retrieve, Catcher

GUI

S

c

r

i

p

t

i

n

g

Page 12: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

12

Opening Images

Page 13: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

13

Opening Images

Page 14: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

14

Image Browser

Page 15: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

15

Opening Images

Page 16: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

16

Saving Image As (use suffix)

Page 17: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

17

Code Snapshot

int destExtents[] = new int[2];

destExtents[0] = image.getExtents()[0]; // X dim

destExtents[1] = image.getExtents()[1]; // Y dim

// Make a result image of Unsigned byte type

resultImage = new ModelImage(ModelStorageBase.UBYTE, destExtents, “Result Image”, null);

int length = destExtents[0] * destExtents[1];

for (int i = 0; i < length; i++){

destImage.set(i, i%256);

}

ViewJFrameImage imageFrame;

ModelLUT LUTa = new ModelLUT(ModelLUT.COOLHOT, 256, dimExtentsLUT);

imageFrame = new ViewJFrameImage(resultImage, LUTa, new Dimension(610,200), userInterface);

Page 18: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

18

Algorithms

• Filters

• Calculation

• Registration

• Transformation

• Surface extraction

• Classification/Segmentation

Page 19: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

19

Download and Setup

1. http://mipav.cit.nih.gov/download

2. Fill in form

3. Install (e.g. installMIPAV.exe)

** Nightly download - lastest

changes but might have bugs.

** Archived releases also available.

Page 20: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

20

Memory Allocation

General Rules

• Do not exceed the computer’s physical

RAM. For example if the computer has 1GB

do not exceed approx 800MB.

• For 32-bit Windows systems do not exceed

1,400MB

Page 21: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

21

Memory Usage

Press to recover memory

Page 22: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

22

MIPAV Program Options

Page 23: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

23

Digital Image Communication in Medicine

(DICOM). American College of Radiology (ACR) and the National Electrical

Manufacturers Association (NEMA) formed a joint committee in 1983 to develop a

standard in Digital Image Communication in Medicine (DICOM).

1. Promote communication of digital image information, regardless of device manufacturer

2. Facilitate the development and expansion of picture archiving and communication

systems (PACS) that can also interface with other systems of hospital information

3. Allow the creation of diagnostic information databases that can be interrogated by a wide

variety of devices distributed geographically.

Page 24: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

24

Patient

Database

DICOM Server

Images

Imaging Workstation (MIPAV) (PC, MAC, UNIX workstation)

Receiver

Query

Images

Image

Processing

&

Visualization

Imaging Device

DICOM Model

PACS

Internet

Page 25: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

25

DICOM

communication

interface

Page 26: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

26

DICOM

Page 27: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

27

DICOM

Access to image header

information

Page 28: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

28

DICOM Anonymization

Page 29: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

29

DICOM File Browser

Page 30: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

30

XML Schema File Format

Page 31: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

31

XML Schema File Format

Page 32: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

32

XML Schema File Format

Page 33: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

33

Image Attributes

Page 34: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

34

Volume of Interest (VOI)

Page 35: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

35

VOI

Page 36: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

36

Lookup Table (LUT)

Page 37: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

37

Multi-planar and Lightbox

Page 38: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

38

Image Fusion The loading of two images into the same frame

Controls blending between the two images

Page 39: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

39

Structural MRI and Functional MRI

Page 40: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

40

Animation Tool

Page 41: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

41

Masks and Surfaces

Page 42: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

42

Scripting - Record

Page 43: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

43

Scripting - Run

Page 44: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

44

Help

Page 45: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

45

Bug Report

Page 46: mipav.cit.nih · 2012-10-18 · (DICOM). American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to develop

46

MIPAV

Visualization

Ubiquitous

file reader Quantification

File writer

Processing Macros/Plugins