Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.

Slides:



Advertisements
Similar presentations
Introduction to Computer Vision Image Texture Analysis
Advertisements

電腦視覺 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.
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:
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:
嵌入式視覺 Feature Extraction
Computer Vision Lecture 16: Texture
Texture. Edge detectors find differences in overall intensity. Average intensity is only simplest difference. many slides from David Jacobs.
Digital Image Processing
The Global Digital Elevation Model (GTOPO30) of Great Basin Location: latitude 38  15’ to 42  N, longitude 118  30’ to 115  30’ W Grid size: 925 m.
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:
6/9/2015Digital Image Processing1. 2 Example Histogram.
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:
Texture Turk, 91.
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:
Texture Classification Using QMF Bank-Based Sub-band Decomposition A. Kundu J.L. Chen Carole BakhosEvan Kastner Dave AbramsTommy Keane Rochester Institute.
Visual Information Systems Image Content. Visual cues to recover 3-D information There are number of cues available in the visual stimulus There are number.
E.G.M. PetrakisTexture1 Repeative patterns of local variations of intensity on a surface –texture pattern: texel Texels: similar shape, intensity distribution.
Texture Readings: Ch 7: all of it plus Carson paper
CS292 Computational Vision and Language Visual Features - Colour and Texture.
Run-Length Encoding for Texture Classification
Information that lets you recognise a region.
Entropy and some applications in image processing Neucimar J. Leite Institute of Computing
Introduction --Classification Shape ContourRegion Structural Syntactic Graph Tree Model-driven Data-driven Perimeter Compactness Eccentricity.
Chapter 2. Image Analysis. Image Analysis Domains Frequency Domain Spatial Domain.
Copyright © 2012 Elsevier Inc. All rights reserved.
Spatial-based Enhancements Lecture 3 prepared by R. Lathrop 10/99 updated 10/03 ERDAS Field Guide 6th Ed. Ch 5: ;
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
Computer vision.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
8D040 Basis beeldverwerking Feature Extraction Anna Vilanova i Bartrolí Biomedical Image Analysis Group bmia.bmt.tue.nl.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation.
BACKGROUND LEARNING AND LETTER DETECTION USING TEXTURE WITH PRINCIPAL COMPONENT ANALYSIS (PCA) CIS 601 PROJECT SUMIT BASU FALL 2004.
Attribute Expression Using Gray Level Co-Occurrence Sipuikinene Angelo*, Marcilio Matos,Kurt J Marfurt ConocoPhillips School of Geology & Geophysics, University.
8D040 Basis beeldverwerking Feature Extraction Anna Vilanova i Bartrolí Biomedical Image Analysis Group bmia.bmt.tue.nl.
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 Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
Discriminative Local Binary Patterns for Human Detection in Personal Album.
Course 9 Texture. Definition: Texture is repeating patterns of local variations in image intensity, which is too fine to be distinguished. Texture evokes.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
Image Segmentation and Edge Detection Digital Image Processing Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng.
Remotely sensed land cover heterogeneity
CHAPTER 5 SIGNAL SPACE ANALYSIS
Levels of Image Data Representation 4.2. Traditional Image Data Structures 4.3. Hierarchical Data Structures Chapter 4 – Data structures for.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
Computer and Robot Vision II Chapter 20 Accuracy Presented by: 傅楸善 & 王林農 指導教授 : 傅楸善 博士.
Colour and Texture. Extract 3-D information Using Vision Extract 3-D information for performing certain tasks such as manipulation, navigation, and recognition.
Lab for Remote Sensing Hydrology and Spatial Modeling Dept of Bioenvironmental Systems Engineering National Taiwan University 1/45 GEOSTATISTICS INTRODUCTION.
Slides from Dr. Shahera Hossain
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
Computer vision. Applications and Algorithms in CV Tutorial 3: Multi scale signal representation Pyramids DFT - Discrete Fourier transform.
Robotics Chapter 6 – Machine Vision Dr. Amit Goradia.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
Image Quality Measures Omar Javed, Sohaib Khan Dr. Mubarak Shah.
- photometric aspects of image formation gray level images
Texture.
Computer and Robot Vision I
COMP 9517 Computer Vision Texture 6/22/2018 COMP 9517 S2, 2009.
Feature description and matching
Computer Vision Lecture 16: Texture II
Computer Vision Chapter 9
Texture.
Computer and Robot Vision I
Feature descriptors and matching
Computer and Robot Vision I
Computer and Robot Vision I
Computer Vision II Chapter 20 Accuracy
Review and Importance CS 111.
Outline Texture modeling - continued Markov Random Field models
Presentation transcript:

Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C. Computer Vision Chapter 9 Texture Presented by 盧毅 and 傅楸善教授 Cell phone:

