Texture Key issue: representing texture –Texture based matching little is known –Texture segmentation key issue: representing texture –Texture synthesis.

Slides:



Advertisements
Similar presentations
Filling Algorithms Pixelwise MRFsChaos Mosaics Patch segments are pasted, overlapping, across the image. Then either: Ambiguities are removed by smoothing.
Advertisements

Texture. Limitation of pixel based processing Edge detection with different threshold.
Data-driven methods: Texture (Sz 10.5) Cs129 Computational Photography James Hays, Brown, Spring 2011 Many slides from Alexei Efros.
Chapter 3 Image Enhancement in the Spatial Domain.
Multiscale Analysis of Images Gilad Lerman Math 5467 (stealing slides from Gonzalez & Woods, and Efros)
CS 691 Computational Photography
Pyramids and Texture. Scaled representations Big bars and little bars are both interesting Spots and hands vs. stripes and hairs Inefficient to detect.
Chapter 8 Content-Based Image Retrieval. Query By Keyword: Some textual attributes (keywords) should be maintained for each image. The image can be indexed.
Texture. Edge detectors find differences in overall intensity. Average intensity is only simplest difference. many slides from David Jacobs.
Recognition by finding patterns
Announcements Final Exam May 13th, 8 am (not my idea).
Artifact and Textured region Detection - Vishal Bangard.
Templates, Image Pyramids, and Filter Banks Slides largely from Derek Hoeim, Univ. of Illinois.
Uncertainty Representation. Gaussian Distribution variance Standard deviation.
Lecture 6 Image Segmentation
Lecture 6 Color and Texture
Freeman Algorithms and Applications in Computer Vision Lihi Zelnik-Manor Lecture 5: Pyramids.
Image Quilting for Texture Synthesis & Transfer Alexei Efros (UC Berkeley) Bill Freeman (MERL) +=
Texture This isn’t described in Trucco and Verri Parts are described in: – Computer Vision, a Modern Approach by Forsyth and Ponce –“Texture Synthesis.
Image processing. Image operations Operations on an image –Linear filtering –Non-linear filtering –Transformations –Noise removal –Segmentation.
Computer Vision - A Modern Approach
Problem Sets Problem Set 3 –Distributed Tuesday, 3/18. –Due Thursday, 4/3 Problem Set 4 –Distributed Tuesday, 4/1 –Due Tuesday, 4/15. Probably a total.
PSY 5018H: Math Models Hum Behavior, Prof. Paul Schrater, Spring 2005 Making Decisions: Modeling perceptual decisions.
Midterm review: Cameras Pinhole cameras Vanishing points, horizon line Perspective projection equation, weak perspective Lenses Human eye Sample question:
Texture Synthesis on Surfaces Paper by Greg Turk Presentation by Jon Super.
TEXTURE SYNTHESIS PEI YEAN LEE. What is texture? Images containing repeating patterns Local & stationary.
Announcements For future problems sets: matlab code by 11am, due date (same as deadline to hand in hardcopy). Today’s reading: Chapter 9, except.
PSY 5018H: Math Models Hum Behavior, Prof. Paul Schrater, Spring 2005 Decision Theory II.
Texture Reading: Chapter 9 (skip 9.4) Key issue: How do we represent texture? Topics: –Texture segmentation –Texture-based matching –Texture synthesis.
Texture Readings: Ch 7: all of it plus Carson paper
2D Fourier Theory for Image Analysis Mani Thomas CISC 489/689.
Computer Vision - A Modern Approach Set: Pyramids and Texture Slides by D.A. Forsyth Scaled representations Big bars (resp. spots, hands, etc.) and little.
4 – Image Pyramids. Admin stuff Change of office hours on Wed 4 th April – Mon 31 st March pm (right after class) Change of time/date of last.
EE565 Advanced Image Processing Copyright Xin Li Statistical Modeling of Natural Images in the Wavelet Space Parametric models of wavelet coefficients.
Mr. Dupont is a professional wine taster. When given a French wine, he will identify it with probability 0.9 correctly as French, and will mistake it.
Image Pyramids and Blending
(1) A probability model respecting those covariance observations: Gaussian Maximum entropy probability distribution for a given covariance observation.
Image Processing David Kauchak cs458 Fall 2012 Empirical Evaluation of Dissimilarity Measures for Color and Texture Jan Puzicha, Joachim M. Buhmann, Yossi.
Linear Algebra and Image Processing
Image Representation Gaussian pyramids Laplacian Pyramids
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5409 T-R 10:30am – 11:50am.
Texture Synthesis by Non-parametric Sampling Alexei Efros and Thomas Leung UC Berkeley.
Applications of Image Filters Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 02/04/10.
Templates, Image Pyramids, and Filter Banks Computer Vision Derek Hoiem, University of Illinois 01/31/12.
CAP5415: Computer Vision Lecture 4: Image Pyramids, Image Statistics, Denoising Fall 2006.
INDEPENDENT COMPONENT ANALYSIS OF TEXTURES based on the article R.Manduchi, J. Portilla, ICA of Textures, The Proc. of the 7 th IEEE Int. Conf. On Comp.
EECS 274 Computer Vision Pyramid and Texture. Filter, pyramid and texture Frequency domain Fourier transform Gaussian pyramid Wavelets Texture Reading:
Chapter 21 R(x) Algorithm a) Anomaly Detection b) Matched Filter.
Image Processing Xuejin Chen Ref:
03/05/03© 2003 University of Wisconsin Last Time Tone Reproduction If you don’t use perceptual info, some people call it contrast reduction.
Optimal Bayes Classification
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm.
Computer Vision Lecture #10 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department, Ain Shams University, Cairo, Egypt 2 Electerical.
Templates, Image Pyramids, and Filter Banks
2D Texture Synthesis Instructor: Yizhou Yu. Texture synthesis Goal: increase texture resolution yet keep local texture variation.
Texture Synthesis by Image Quilting CS766 Class Project Fall 2004 Eric Robinson.
Representation in Vision Derek Hoiem CS 598, Spring 2009 Jan 22, 2009.
Texture Analysis and Synthesis. Texture Texture: pattern that “looks the same” at all locationsTexture: pattern that “looks the same” at all locations.
Recall: Gaussian smoothing/sampling G 1/4 G 1/8 Gaussian 1/2 Solution: filter the image, then subsample Filter size should double for each ½ size reduction.
Linear Filters and Edges Chapters 7 and 8
- photometric aspects of image formation gray level images
Linear Filters and Edges Chapters 7 and 8
Outline Texture modeling - continued Filtering-based approaches.
Texture Synthesis by Non-parametric Sampling
Multiscale Analysis of Images
Outline S. C. Zhu, X. Liu, and Y. Wu, “Exploring Texture Ensembles by Efficient Markov Chain Monte Carlo”, IEEE Transactions On Pattern Analysis And Machine.
Gaussian Pyramid and Texture
Texture.
Josh H. McDermott, Eero P. Simoncelli  Neuron 
Volume 21, Issue 19, Pages (October 2011)
Presentation transcript:

