data structures for image analysis levels of image data representation traditional image data...

16
Data Structures For Image Analysis Levels of image data representation Traditional image data structures Hierarchical data structures

Upload: augustus-wiggins

Post on 19-Dec-2015

275 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: Data Structures For Image Analysis Levels of image data representation Traditional image data structures Hierarchical data structures

Data Structures For Image Analysis

Levels of image data representation

Traditional image data structures

Hierarchical data structures

Page 2: Data Structures For Image Analysis Levels of image data representation Traditional image data structures Hierarchical data structures

Digital Image Processing 2

Levels Of Image Data Representation

Computer visual perception Determine the relation b/w input image and

models of real world Iconic image – original image data Segmented image – ROI in groups Geometric representation – higher level of

knowledge, such as shapes, etc. Relational model – relationships among

higher level abstraction

Image-based

Page 3: Data Structures For Image Analysis Levels of image data representation Traditional image data structures Hierarchical data structures

Digital Image Processing 3

Traditional Image Data Structures

Matrices or N-dimensional arrays Chains – describing object borders Topological data structures – graphs,

maps Relational structures

Page 4: Data Structures For Image Analysis Levels of image data representation Traditional image data structures Hierarchical data structures

Digital Image Processing 4

Matrices

Low-level image data representation Depict spatial relations –

neighborhood, etc. Grid – rectangular, hexagonal grids Pixel coordinates Brightness – intensity, gray level, color

Page 5: Data Structures For Image Analysis Levels of image data representation Traditional image data structures Hierarchical data structures

Digital Image Processing 5

Matrices (II)

Binary image (0/1), multi-spectral image (gray-scaled, color), hierarchical image data structure (LOD: level of detail, varied resolutions)

Global information Histogram – probabilistic density of a

phenomenon Co-occurrence matrix – measures in

terms of brightness

Page 6: Data Structures For Image Analysis Levels of image data representation Traditional image data structures Hierarchical data structures

Digital Image Processing 6

Co-occurrence Matrix

1),(),,(),(),,(

perform and ,),( pixel

the with relation thehas which),( determine image, thein ),( pixels all For 2.

.brightness maximum theis where,,0, allfor 0),( Assign 1.

relationfor ),(matrix occurrence-Co

22112211

11

2211

jifjifCjifjifC

ji

rjiji

LLyzyzC

ryzC

rr

r

r

The diagonal elements correspond to the histogram!

Page 7: Data Structures For Image Analysis Levels of image data representation Traditional image data structures Hierarchical data structures

Digital Image Processing 7

Chains

Chains are used for the description of object borders in computer vision

Chains are composed of symbols in sequence – useful for syntactic pattern recognition

Chain codes (aks: Freeman codes) Run length coding

Page 8: Data Structures For Image Analysis Levels of image data representation Traditional image data structures Hierarchical data structures

Digital Image Processing 8

Chain Codes

0007766555555670000006444444442221111112234445652211

00077665555556600000006444444442221111112234445652211 (X)

Page 9: Data Structures For Image Analysis Levels of image data representation Traditional image data structures Hierarchical data structures

Digital Image Processing 9

Run Length Coding

((11144)(214)(52355))

Page 10: Data Structures For Image Analysis Levels of image data representation Traditional image data structures Hierarchical data structures

Digital Image Processing 10

Topological Data Structures

Describe image as set of elements and their relations

Graph: G=(V,E); V denotes the set of nodes and E represents the set of edges Evaluated graph (or weighted graph) Region adjacency graph

Page 11: Data Structures For Image Analysis Levels of image data representation Traditional image data structures Hierarchical data structures

Digital Image Processing 11

Region Adjacency Graph (RAG)

NodesNodes represent region; edgesedges or arcsarcs represent connectivity Nodes of degree 1 are cavitiescavities or holesholes Edges can be used to describe relations RAG can be created from a quadtree representation or from tracing

the borders of all regions in the region mapregion map (a result of segmentation)

Page 12: Data Structures For Image Analysis Levels of image data representation Traditional image data structures Hierarchical data structures

Digital Image Processing 12

Region Merging Phenomenon

Region merging may create holes

Page 13: Data Structures For Image Analysis Levels of image data representation Traditional image data structures Hierarchical data structures

Digital Image Processing 13

Relational structure

Page 14: Data Structures For Image Analysis Levels of image data representation Traditional image data structures Hierarchical data structures

Digital Image Processing 14

Pyramids

M-pyramid (matrix-pyramid) – a sequence of images in reducing resolutions of the original image Disadvantage: Only one image in certain

resolution is available at a time T-pyramid (tree-pyramid) – use the

tree structures to represent M-pyramid

Page 15: Data Structures For Image Analysis Levels of image data representation Traditional image data structures Hierarchical data structures

Digital Image Processing 15

T-Pyramids

}.255,,2,1,0{ example,for

levels, brightness ofnumber the toingcorrespond numbers whole the

ofsubset theis , to pyramid theof nodea maps that function A 3.

).2/,2/,1(),,(

pyramid, theof , nodes subsequentb/w mapping A 2.

]}12,0[, ;],0[ level that such ),,({ nodes ofset A 1.

1

Z

ZPV

jikjikF

PPF

jiLkjikPP

kk

k

Page 16: Data Structures For Image Analysis Levels of image data representation Traditional image data structures Hierarchical data structures

Digital Image Processing 16

Quadtree

Similar to pyramid hierarchical representations. T-pyramids are balanced; the quadtree representation is not.