DC & CV Lab. CSIE NTU Copyright Mentioned Some slides adapted from 455/09wi/Lects/lect12.pdf 455/09wi/Lects/lect12.pdf Some slides about LBP and variants adapted from XianBiao Qi

DC & CV Lab. CSIE NTU Introduction What does texture mean? Formal approach or precise definition of texture does not exist! Texture discrimination techniques are for the part ad hoc.

DC & CV Lab. CSIE NTU What is Texture?

DC & CV Lab. CSIE NTU “Definition” of Texture Non-local property, characteristic of region larger than its size Repeating patterns of local variations in image intensity which are too fine to be distinguished as separated objects at the observed resolution

DC & CV Lab. CSIE NTU “Definition” of Texture (cont.) For humans, texture is the abstraction of certain statistical homogeneities from a portion of the visual field that contains a quantity of information grossly in excess of the observer’s perceptual capacity

DC & CV Lab. CSIE NTU

DC & CV Lab. CSIE NTU

DC & CV Lab. CSIE NTU

DC & CV Lab. CSIE NTU

DC & CV Lab. CSIE NTU

DC & CV Lab. CSIE NTU

DC & CV Lab. CSIE NTU

DC & CV Lab. CSIE NTU

Texture Classification Samples of Brodatz, CUReT, and KTH-TIPS

DC & CV Lab. CSIE NTU Texture Analysis Issues Pattern recognition: given texture region, determine the class the region belongs to Generative model: given textured region, determine a description or model for it Texture segmentation: given image with many textured areas, determine boundaries

DC & CV Lab. CSIE NTU Statistical Texture-Feature Approaches Autocorrelation function Spectral power density function Edgeness per unit area Spatial gray level co-occurrence probabilities Graylevel run-length distributions Relative extrema distributions Mathematical morphology

DC & CV Lab. CSIE NTU Image Texture Analysis Give a generative model and the values of its parameters, one can synthesize homogeneous image texture samples associated with the model and the given value of its parameters.

DC & CV Lab. CSIE NTU Image Texture Analysis (cont.) Verification: verify given image textures sample consistent with model Estimation: estimate values of model parameters based on observed sample examples of model-based techniques

DC & CV Lab. CSIE NTU Some Model-Based Techniques Autoregressive, moving-average, time-series models (extended to 2D) Markov random fields Mosaic models

DC & CV Lab. CSIE NTU Nonfigurative and Cellular Texture It is decomposable It has two basic dimensions First dim: gray level primitives Second dim: spatial organization of the gray level primitives

DC & CV Lab. CSIE NTU Nonfigurative and Cellular Texture Gray level primitives: Regions with gray level properties Spatial organization: Random, Pairwise dependence, Dependence of n primitives at a time Dependence: structural, probabilistic, or functional

DC & CV Lab. CSIE NTU Texel Texture element The basic textural unit of some textural primitives in their defining spatial relationships A texture is a set of texture elements or texels occurring in some regular or repeated pattern

DC & CV Lab. CSIE NTU Texel

DC & CV Lab. CSIE NTU Characterizing Texture An image texture is described by the number and types of its primitives and their spatial organization or layout. Image texture can be qualitatively evaluated as some properties.

DC & CV Lab. CSIE NTU Some Texture Features Fineness Coarseness Contrast Directionality Roughness Regularity Smoothness Granulation

DC & CV Lab. CSIE NTU Some Texture Features (cont.) Randomness Lineation Mottled Irregular Hummocky

DC & CV Lab. CSIE NTU Characterizing Texture (cont.) Each of these qualities translates into some property of the gray level primitives and the spatial interaction between them. Open issue: no attempts to map semantic meaning into precise properties of gray level primitives and their spatial distribution.

DC & CV Lab. CSIE NTU Aspects of texture