Texture Key issue: representing texture –Texture based matching little is known –Texture segmentation key issue: representing texture –Texture synthesis useful; also gives some insight into quality of representation –Shape from texture cover superficially

Representing textures Textures are made up of quite stylised subelements, repeated in meaningful ways Representation: –find the subelements, and represent their statistics But what are the subelements, and how do we find them? –recall normalized correlation –find subelements by applying filters, looking at the magnitude of the response What filters? –experience suggests spots and oriented bars at a variety of different scales –details probably don’t matter What statistics? –within reason, the more the merrier. –At least, mean and standard deviation –better, various conditional histograms.

Gabor filters at different scales and spatial frequencies top row shows anti-symmetric (or odd) filters, bottom row the symmetric (or even) filters.

The Laplacian Pyramid Synthesis –preserve difference between upsampled Gaussian pyramid level and Gaussian pyramid level –band pass filter - each level represents spatial frequencies (largely) unrepresented at other levels Analysis –reconstruct Gaussian pyramid, take top layer

Oriented pyramids Laplacian pyramid is orientation independent Apply an oriented filter to determine orientations at each layer –by clever filter design, we can simplify synthesis –this represents image information at a particular scale and orientation

Steerable Pyramids

Reprinted from “Shiftable MultiScale Transforms,” by Simoncelli et al., IEEE Transactions on Information Theory, 1992, copyright 1992, IEEE

