Image Based Expert Systems - Medical Perspective: Dr.S.Sridhar
Image Based Expert Systems - Medical Perspective: Dr.S.Sridhar
Image Based Expert Systems - Medical Perspective: Dr.S.Sridhar
- Medical Perspective
Dr.S.Sridhar
Expert Systems
Introduction
• Expert systems provide expert quality
advice, diagnoses and recommendations
• Designed to perform function of a human
expert
• Examples:
– Medical diagnosis - program takes place of a
doctor; given a set of symptoms the system
suggests a diagnosis and treatment
Expert Systems
Some Observations
• IT is increasingly pervasive in healthcare delivery (and
• other complex applications)
• As more imaging and signal modalities become available
• communications become faster
• computers more powerful
• doctors are drowning in data
Expert Systems
Intelligent Systems…
• Sense the World
Expert Systems
Applications of Expert Systems
MYCIN:
Medical system for
diagnosing blood disorders.
First used in 1979
Expert Systems
Why use Expert Systems?
• Experts are not always
available. An expert system
can be used anywhere, any
time.
• Human experts are not 100%
reliable or consistent
• Experts may not be good at
explaining decisions
• Cost effective
Expert Systems
Limitations /
Future Developments
• Difficult to elicitate the Knowledge
(Feigenbaum Knowledge Bottleneck)
Expert Systems
Problems with Expert Systems
• Limited domain
• Systems are not always up
to date, and don’t learn
• No “common sense”
• Experts needed to setup
and maintain system
Expert Systems
Legal and Ethical Issues
• Who is responsible if the advice is wrong?
– The user?
– The domain expert?
– The knowledge engineer?
– The programmer of the expert system shell?
– The company selling the software?
Expert Systems
Structure of Expert System
Knowledge
Base
Inference
User Interface
Engine
Working
Memory
Expert Systems
Components of an Expert System
Expert Systems
Expert System – Structure
Revisited
Knowledge Production
Base rules
Inference Recognise-
User Interface
Engine act cycle
Working Compared to
Memory production
rules
Expert Systems
What Is Data Mining?
Data mining:
Extraction of interesting (non-trivial, implicit,
previously unknown and potentially useful)
information or patterns from data in large databases
Expert Systems
Why DATA MINING?
Expert Systems
Data vs. Information
Expert Systems
Multidisciplinary Field
Database
Statistics
Technology
Machine
Learning
Data Mining Visualization
Artificial Other
Intelligence Disciplines
Expert Systems
KDD Process
Database
Evaluation,
Verification
Expert Systems
Data Mining Tasks
Expert Systems
Image Processing
Expert Systems
Examples of Medical Images
Expert Systems
Special nature of medical images
• Derived from
– method of acquisition
– the subject whose images are being acquired
• Ability to provide information about the volume beneath the surface
– though surface imaging is used in some applications
• Image obtained for medical purposes almost exclusively probe the
otherwise invisible anatomy below the skin.
• Information may be from:
– 2D projection acquired by conventional radiography
– 2D slices of B-mode ultrasound
– full 3D mapping from CT, MRI, SPECT, PET and 3D ultrasound.
Expert Systems
X-ray Image
Expert Systems
What good is it?
• A fracture of the middle finger is seen on
both views, though it is clearer on the view
on the left. This image can be used for
diagnosis - to distinguish between a sprain
and a fracture, and to choose a course of
treatment.
Expert Systems
CT (Computed Tomography)
Expert Systems
Functional Magnetic Resonance
Imaging
Plane 3
From http://www.fmri.org/
Picture naming task
Plane 6
Expert Systems
What Good Is It?
• This set of images is part of research on brain
function (good for publication).
• Functional imaging is used prior to brain surgery,
to identify structures such as the motor areas that
should be avoided, and focal areas for epilepsy,
that should be resectioned.
Expert Systems
Ultrasound Imaging
Expert Systems
What Good Is It?
• This image allows a safe means for early
identification of a twin pregnancy.
• Obstetric ultrasonography can be used to
monitor high-risk pregnancies to allow
optimal treatment.
• Pre-natal scans are part of baby picture
albums.
Expert Systems
Difficulties/specificities
• Radiology: perspective projection maps physical points into image
space
– but, detection and classification of objects is confounded to over-
and underlying tissue (not the case in general image processing).
• Tomography: 3D images bring both complication and simplifications
– 3D topography is more complex than 2D one.
– problem associated with perspective and occlusion are gone.
• Additional limitation to image quality:
– distortion and burring associated with relatively long acquisition
time (due to anatomical motion).
– reconstruction errors associated with noise, beam hardening etc.
• All these and others account for the differences between medical and
non medical approaches to processing and analysis.
Expert Systems
• Advantage of dealing with medical images:
– knowledge of what is and what is not normal human anatomy.
– selective enhancement of specific organs or objects via injection of
contrast-enhancing material.
• All these differences affect the way in which images are processed and
analysed.
Expert Systems
Table of Contents
• Image Mining – What is it?
• Feature Extraction
• Shape Detection
• Color Techniques
• Video Mining
• Facial Recognition
• Bioinformatics
Expert Systems
Image Mining – What is it?
• Image Retrieval
• Image Classification
• Image Clustering
• Video Mining
• Applications
– Bioinformatics
– Geology/Earth Science
– Security
– …
Expert Systems
Feature Extraction
• Identify major components of image
• Color
• Texture
• Shape
• Spatial relationships
• Feature Extraction & Image Processing
http://users.ecs.soton.ac.uk/msn/book/
• Feature Extraction Tutorial
http://facweb.cs.depaul.edu/research/vc/VC_Workshop/pr
esentations/pdf/daniela_tutorial2.pdf
Expert Systems
Shape Detection
• Blob
http://elib.cs.berkeley.edu/blobworld/
• Boundary/Edge Detection
• Time Series – Eamonn Keogh
http://www.engr.smu.edu/~mhd/8337sp07/shapes.
ppt
Expert Systems
Color Techniques
• Color Representations
RGB:
http://en.wikipedia.org/wiki/Rgb
HSV:
http://en.wikipedia.org/wiki/HSV_color_space
• Color Histogram
• Color Anglogram
http://www.cs.sunysb.edu/~rzhao/publications/VideoDB.p
df
Expert Systems
Video Mining
• Boundaries between shots
• Movement between frames
• ANSES:
http://mmir.doc.ic.ac.uk/demos/anses.html
Expert Systems
Ontologies
• Ontology
– Content theories, which have a general set of facts to be shared
– The main contribution is to identify specific classes of objects and
relationships in a specific domain
• Specification mechanism
– Interoperability
– Reuse
– Clarity
– Coherence
– Extensibility
Expert Systems
Image Ontology
Application
Semantic Mediation
Extraction of the
Application
Application representative graphs
Ontology
Generation Ontology (specialist)
Spatial
Graphs
Patterns Building the
Typology Application
Ontology of the
Expert Systems
Pattern
Proposal – 2 nd Phase
(for a specific deforestation pattern)
Graph Graphs and
Building the
Images Segmentação
Segmentatione Segmented Structural
Rotulação Generation Metrics
and Labeling Images Ontology
Graphs Subgraph
of the Mining
Pattern
Spatial
Configurations
Expert Systems
Application Domain
• Land Use and Cover Change
– Land use: purpose to which it’s employed (agriculture, ranching)
• Graphs
– Mathematical abstraction employed in many problems
– Well known and researched formalism
– Represents objects and relationships in an natural way
• Spation Configurations may be approached using
graphs
– Graph inexact isomorphism
Expert Systems
Building the Structural Ontology
• Extraction of areas (objects)
• Metrics generation
• perimeter area ratio
• fractal index (and so on)
• Graph mapping (objects, relationships, metrics)
Graphs and
Metrics
Expert Systems
Building the Structural Ontology
Application
Application
Ontology Application
Generation Ontology
Spatial
Patterns
Typology
Expert Systems
Books
Expert Systems
Our approach
New Segmented
SITI Interfaces Image
Image-Interpretation
Assistant
Image Function
Selection Assistant
New
Image Processing Library Map
JAI
Image Data Selection Assistant
(IDSA)
• The challenge of selecting the right images
– A lot of sensors are available on the market
– The user may already own a huge amount of
images for different zones, different dates and
different sensors.
– The choice of the image depends of the task,
precision quality, and price, …
Image Data Selection Assistant
(IDSA)
Recommend
images to buy
Min : 1998/01/01
Max: 1999/12/31
Best
images
Request from the user
No
Have
Rule-based system Yes
Image results in
(JESS)
Database database ?
Expert Systems
IDSA Architecture
Image User
Database Model
Production
Rules Questions
Graphical Interface Knowledge
about images Tutor
Image selection
Expert Systems
Image Processing Assistant
(ASA)
• Before interpreting a map, several pre-
processing steps are needed
– Atmospheric corrections
– Image filtering
– Geometrics corrections
– Classification and segmentation
• For each step, many algorithms may exist,
with different strengths and virtues
depending on:
– Image type (sensor and resolution)
– Speed of processing
– Known parameters for the scene
– Background knowledgeExpert Systems
Image Processing Assistant
(ASA)
• Multi-agent system
– Each algorithm is represented by an agent
– ASA acts as a broker that negotiates with agents
• The decision process
– The user chooses the type of image processing he wants to perform
– Agents that can process the request are activated
– The user gives preferences and known variables about the request
– Each agent makes a bid for the request
– ASA chooses the best offer from the agents and contacts the winner to
perform the image processing
Expert Systems
Image Processing Assistant
Image to (ASA)
process
Implemented with MadKit
Agent 2
Agent 1
Agent n
…
Expert Systems
Classified Image
Interpretation Assistant
• A segmented/classified image is a new map, but rarely accurate
– Noise filtering and image classification/segmentation, have a limited accuracy
• Human expertise is required to refine the output of the segmentation step
– Using an old map as reference and background knowledge
• CI2A assists in this refinement process
– Using a knowledge base about image interpretation: radiance, textural,
contextual, temporal, background knowledge (old map)
• CI2A verifies the correctness of segmented regions (forest cut, regeneration site,
water, …)
Expert Systems
Image Interpretation Assistant
New Satellite
image
Old map
Classification
Ancillary
Segmented data
image
Change detection
Changed areas
map
Image
description
Corrected
map
Illustrations of production rules
• The reduction of a vegetation suggests a loss of
vegetation cover (with some degree of
confidence)
(defrule prob-recent-oldforest-ndvilow
Expert Systems
Ultrasound Image
Image Enhancement
User /
Diagnosis User Interface
Expert Systems
Performance Evaluation
Table 4.5 Performance Evaluation of the Expert System
Expert Systems
Results of Data Mining
Table 5.4 Validation of classification rules
Ripper 6 4 1 0 3 1
Part 10 5 6 2 3 1
Ridor 19 8 3 1 4 1
Oner 3 1 3 0 3 3
Zeror 1 0 1 0 1 0
Prism 23 1 34 2 9 1
Id3 18 6 28 9 9 4
C4.5 12 5 6 3 5 4
Reptree 11 4 1 0 3 3
Random Tree 29 9 38 15 12 8
CN2 15 2 26 1 6 1
Expert Systems
Comparison Before and After data
mining
Expert Systems