DC & CV Lab. CSIE NTU Take a Break

DC & CV Lab. CSIE NTU Texture and Scale For any textural surface, there exists a scale at which, when the surface is examined, it appears smooth and textureless. (see from infinite distance) As resolution increases, the surfaces appears as a fine texture and then a coarse one, and for multiple-scale textural surface the cycle of smooth, fine, and coarse may repeat.

DC & CV Lab. CSIE NTU Texture and Scale (cont.) Thus, texture cannot be analyzed without frame of reference on scale or resolution. Texture is a scale-dependent phenomenon.

DC & CV Lab. CSIE NTU

DC & CV Lab. CSIE NTU First-Order Gray-Level Statistics Statistics of single pixels E.g. Histogram, mean, median, variance

DC & CV Lab. CSIE NTU Second-Order Gray-Level Statistics The combined statistics of gray levels of pairs of pixels in which each two pixels in a pair have a fixed relative position E.g. co-occurrence Gray level spatial dependence: characterize texture by co-occurrence

DC & CV Lab. CSIE NTU Co-Occurrence Matrix The gray level co-occurrence can be specified in a matrix of relative frequencies P ij with which two neighboring pixels separated by distance d occur on the image, one with gray level i and the other with gray level j Symmetric matrix Function of angle and distance between pixels

DC & CV Lab. CSIE NTU 2)

DC & CV Lab. CSIE NTU Co-Occurrence Matrix (cont.) Probability of horizontal, d pixels apart pixels P(i, j, d, 0°) = #{[(k, l), (m, n)] | k-m = 0, |l-n| = d, I(k, l) = i, I(m,n) = j} Probability of 45 °, d pixels apart pixels P(i, j, d, 45°) = #{[(k, l), (m, n)] | (k-m = d, l-n = -d) or (k-m = -d, l-n = d), I(k, l) = i, I(m,n) = j}

DC & CV Lab. CSIE NTU Co-Occurrence Matrix (cont.) Probability of 90 °, d pixels apart pixels P(i, j, d, 90°) = #{[(k, l), (m, n)] | |k-m| = d, l-n = 0, I(k, l) = i, I(m,n) = j} Probability of 135 °, d pixels apart pixels P(i, j, d, 135°) = #{[(k, l), (m, n)] | (k-m = d, l-n = d) or (k-m = -d, l-n = -d), I(k, l) = i, I(m,n) = j}

DC & CV Lab. CSIE NTU 0

DC & CV Lab. CSIE NTU Co-Occurrence Matrix (cont.) Matrix symmetric: P(i, j, d, a) = P(j, i, d, a)

DC & CV Lab. CSIE NTU Variants of co-occurrence matrix Gray level difference probability: The probability of small contrast d for a coarse texture will be much higher than for a fine texture.

DC & CV Lab. CSIE NTU Variants of co-occurrence matrix (cont.) Another gray level difference probability: Can be used to compute a variety of features, such as entropy and energy.

DC & CV Lab. CSIE NTU Take a Break

DC & CV Lab. CSIE NTU

DC & CV Lab. CSIE NTU Matrix with Highest Entropy When all entries in P ij are equal Image where no preferred gray-level pairs exist features calculated from the co- occurrence matrix

DC & CV Lab. CSIE NTU Generalized Gray Level Spatial Dependence Models for Texture Simple generalization: consider more than two pixels at a time

DC & CV Lab. CSIE NTU Generalized Co-Occurrence Primitives and the spatial relationships between primitives. Difference from gray level co-occurrence: Pixel vs. Primitives Strong texture measures take into account the co-occurrence between texture primitives.

DC & CV Lab. CSIE NTU Texture Primitive Connected set of pixels characterized by attribute set Simplest primitive: pixel with gray level attribute More complicated primitive: connected set of pixels homogeneous in level, characterized by size, elongation, orientation, and average gray level

DC & CV Lab. CSIE NTU Spatial Relationship We have a list of primitives, their center coordinate, and their attributes after the primitives have been constructed.

DC & CV Lab. CSIE NTU Spatial Relationship (cont.)

DC & CV Lab. CSIE NTU Take a Break

DC & CV Lab. CSIE NTU Texture feature State-of-the-art works: "Pairwise rotation invariant co-occurrence local binary pattern“ ECCV 2012 "Multi-scale Joint Encoding of Local Binary Patterns for Texture and Material Classification“ BMVC 2013

