Digital Photography
x1 x2
Digital Video
x2
x1
x (time)
2-D Signals
Basic Operations
Operations in Matlab
xn1 = [1 0 3 2 -1 0 0 0 0 0];
xn2 = [1 3 -1 1 0 0 1 2 0 0];
yn = xn1 + xn2;
Linear
LTI System
Two ways
As the representation of the output as a sum of delayed and scaled impulse responses. As a computational formula for computing y[n] (y at time n) from the entire sequences x and h.
Form x[k]h[n-k] for -<k<+ for a fixed n Sum over all k to produce y[n]
k=
x[k ] h[n k ]
y[n] = 2 3 3 3 6 0 1 0 0
Example..(Continued)
Stability
Causality
Properties of Convolution
Difference Equation
For all computationally realizable LTI systems, the input and output satisfy a difference equation of the form
which can be used to compute the present output from the present and M past values of the input and N past values of the output
First-Order Example
Consider the difference equation We can represent this system by the following block diagram:
y[n] =ay[n1] +x[n]
Digital Filter
Y = FILTER(B,A,X) filters the data in vector X with the filter described by vectors A and B to create the filtered data Y. The filter is a "Direct Form II Transposed" implementation of the standard difference equation: a(1)*y(n) = b(1)*x(n) + b(2)*x(n-1) + ... + b(nb+1)*x(n-nb) - a(2)*y(n-1) - ... - a(na+1)*y(n-na) [Y,Zf] = FILTER(B,A,X,Zi) gives access to initial and final conditions, Zi and Zf, of the delays.
LTI summary