8D040 Basis beeldverwerking Feature Extraction Anna Vilanova i Bartrolí Biomedical Image Analysis Group bmia.bmt.tue.nl.

Slides:



Advertisements
Similar presentations
Face Recognition Sumitha Balasuriya.
Advertisements

EigenFaces and EigenPatches Useful model of variation in a region –Region must be fixed shape (eg rectangle) Developed for face recognition Generalised.
電腦視覺 Computer and Robot Vision I
November 12, 2013Computer Vision Lecture 12: Texture 1Signature Another popular method of representing shape is called the signature. In order to compute.
Computer vision: models, learning and inference Chapter 13 Image preprocessing and feature extraction.
1 Texture Texture is a description of the spatial arrangement of color or intensities in an image or a selected region of an image. Structural approach:
CDS 301 Fall, 2009 Image Visualization Chap. 9 November 5, 2009 Jie Zhang Copyright ©
July 27, 2002 Image Processing for K.R. Precision1 Image Processing Training Lecture 1 by Suthep Madarasmi, Ph.D. Assistant Professor Department of Computer.
Computer Vision Lecture 16: Texture
Computer Vision Lecture 16: Region Representation
Each pixel is 0 or 1, background or foreground Image processing to
Lecture 6: Feature matching CS4670: Computer Vision Noah Snavely.
Lecture 4: Feature matching
Texture Readings: Ch 7: all of it plus Carson paper
Lecture 3a: Feature detection and matching CS6670: Computer Vision Noah Snavely.
Smart Traveller with Visual Translator. What is Smart Traveller? Mobile Device which is convenience for a traveller to carry Mobile Device which is convenience.
CS4670: Computer Vision Kavita Bala Lecture 7: Harris Corner Detection.
CS4670: Computer Vision Kavita Bala Lecture 8: Scale invariance.
Statistical Shape Models Eigenpatches model regions –Assume shape is fixed –What if it isn’t? Faces with expression changes, organs in medical images etc.
Linear Algebra and Image Processing
Entropy and some applications in image processing Neucimar J. Leite Institute of Computing
DIGITAL IMAGE PROCESSING
Introduction --Classification Shape ContourRegion Structural Syntactic Graph Tree Model-driven Data-driven Perimeter Compactness Eccentricity.
Copyright © 2012 Elsevier Inc. All rights reserved.
Digital Image Processing
What is an image? f(x,y):2 
Lecture 19 Representation and description II
Machine Vision for Robots
ECE 8443 – Pattern Recognition LECTURE 03: GAUSSIAN CLASSIFIERS Objectives: Normal Distributions Whitening Transformations Linear Discriminants Resources.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation.
Digital Image Processing Lecture 20: Representation & Description
8D040 Basis beeldverwerking Feature Extraction Anna Vilanova i Bartrolí Biomedical Image Analysis Group bmia.bmt.tue.nl.
Texture analysis Team 5 Alexandra Bulgaru Justyna Jastrzebska Ulrich Leischner Vjekoslav Levacic Güray Tonguç.
CS 6825: Binary Image Processing – binary blob metrics
Texture. Texture is an innate property of all surfaces (clouds, trees, bricks, hair etc…). It refers to visual patterns of homogeneity and does not result.
Digital Image Processing CSC331
Digital Image Processing CCS331 Relationships of Pixel 1.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
Chapter 10 Image Segmentation.
Course 9 Texture. Definition: Texture is repeating patterns of local variations in image intensity, which is too fine to be distinguished. Texture evokes.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Representation & Description.
CS654: Digital Image Analysis Lecture 25: Hough Transform Slide credits: Guillermo Sapiro, Mubarak Shah, Derek Hoiem.
Introduction --Classification Shape ContourRegion Structural Syntactic Graph Tree Model-driven Data-driven Perimeter Compactness Eccentricity.
Levels of Image Data Representation 4.2. Traditional Image Data Structures 4.3. Hierarchical Data Structures Chapter 4 – Data structures for.
Last update Heejune Ahn, SeoulTech
CDS 301 Fall, 2008 Image Visualization Chap. 9 November 11, 2008 Jie Zhang Copyright ©
1 Overview representing region in 2 ways in terms of its external characteristics (its boundary)  focus on shape characteristics in terms of its internal.
Image Segmentation Nitin Rane. Image Segmentation Introduction Thresholding Region Splitting Region Labeling Statistical Region Description Application.
Robotics Chapter 6 – Machine Vision Dr. Amit Goradia.
Digital Image Processing, 3rd ed. © 1992–2008 R. C. Gonzalez & R. E. Woods Gonzalez & Woods Chapter 11 Representation and.
Objectives: Normal Random Variables Support Regions Whitening Transformations Resources: DHS – Chap. 2 (Part 2) K.F. – Intro to PR X. Z. – PR Course S.B.
Digital Image Processing CCS331 Relationships of Pixel 1.
Sheng-Fang Huang Chapter 11 part I.  After the image is segmented into regions, how to represent and describe these regions? ◦ In terms of its external.
COMP 9517 Computer Vision Binary Image Analysis 4/15/2018
Image Representation and Description – Representation Schemes
Medical Image Analysis
图像处理技术讲座(3) Digital Image Processing (3) Basic Image Operations
Texture.
Computer and Robot Vision I
Digital Image Processing Lecture 20: Representation & Description
Materi 10 Analisis Citra dan Visi Komputer
Mean Shift Segmentation
Self-similarity and points of interest
Computer Vision Lecture 16: Texture II
OBJECT RECOGNITION – BLOB ANALYSIS
Computer and Robot Vision I
Midterm Exam Closed book, notes, computer Similar to test 1 in format:
Midterm Exam Closed book, notes, computer Similar to test 1 in format:
Filtering An image as a function Digital vs. continuous images
Small-Area Fingerprint Verification
Presentation transcript:

8D040 Basis beeldverwerking Feature Extraction Anna Vilanova i Bartrolí Biomedical Image Analysis Group bmia.bmt.tue.nl

N=M=30 What is an image? Image is a 2D rectilinear array of pixels (picture element) N=M=256

L=15(4 bits) L=255 (8 bits) What is an image? No continuous values - Quantization Binary Image L=1 (1 bit) L=3 (2 bits)

An image is just 2D? No! – It can be in any dimension Example 3D: Voxel-Volume Element

Segmentation

Reduction of dimensionality Why feature extraction ? Pixel level Image of 256x256 and 8 bits ~ possible images

Incorporation of cues from human perception Transcendence of the limits of human perception The need for invariance Why feature extraction ?

Apple detection …

Transformation (Rotation)

How do we transform an image? We transform a point P How do we transform an image f(P) ? How do we know which Q belongs to P ?

How do we transform an image? How do we transform an image f(P) ? We know T which is the transformation we want to achieve. How do we know which Q belongs to P ?

Apple detection …

Feature Characteristics Invariance (e.g., Rotation, Translation) Robust (minimum dependence on) Noise, artifacts, intrinsic variations User parameter settings Quantitative measures

We extract features from… Region of Interest Segmented Objects

Classification Features Texture Based (Image & ROI) Shape (Segmented objects)

Shape Based Features Object based Topology based (Euler Number) Effective Diameter (similarity to a circle to a box) Circularity Compactness Projections Moments (derived by Hu 1962) …

4-neighbourhood of 8-neighbourhood of Adjacency and Connectivity – 2D  Notation: k -Neighbourhood of is

Adjacency and Connectivity – 3D 6-neighbourhood 18-neighbourhood 26-neighbourhood

Objects or Components (Jordan Theorem) In 2D – (8,4) or (4,8)-connectivity In 3D – (6,26)-,(26,6)-,(18,6)- or (6,18)-connectivity

Connected Components Labeling Each object gets a different label

Connected Components Labeling A B C Raster Scan Note: We want to label A. Assuming objects are 4-connected B, C are already labeled. Cortesy of S. Narasimhan

Connected Components Labeling  label(A) = new label 0 X X  label(A) = “background” 1 0 C  label(A) = label(C) 1 B 0  label(A) = label(B) 1 B C  If label(B) = label(C) then, label(A) = label(B) Cortesy of S. Narasimhan