DC & CV Lab. CSIE NTU Local Binary Pattern Classical image feature Successfully used in many CV applications Firstly proposed in > TPAMI 2002 > TPAMI 2006

Local Binary Pattern LBP 8,1

Local Binary Pattern Formula:

Rotation Invariant LBP Pattern LBP describes image microstructures There are 256 LBP 8,1 patterns Rotationpermutation Divide LBP patterns into several subgroups

Rotation Invariant LBP Pattern LBP describes image microstructures There are 256 LBP 8,1 patterns Rotationpermutation LBP 8,1 pattern has 36 subgroups under rotation permutations

Uniform LBP Pattern At most two transitions from 0 1 Most patterns are uniform pattern in images Sometimes >90% Samples of non-uniform patterns Samples of uniform patterns

Uniform LBP Pattern At most two transitions from 0 1 Most patterns are uniform pattern in images Sometimes >90% Microstructures defined by uniformed patterns Bright spot (0) Flat area or dark spot (8) Edges of varying positive/negative curvature (1-7)

DC & CV Lab. CSIE NTU Take a Break

DC & CV Lab. CSIE NTU State-of-the-art works: "Pairwise rotation invariant co-occurrence local binary pattern“ ECCV 2012 "Multi-scale Joint Encoding of Local Binary Patterns for Texture and Material Classification“ BMVC 2013

Multi-Scale Joint encoding Local Binary Patterns (MSJ-LBP)

LBP and Multi-scale LBP The LBP depicts the local structures of the images such as plat regions, edge, contours and so on. Contrast to LBP, multi-scale LBP describes larger and stronger structures, as shown in Fig. 1. Meanwhile, in the real image, the LBP patterns in different scales has strong relationship as shown in the right of Fig.1. LBPLBP on multiple scales To illustrate the LBP and Multi-scale LBP. MS-LBP depicts stronger structures than LBP. 1 0 A A

LBP and Multi-scale LBP

Dense Sampling 1 0

To illustrate the rotation invariant property of the proposed MSJ-LBP. Rotation Invariant Property Fig. 2 illustrates the rotation invariant property of the proposed MSJ-LBP. As shown in Fig. 2, the left MSJ-LBP pattern is [( )ru, ( )u]. Similarly, we can obtain the same pattern from the right of Fig. 2.

Drawback of MS-LBP

Experiment

Experiment (cont.)

DC & CV Lab. CSIE NTU Take a Break

Pairwise Rotation Invariant Co- occurrence Local Binary Pattern

Co-LBP pattern space is large 2 16 Co-occurrence Local Binary Pattern A B CoLBP(AB) :

Co-LBP pattern space is large 2 16 Co-LBP under rotation permutation. Co-occurrence Local Binary Pattern AB CoLBP(AB) : A* B* CoLBP(A * B * ) : o

Co-LBP pattern space is large 2 16 Co-LBP under rotation permutation. Pairwise rotation invariant CoLBP Co-occurrence Local Binary Pattern AB CoLBP pri (AB) : CoLBP ri (A) :

Co-LBP pattern space is large 2 16 Co-LBP under rotation permutation. Pairwise rotation invariant CoLBP Uniformed pairwise–rotation invariant COLBP 10*59 patterns Pairwise Rotation Invariant Co- occurrence Local Binary Pattern

The Relative Angle Information The relative angle information is informative and rotation invariant.

Rotation Invariant Pairwise Rotation Invariant encoding just promises that for the same A and B, the encoding strategy is rotation invariant. But we must keep that for same point A in different images, the point B could be found. The gradient orientation is a relative invariant between point A and B in different images.

The difference between the invariant properties of co-occurrence feature and traditional features Same pairs should be promised. Invariant encoding strategy should be used

Encoding Multi-Scale and Multi- Orientation Information AB 2 46 C D E F G CoLBP(A B) CoLBP(A C) CoLBP(A D) CoLBP(A E) CoLBP(A F) CoLBP(A G) Vector dimension : 590*6 MSMO-CoLBP: MSMO- CoLBP R MSMO- CoLBP G MSMO- CoLBP B Vector dimension : 590*6*3 Color MSMO-CoLBP Vector dimension : 150 PCA dimension Reduction across images Encoding color information

