Texture This isn’t described in Trucco and Verri Parts are described in: – Computer Vision, a Modern Approach by Forsyth and Ponce –“Texture Synthesis.

Slides:



Advertisements
Similar presentations
Kompresja danych... accept the convention that the word "compression" be encoded as "comp".... ZIP file format... both the sender and receiver of the information.
Advertisements

Language Models & Smoothing Shallow Processing Techniques for NLP Ling570 October 19, 2011.
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.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 4 – Digital Image Representation Klara Nahrstedt Spring 2009.
November 12, 2013Computer Vision Lecture 12: Texture 1Signature Another popular method of representing shape is called the signature. In order to compute.
LIN3022 Natural Language Processing Lecture 4 Albert Gatt LIN Natural Language Processing.
Pyramids and Texture. Scaled representations Big bars and little bars are both interesting Spots and hands vs. stripes and hairs Inefficient to detect.
Computer Vision Lecture 16: Texture
Texture. Edge detectors find differences in overall intensity. Average intensity is only simplest difference. many slides from David Jacobs.
Lecture 4 Linear Filters and Convolution
Image Filtering CS485/685 Computer Vision Prof. George Bebis.
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:
Image Quilting for Texture Synthesis & Transfer Alexei Efros (UC Berkeley) Bill Freeman (MERL) +=
Image processing. Image operations Operations on an image –Linear filtering –Non-linear filtering –Transformations –Noise removal –Segmentation.
Announcements Big mistake on hint in problem 1 (I’m very sorry).
Texture Turk, 91.
Image Quilting for Texture Synthesis and Transfer Alexei A. Efros1,2 William T. Freeman2.
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:
Computer Vision - A Modern Approach
Computer Vision Introduction to Image formats, reading and writing images, and image environments Image filtering.
Announcements Problem Set 2 distributed. –Due March 10 weeks. –Has been shortened, due to snow. –Tour of skeleton code. #include Problem Set 1, accepted.
Announcements For future problems sets: matlab code by 11am, due date (same as deadline to hand in hardcopy). Today’s reading: Chapter 9, except.
Texture Reading: Chapter 9 (skip 9.4) Key issue: How do we represent texture? Topics: –Texture segmentation –Texture-based matching –Texture synthesis.
February 3, 2010Harvard QR481 Coding and Entropy.
Image Enhancement.
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.
Matlab Tutorial Continued Files, functions and images.
Announcements Send to the TA for the mailing list For problem set 1: turn in written answers to problems 2 and 3. Everything.
Linear Filtering About modifying pixels based on neighborhood. Local methods simplest. Linear means linear combination of neighbors. Linear methods simplest.
Image Processing David Kauchak cs458 Fall 2012 Empirical Evaluation of Dissimilarity Measures for Color and Texture Jan Puzicha, Joachim M. Buhmann, Yossi.
LIN3022 Natural Language Processing Lecture 5 Albert Gatt LIN Natural Language Processing.
Decision Trees and Information: A Question of Bits Great Theoretical Ideas In Computer Science Steven Rudich, Anupam GuptaCS Spring 2004 Lecture.
Formal Models of Language. Slide 1 Language Models A language model an abstract representation of a (natural) language phenomenon. an approximation to.
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.
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.
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.
Texture scale and image segmentation using wavelet filters Stability of the features Through the study of stability of the eigenvectors and the eigenvalues.
Introduction to Information Theory Lecture 7I400/I590 Artificial Life as an approach to Artificial Intelligence Larry Yaeger Professor of Informatics,
Course 9 Texture. Definition: Texture is repeating patterns of local variations in image intensity, which is too fine to be distinguished. Texture evokes.
Texture Key issue: representing texture –Texture based matching little is known –Texture segmentation key issue: representing texture –Texture synthesis.
Information Theory Ying Nian Wu UCLA Department of Statistics July 9, 2007 IPAM Summer School.
Digital Image Processing Lecture 10: Image Restoration March 28, 2005 Prof. Charlene Tsai.
Chapter 5: Neighborhood Processing
N-gram Models CMSC Artificial Intelligence February 24, 2005.
Digital Image Processing Lecture 10: Image Restoration
2D Texture Synthesis Instructor: Yizhou Yu. Texture synthesis Goal: increase texture resolution yet keep local texture variation.
MIT AI Lab / LIDS Laboatory for Information and Decision Systems & Artificial Intelligence Laboratory Massachusetts Institute of Technology A Unified Multiresolution.
October 1, 2013Computer Vision Lecture 9: From Edges to Contours 1 Canny Edge Detector However, usually there will still be noise in the array E[i, j],
A Statistical Approach to Texture Classification Nicholas Chan Heather Dunlop Project Dec. 14, 2005.
Decision Trees and Information: A Question of Bits Great Theoretical Ideas In Computer Science Anupam GuptaCS Fall 2005 Lecture 24Nov 17, 2005Carnegie.
Texture Synthesis by Image Quilting CS766 Class Project Fall 2004 Eric Robinson.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
Learning, Uncertainty, and Information: Evaluating Models Big Ideas November 12, 2004.
Texture Analysis and Synthesis. Texture Texture: pattern that “looks the same” at all locationsTexture: pattern that “looks the same” at all locations.
Linear Filters and Edges Chapters 7 and 8
Decision Trees and Information: A Question of Bits
Linear Filters and Edges Chapters 7 and 8
Linear Filters and Edges Chapters 7 and 8
Texture Synthesis by Non-parametric Sampling
Communication Amid Uncertainty
Computer Vision Lecture 16: Texture II
Texture.
Image Quilting for Texture Synthesis & Transfer
Grouping/Segmentation
Some slides: courtesy of David Jacobs
Presentation transcript:

Texture This isn’t described in Trucco and Verri Parts are described in: – Computer Vision, a Modern Approach by Forsyth and Ponce –“Texture Synthesis by Non-parametric Sampling”, by Efros and Leung, Int. Conf. On Comp. Vis

Texture Edge detectors find differences in overall intensity. Average intensity is only simplest difference.

Issues: 1) Discrimination/Analysis (Freeman)

2) Synthesis

Many more issues 3. Texture boundary detection. 4. Shape from texture. We’ll focus on 1 and 2.

What is texture? Something that repeats with variation. Must separate what repeats and what stays the same. Model as repeated trials of a random process –The probability distribution stays the same. –But each trial is different. –This may be true (eg., pile of objects) –Or not really (tile floor).

Simplest Texture Each pixel independent, identically distributed (iid). Examples: –Region of constant intensity. –Gaussian noise pattern. –Speckled pattern Matlab

Texture Discrimination is then Statistics Two sets of samples. Do they come from the same random process?

Simplest Texture Discrimination Compare histograms. –Divide intensities into discrete ranges. –Count how many pixels in each range

How/why to compare Simplest comparison is SSD, many others. Can view probabilistically. –Histogram is a set of samples from a probability distribution. –With many samples it approximates distribution. –Test probability samples drawn from same distribution. Ie., is difference greater than expected when two samples come from same distribution? Matlab

i j k Chi-square Chi square distance between texton histograms (Malik)

More Complex Discrimination Histogram comparison is very limiting –Every pixel is independent. –Everything happens at a tiny scale. Matlab Use output of filters of different scales.

Example (Forsyth & Ponce)

What are Right Filters? Multi-scale is good, since we don’t know right scale a priori. Easiest to compare with naïve Bayes: Filter image one: (F1, F2, …) Filter image two: (G1, G2, …) S means image one and two have same texture. Approximate: P(F1,G1,F2,G2, …| S) By P(F1,G1|S)*P(F2,G2|S)*…

What are Right Filters? The more independent the better. –In an image, output of one filter should be independent of others. –Because our comparison assumes independence. –Wavelets seem to be best.

Difference of Gaussian Filters

Spots and Oriented Bars (Malik and Perona)

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

Matlab

Gabor filters are examples of Wavelets We know two bases for images: –Pixels are localized in space. –Fourier are localized in frequency. Wavelets are a little of both. Good for measuring frequency locally.

Synthesis with this Representation (Bergen and Heeger)