?  What if label(B) not equal to label(C)? Connected Components Labeling 1 B C

Each object gets a different label

Classification Features Texture Based (Image & ROI) Shape (Segmented objects)

Topology based – Euler Number Euler Number E describes topology. C is # connected components H is # of holes.

Euler Number 3D Euler Number E describes topology. C is # connected components Cav is # of cavities G is # of genus E=1+0-1=0 E=1+1-0=2

Euler Number 3D E=2+0-0=2 E=1+1-0=2 Euler Number E describes topology. C is # connected components Cav is # of cavities G is # of genus

3D Euler Number The Euler Number in 3D can be computed with local operations Counting number of vertices, edges and faces of the surfaces of the objects

Simple Shape Measurements 2D area - 3D volume Summing elements 2D perimeter - 3D surface area Selection of border elements Sum of elemets with weights Error of precision

Similarity to other Shape Effective Diameter Circularity (Circle C=1) Compactness – (Actually non-compactness) (Circle Comp= )

Moments Definition Order of a moment is Moments identify an object uniquely ? is the Area Centroid

Central Moments Moments invariant to position Invariant to scaling

Moments to Define Shape and Orientation Inertia Tensor

Eigenanalysis of a Matrix Given a matrix S, we solve the following equation we find the eigenvectors and eigenvalues Eigenvectors and eigenvalues go in couples an usually are ordered as follows:

Eigenanalysis of the Inertia Matrix Eigenanalysis Sphere Flatness Elongated

Eigenanalysis of the Inertia Matrix Eigenanalysis Sphere Flatness Elongated

Orientation in 2D Using similar concepts than 3D Covariance or Inertia Matrix Eigenanalysis we obtain 2 eigenvalues and 2 eigenvectors of the ellipse

Moments Invariance Translation Central moments are invariant Rotation Eigenvalues of Inertia Matrix are invariant Scaling If moment scaled by (3D) (2D)

Moments invariant rotation-translation-scaling For 3D three moments (Sadjadi 1980) For 2D seven moments

Classification Features Texture Based (Image & ROI) Shape (Segmented objects)

Image Based Features Using all pixels individually Histogram based features −Statistical Moments (Mean, variance, smoothness) −Energy −Entropy −Max-Min of the histogram −Median Co-occurrance Matrix Gonzalez & Woods – Digital Image Processing Chapter 11 – Texture

Histogram L=9 bibi P(b i )

How do the histograms of this images look like?

Bimodal Histogram

Trimodal Features

Histogram Features Mean Central Moments

Histogram Features Mean Variance Relative Smoothness Skewness

Histogram Features Energy (Uniformity) Entropy

Examples of Energy and Entropy Energy=1 Entropy=0 Energy=0,111 Entropy=3,327 Energy=0,255 Entropy=2,018 Energy=0,0625 Entropy= 4

Examples TextureMeanstdR3rd momentEnergyEntropy

The next slides were not given, during the lecture and will not be asked in the exam

Intensity Co-occurrance Matrix Operator Q defines the position between two pixels (e.g, pixel to the right) Co-occurance matrix G is ( L+1) x (L+1) (6x6). Counts how often Q occurs Image G

Example L=256 Q “one pixel immediately to the right” Image G - Matrix

Features based on the co-ocurrence Matrix The elements of G (g ij ) is converted to probability (p ij ) by dividing by the amount of pairs in G Based on the probability density function we can use Maximum Energy (uniformity) Entropy

Features based on the co-ocurrence Matrix Homogenity – closeness to a diagonal matrix Contrast

Features based on the co-ocurrence Matrix Correlation – measure of correlation with neighbours

Example L=256 Q “one pixel immediately to the right” Image G - Matrix

Example Image G - Matrix CorrelationContrastHomogeneity

Moments Definition Order of a moment is Moments identify an object uniquely Centroid

Central Moments Moments invariant to position Normalized central moments

Moments invariant rotation-translation-scaling For 3D three moments (Sadjadi 1980) For 2D seven moments (Hu’s 1962)

Moments invariant rotation-translation- scaling-mirroring (within minus sign) are all equal Mirroring

Projections x y