DC & CV Lab. CSIE NTU Autocorrelation Function Texture relates to the spatial size of the gray level primitives on an image Gray level primitives of larger size are indicative of coarser texture Gray level primitives of smaller size are indicative of finer texture

DC & CV Lab. CSIE NTU Autocorrelation Function (cont.) Autocorrelation function describes the size of gray level primitives

DC & CV Lab. CSIE NTU Autocorrelation Function (cont.)

DC & CV Lab. CSIE NTU Autocorrelation Function (cont.)

DC & CV Lab. CSIE NTU Autocorrelation Function (cont.)

DC & CV Lab. CSIE NTU Autocorrelation Function (cont.)

DC & CV Lab. CSIE NTU Autocorrelation Function (cont.) - 1D Example from Wiki

DC & CV Lab. CSIE NTU Autocorrelation Function (cont.) - Interpreting autocorrelation

DC & CV Lab. CSIE NTU Autocorrelation Function (cont.) If the gray level on image is relatively large: texture is coarse, autocorrelation drops off slowly with distance If the gray level on image is relatively small: texture is fine, autocorrelation drops off quickly with distance Periodic

DC & CV Lab. CSIE NTU Autocorrelation Function (cont.) The gray level primitive in the autocorrelation model is the gray level. The spatial organization is characterized by the correlation coefficient that is a measure of the linear dependence one pixel has on another. The relationship between the autocorrelation function and the power spectral density function: Fourier transforms

DC & CV Lab. CSIE NTU Take a Break

DC & CV Lab. CSIE NTU Digital Transform Methods and Texture In the digital transform method of texture analysis, the digital image is typically divided into a set of non-overlapping small square subimages. The vectors is rexpressed in a new coordinate system. Fourier transform uses the complex sinusoid basic set, Handamard transfer uses the Walsh function basic set, …..

DC & CV Lab. CSIE NTU Digital Transform Methods and Texture (cont.) The key point: The basis vectors of the new coordinate system have an interpretation that relates to spatial frequency or sequency. Since frequency is a close relative of texture, such transformations can be useful.

DC & CV Lab. CSIE NTU Digital Transform Methods and Texture (cont.) In general, features based on Fourier power spectra have been shown to perform more poorly than features based on second-order gray level co-occurrence statistics or those based on first-order statistics of spatial gray level differences.

DC & CV Lab. CSIE NTU Take a Break

DC & CV Lab. CSIE NTU Texture Energy The image is first convolved with a variety of kernels Then each convolved image is processed with a nonlinear operator to determine the total textural energy in each pixel’s neighborhood

DC & CV Lab. CSIE NTU Texture Energy (cont.) The textural energy approach is very much in the spirit of the transform approach. But it uses smaller windows or neighborhood supports.

DC & CV Lab. CSIE NTU Texture Energy (cont.)

DC & CV Lab. CSIE NTU Texture Energy (cont.) - Law’s texture

DC & CV Lab. CSIE NTU Texture Energy (cont.) - Law’s texture

DC & CV Lab. CSIE NTU Texture Energy (cont.) - Law’s texture

DC & CV Lab. CSIE NTU Texture Energy (cont.) - Law’s texture

DC & CV Lab. CSIE NTU Texture Energy (cont.) - Using texture energy for segmentation

DC & CV Lab. CSIE NTU Take a Break

DC & CV Lab. CSIE NTU Texture Edgeness Autocorrelation function and digital transform both reference texture to spatial frequency Texture Edgeness: conceive texture in terms of edgeness per unit area

DC & CV Lab. CSIE NTU Texture Edgeness (cont.) Use small neighborhood to detect microedge Use large neighborhood to detect macroedge

DC & CV Lab. CSIE NTU

DC & CV Lab. CSIE NTU Texture Edgeness (cont.)

DC & CV Lab. CSIE NTU Texture Edgeness (cont.)

DC & CV Lab. CSIE NTU Texture Edgeness (cont.)

DC & CV Lab. CSIE NTU Conclusion of Statistical Approach Co-occurrence probability Autocorrelation Function Texture Energy Texture Edgeness

DC & CV Lab. CSIE NTU Conclusion of Statistical Approach

DC & CV Lab. CSIE NTU Take a Break