independent component analysis of textures based on the article r.manduchi, j. portilla, ica of...

14
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. Vision, 1999 Ramūnas Girdziušas, 30.11.2000

Upload: jeffrey-welch

Post on 12-Jan-2016

217 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: 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

INDEPENDENT COMPONENT

ANALYSIS OF

TEXTURES

based on the articleR.Manduchi, J. Portilla, ICA of Textures, The Proc. of the 7th IEEE Int. Conf. On

Comp. Vision, 1999

Ramūnas Girdziušas, 30.11.2000

Page 2: 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

Outline

Step-1 Markov Random Fields as texture models

Step-2Combining MRF with steerable pyramids

Step-3 Optimizing representation by ICA

M APIm age C lass m apY i L i

FilteringIm age C lass m ap

M APY i

Z ikL i

Filtering

C lass m ap

IC A M AP

Im age Z ik Z'ik

Page 3: 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

Introduction

What is texture? [Pickett,1970]: ”...large number of elements, each in some degree visible, and, on the whole densely and evenly (possibly randomly) arranged over the field of view such that there is a distinct spatial repetitiveness in the pattern.”[Cross and Jain,1983]: ”...stochastic, possibly periodic, two-dimensional image field.”

Main tasksRestoration, Segmentation, Classification, Synthesis

ToolsRandom Fields Co-occurrence matricesReaction-diffusion equations Mosaic models Fractal parameters Subband decompositionsHigher order statistics

We focus onthe classification of image textures using MRF modeling of steerable pyramid image representations filtered by ICA.

Page 4: 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

Step-1: Markov Random Field modeling of texture

- Systematic approach based on sound principles.- Modeling of image through local interaction of pixels.

Texture classification (MAP)Problem: given an image consisting of more than one texture, determine whether the particular pixel comes from the l-th texture .

MAP classifierAccording to the Bayes’ Theorem:

MAP: Find L that maximizes .

)(

)()|()|(

Y

LLYYL

p

ppp

)|( YLp

Page 5: 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

The 1st assumption:

The 2nd assumptionL is a locally dependent Markov Random Field (MRF) with pdf p(L):

i

iii LYpLYp )|()|(

L2 L3

L9

L8

L1

L7

L4

L5

L6

Y2 Y3

Y9

Y8

Y1

Y7

Y4

Y5

Y6

Y2 Y3

Y9

Y8

Y1

Y7

Y4

Y5

Y6

L2 L3

L9

L8

L1

L7

L4

L5

L6

Yi - im age p ixe l Li - labe l o f the p ixe l sta tis tica l dependence

L2 L3

L9

L8

L1

L7

L4

L5

L6

Y2 Y3

Y9

Y8

Y1

Y7

Y4

Y5

Y6

L2 L3

L9

L8

L1

L7

L4

L5

L6

Y2 Y3

Y9

Y8

Y1

Y7

Y4

Y5

Y6

F irst o rder M arkovian ity

)|()|( }{ iiiiSi NLLpLLp

Page 6: 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

The Iterated Conditional Modes (ICM) algorithm (J. Besag, 1983)

- Fast alternative to MAP. - Local deterministic relaxation.

AlgorithmInitialize labeling L according to ML decision.For every epoch k,For every image pixel i,

1. Choose label L(i) that maximizes :

2. Repeat step 1 until no label changes occur.

Pros and cons of ICM

- avoids the large scale deficiencies;- easily stucks in a local minima.

)(

),|()|(),,|(

i

iriiiirii p

NrLLpLpNrLLp

Y

YY

),|( }{ iSi LLp Y

)|(),|()|( }{}{ YYYL iSiSi LpLLpp

M AP ICM

Page 7: 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

Step2: Combining MRF modeling with multiresolution approachesWhy?-MRF is only suitable for micro-texture.-Biological relevance ?-Invariance properties?-High computational complexity. -Robustness to noise ? What kind of feature spaces to consider?-Invariance to slow-varying bias.-Energy separation while preserving locality.-Steerability (Shiftability).

Steerability [Teo, 1998]A function f(x,y) is steerable under Lie group Gif any transformation of f can be written asas a linear combination of a fixed, finite set of basisfunctions :

Gg )(

)},({ yxi

y)Φ(x,aT

n

iii yxayxfg

1),()(),()(

Page 8: 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

Steerable pyramids

- Introduced to remove some deficiencies of wavelets- The code in Matlab and C is available on the web

The Steerable Pyramid is a linear, non-orthogonal, overcomplete, self – inverting, multi-scale, multi-orientation image decomposition.

Why is it useful?- The power contained within a subband is invariant under translation of the signal.- At the same scale and position the power in each orientation subband is rotation invariant.

Page 9: 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

Example: three scales and two orientations

H0(-w )

L0(-w ) B0(-w )

B1(-w )

H1(-w ) D2 B0(-w )

B1(-w )

H1(-w ) 2D

wy

wx

H 0

B 00

B 01

B 00

B 01

L1B 10 B 10

B 11

B 11

256x256

64x64

128x128

256x256

256x256

256x256

128x128

Page 10: 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

Step-3: Selection of the ”optimal” basis

Motivation- Texture is characterized by joint feature pdf.- Typical filter based algorithms do not estimate joint description, marginal statistics are used.- Does a marginal set represent joint pdf well?

Approach-Find the basis of a given filter space which generates the most informative marginals for a given texture in a sense that the product of marginal densities most closely approximates the joint pdf

)|()|( lzplzp ii

i

Filtering

C lass m ap

IC A M AP

Im age Z ik Z'ik

Page 11: 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

The algorithm

-TrainingFor each texture l,Filter texture with a fixed filter bankDemix filter outputs by using ICACompute the channel histograms

-ClassificationApply the fixed filter bank to the test imageFor texture model l,

Multiply the filter output vectors by the model ICA matrix W and from channel histograms obtain marginal likelihoods . Compute the conditional likelihoods . Use ICM to obtain pixel labels from .

)|( lzp ii

)|( lzp

)|( lzp ii

l )|( lzp

Page 12: 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

Few words about texture synthesis

Problem: generate an image that matches the appearance of a given texture sample

Histogram matching

Texture synthesis algorithm

0

255

1

1

25

5

N o ise Im agecdf

Texture Im agecdf

H M

N oise Im age

Texture

N oise Im agem ore like texture

H M S P a W3x

H MS P s

S P a W

N oise Im age

Texture

E stim ated by using IC A

F ixed

S ynthesizedtexture

Page 13: 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

Conclusions

-Texture classification can be performed pixelwise using MAP classifier:

- conditional independence together with Markov property attacks MAP computational problem;- ICM is fast deterministic approximate MAP.

- It is better to consider MRF under different scales, for ex. by decomposing an image using SP. - Classification results can be improved by making features as independent as possible.- More textures can be synthesized using shifted versions of filters and then performing ICA.

- In general, ICA application in texture analysis makes sense:

-Textures are non-gaussian intensity processes-Wavelet representations are non-gaussian too.

-In particular,...

Page 14: 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

Is the most informative likelihood the desired criterion of optimality?

Ex. [Randen,1997]:

PCA: ->0.01%.

MOT: -> 67%.

More to readSimilar ideas without ICA:D. Heeger, J. Bergen, Pyramid based texture analysis/synthesis, Proc. SIGGRAPH, August 1995.

Representation vs. separation:T. Randen, Filter and filter bank design for image texture recognition, PhD.Thesis, 1997.

Naive Bayes can be optimal even when anindependence is violated:Domingos P., Pazzani, M., Beyond Independence: Conditions for the Optimality of the Simple Bayesian Classifier, Proc. ICML, 1996. http://www.cs.washington.edu/homes/pedrod/

Everything about the steerable pyramids: http://www.cis.upenn.edu/~eero/steerpyr.html

0015.100005.102.01.0

1010)01.(0)9.(0

2.01.02.01.0

101010