Docsity

Pattern Recognition 1 - 4 Problems - Multimedia Information System | EE 639, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
EE 639: Multimedia Information System
Pattern Recognition I
Homework 4 Due 11/1/2004
1. Read any one of the following papers from the ACM Multimedia 2004 conference and write a review
on it. You should follow the format from the first three parts of the technical paper review form
for the IEEE Transactions. A copy of it can be found in http://www.vis.uky.edu/˜cheung/courses/
ee639/homeworks/review.html. In your “Detailed Comment” section, you should summarize the major
contributions of the paper, state the strengths and weaknesses of the paper, and evaluate the research
and societal impact. Here are the papers and their links in the course website:
•Privacy Protecting Data Collection in Media Spaces (homeworks/p48.pdf)
•Multi-level annotation of natural scenes using Dominant Image Components and Semantic Con-
cepts (homeworks/p540.pdf)
•Family Ensemble: A Collaborative Musical Edutainment System for Children and Parents (home-
works/p556.pdf)
•Passive Capture and Ensuing Issues for a Personal Lifetime Store (homeworks/d48.pdf)
2. Many standard software packages such as Matlab allow you to generate samples from a univariate
gaussian distribution. We can concatenate these samples into a vector and thereby obtain samples
from a multivariate gaussian distribution with diagonal covariance matrix. But how do we obtain
samples from a multivariate gaussian distribution with arbitrary covariance matrix Σ? Submit a
working matlab script and demonstrate your solution by generating 100 samples from a bivariate
Gaussian distribution with non-diagonal covariance matrix.
3. Let x, y be d-dimensional vectors and Abe a d×dmatrix. Prove the followings:
(a) ∂
∂x xTy=yT
(b) ∂
∂x xTAx =xTA+xTAT
(c) ∂
∂A xTAx =xxT(Hint: first show that trace(AB C) = trace(C AB) = trace(B CA).)
(d) ∂
∂A log |A|=A−1
4. In this exercise, you will build a background subtraction model using a Gaussian mixture model. The
basic concept is as follows: assume there is no foreground object in the scene during the training phase.
A GMM background distribution model is constructed at each pixel location (x, y) :
f(x,y)(p) =
M
X
i=1
α·gi
(x,y)(p) (1)
where gi
(x,y)(p) is a gaussian distribution. The advantage of using a GMM model is that it can model
non-stationary background such as swinging leaves or changing billboard. In the monitoring phase, the
system monitors each new video frame Iand declares I(x, y) as a foreground pixel if its probability of
belonging to the background distribution at (x, y) is smaller than a certain threshold Γ.
Download the following training sequence (homeworks/data/traffic train.zip) and build a GMM model
with three components for each pixel location. Then, test your algorithm on a test frame and compare
1
pf2

Partial preview of the text

Download Pattern Recognition 1 - 4 Problems - Multimedia Information System | EE 639 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

EE 639: Multimedia Information System

Pattern Recognition I

Homework 4 Due 11/1/

  1. Read any one of the following papers from the ACM Multimedia 2004 conference and write a review on it. You should follow the format from the first three parts of the technical paper review form for the IEEE Transactions. A copy of it can be found in http://www.vis.uky.edu/˜cheung/courses/ ee639/homeworks/review.html. In your “Detailed Comment” section, you should summarize the major contributions of the paper, state the strengths and weaknesses of the paper, and evaluate the research and societal impact. Here are the papers and their links in the course website: - Privacy Protecting Data Collection in Media Spaces (homeworks/p48.pdf) - Multi-level annotation of natural scenes using Dominant Image Components and Semantic Con- cepts (homeworks/p540.pdf) - Family Ensemble: A Collaborative Musical Edutainment System for Children and Parents (home- works/p556.pdf) - Passive Capture and Ensuing Issues for a Personal Lifetime Store (homeworks/d48.pdf)
  2. Many standard software packages such as Matlab allow you to generate samples from a univariate gaussian distribution. We can concatenate these samples into a vector and thereby obtain samples from a multivariate gaussian distribution with diagonal covariance matrix. But how do we obtain samples from a multivariate gaussian distribution with arbitrary covariance matrix Σ? Submit a working matlab script and demonstrate your solution by generating 100 samples from a bivariate Gaussian distribution with non-diagonal covariance matrix.
  3. Let x, y be d-dimensional vectors and A be a d × d matrix. Prove the followings:

(a) (^) ∂x∂ xT^ y = yT (b) (^) ∂x∂ xT^ Ax = xT^ A + xT^ AT (c) (^) ∂A∂ xT^ Ax = xxT^ (Hint: first show that trace(ABC) = trace(CAB) = trace(BCA).) (d) (^) ∂A∂ log |A| = A−^1

  1. In this exercise, you will build a background subtraction model using a Gaussian mixture model. The basic concept is as follows: assume there is no foreground object in the scene during the training phase. A GMM background distribution model is constructed at each pixel location (x, y) :

f(x,y)(p) =

∑^ M

i=

α · gi (x,y)(p) (1)

where gi (x,y)(p) is a gaussian distribution. The advantage of using a GMM model is that it can model non-stationary background such as swinging leaves or changing billboard. In the monitoring phase, the system monitors each new video frame I and declares I(x, y) as a foreground pixel if its probability of belonging to the background distribution at (x, y) is smaller than a certain threshold Γ. Download the following training sequence (homeworks/data/traffic train.zip) and build a GMM model with three components for each pixel location. Then, test your algorithm on a test frame and compare

2 Pattern Recognition I

your results with the ground-truth. Both the test frame and its ground-truth is stored in home- works/data/traffic test.zip. In the ground-truth frame, a non-zero pixel value indicates a foreground pixel. Submit all your matlab files as well as a precision-recall plot by changing the value of Γ.