Analysis

synthesis

Final texture representation Form an oriented pyramid (or equivalent set of responses to filters at different scales and orientations). Square the output Take statistics of squared responses –e.g. mean of each filter output (are there lots of spots) –std of each filter output –Histogram of responses –mean of one scale conditioned on other scale having a particular range of values (e.g. are the spots in straight rows?)

Texture synthesis Use image as a source of probability model Choose pixel values by matching neighbourhood, then filling in Matching process – look at pixel differences –count only synthesized pixels

Figure from Texture Synthesis by Non-parametric Sampling, A. Efros and T.K. Leung, Proc. Int. Conf. Computer Vision, 1999 copyright 1999, IEEE

RGB to Lab color space [ X ] [ ] [ R ] [ Y ] = [ ] * [ G ] [ Z ] [ ] [ B ]. CIE 1976 L*a*b* is based directly on CIE XYZ and is an attampt to linearize the perceptibility of color differences. The non-linear relations for L*, a*, and b* are intended to mimic the logarithmic response of the eye. Coloring information is referred to the color of the white point of the system, subscript n. L * = 116 * (Y/Yn) 1/ for Y/Yn > L * = * Y/Yn otherwise a * = 500 * ( f(X/Xn) - f(Y/Yn) ) b * = 200 * ( f(Y/Yn) - f(Z/Zn) ) where f(t) = t 1/3 for t > f(t) = * t + 16/116 otherwise

Compression

Mr. Dupont is a professional wine taster. When given a French wine, he will identify it with probability 0.9 correctly as French, and will mistake it for a Californian wine with probability 0.1. When given a Californian wine, he will identify it with probability 0.8 correctly as Californian, and will mistake it for a French wine with probability 0.2. Suppose that Mr. Dupont is given ten unlabelled glasses of wine, three with French and seven with Californian wines. He randomly picks a glass, tries the wine, and solemnly says: "French". What is the probability that the wine he tasted was Californian?

Mr. Dupont is a professional wine taster. When given a French wine, he will identify it with probability 0.9 correctly as French, and will mistake it for a Californian wine with probability 0.1. When given a Californian wine, he will identify it with probability 0.8 correctly as Californian, and will mistake it for a French wine with probability 0.2. Suppose that Mr. Dupont is given ten unlabelled glasses of wine, three with French and seven with Californian wines. He randomly picks a glass, tries the wine, and solemnly says: "French". What is the probability that the wine he tasted was Californian? P(C|Rf) = P(Rf|C) p( C )/P(Rf) = 0.1*0.7/  w P(Rf |w)p(w) = 0.1*0.7/(0.9* *0.7) = 0.21 = 0.1*0.7/0.34 = Rf Rc FCFC P(F) = 0.3; P(C) = 0.7;

“You must choose, but Choose Wisely” Given only probabilities, can we minimize the number of errors we make? Given: responses R i, categories C i, current category c, data x To Minimize error: –Decide R i if P(C i | x) > P(C k | x) for all i≠k P( x | C i ) P(C i ) > P(x | C k ) P(C k ) P( x | C i )/ P(x | C k ) > P(C k ) / P(C i ) P( x | C i )/ P(x | C k ) > T Optimal classifications always involve hard boundaries

Horse Segmentation

P(red|horse) P(red|background) P(horse) = 0.04 P(background) = 0.96

Now evaluate