Markov Model Captures local dependencies. –Each pixel depends on neighborhood. Example, 1D first order model P(p1, p2, …pn) = P(p1)*P(p2|p1)*P(p3|p2,p1)*… = P(p1)*P(p2|p1)*P(p3|p2)*P(p4|p3)*…

Markov model of Printed English From Shannon: “A mathematical theory of communication.” Think of text as a 1D texture Choose next letter at random, based on previous letters.

Zero’th order: XFOML RXKHJFFJUJ ZLPWCFWKCYJ FFJEYVKCQSGHYD QPAAMKBZAACIBZIHJQD

Zero’th order: XFOML RXKHJFFJUJ ZLPWCFWKCYJ FFJEYVKCQSGHYD QPAAMKBZAACIBZIHJQD First order: OCRO HLI RGWR NMIELWIS EU LL NBNESEBYA TH EEI ALHENHTTPA OOBTTVA NAH BRI

First order: OCRO HLI RGWR NMIELWIS EU LL NBNESEBYA TH EEI ALHENHTTPA OOBTTVA NAH BRI Second order ON IE ANTSOUTINYS ARE T INCTORE T BE S DEAMY ACHIN D ILONASIVE TUCOOWE AT TEASONARE FUSO TIZIN ANDY TOBE SEACE CTISBE

Second order ON IE ANTSOUTINYS ARE T INCTORE T BE S DEAMY ACHIN D ILONASIVE TUCOOWE AT TEASONARE FUSO TIZIN ANDY TOBE SEACE CTISBE Third order: IN NO IST LAT WHEY CRATICT FROURE BIRS GROCID PONDENOME OF DEMONSTURES OF THE REPTAGIN IS REGOACTIONA OF CRE.

Zero’th order: XFOML RXKHJFFJUJ ZLPWCFWKCYJ FFJEYVKCQSGHYD QPAAMKBZAACIBZIHJQD First order: OCRO HLI RGWR NMIELWIS EU LL NBNESEBYA TH EEI ALHENHTTPA OOBTTVA NAH BRI Second order ON IE ANTSOUTINYS ARE T INCTORE T BE S DEAMY ACHIN D ILONASIVE TUCOOWE AT TEASONARE FUSO TIZIN ANDY TOBE SEACE CTISBE Third order: IN NO IST LAT WHEY CRATICT FROURE BIRS GROCID PONDENOME OF DEMONSTURES OF THE REPTAGIN IS REGOACTIONA OF CRE.

Markov models of words First order: REPRESENTING AND SPEEDILY IS AN GOOD APT OR COME CAN DIFFERENT NATURAL HERE HE THE A IN CAME THE TO OF TO EXPERT GRAY COME TO FURNISHES THE LINE MESSAGE HAD BE THESE. Second order: THE HEAD AND IN FRONTAL ATTACK ON AN ENGLISH WRITER THAT THE CHARACTER OF THIS POINT IS THEREFORE ANOTHER METHOD FOR THE LETTERS THAT THE TIME OF WHO EVER TOLD THE PROBLEM FOR AN UNEXPECTED.

Example 1 st Order Markov Model Each pixel is like neighbor to left + noise with some probability. Matlab These capture a much wider range of phenomena. –Think about two images with identical histograms created with imresize.

There are dependencies in Filter Outputs Edge –Filter responds at one scale, often does at other scales. –Filter responds at one orientation, often doesn’t at orthogonal orientation. Synthesis using wavelets and Markov model for dependencies: –DeBonet and Viola –Portilla and Simoncelli

We can do this without filters Each pixel depends on neighbors. 1.As you synthesize, look at neighbors. 2.Look for similar neighborhood in sample texture. 3.Copy pixel from that neighborhood. 4.Continue.

This is like copying, but not just repetition Photo Pattern Repeated

With Blocks

Conclusions Model texture as generated from random process. Discriminate by seeing whether statistics of two processes seem the same. Synthesize by generating image with same statistics.

To Think About 3D effects –Shape: Tiger’s appearance depends on its shape. –Lighting: Bark looks different with light angle Given pictures of many chairs, can we generate a new chair?