A system is linear if it is homogeneous and
additive.
T[ a x(n1,
n2) ] = a T[ x(n1, n2)
] for all a
T[ x1(n1,
n2) + x2(n1, n2)
] = T[ x1(n1, n2) ] + T[
x2(n1, n2) ]
Shortcut for
testing whether or not a system is linear:
What about the following systems? Input is x(n1, n2),
and output is y(n1, n2).
A system is shift-invariant if a shift in
the spatial index results in the same shift on the output, for all possible
shifts. For a discrete-time signal, the
index is integer-valued.
Shift
Invariance: T[ x(n1
-
m1, n2 - m2)
] = T[ x(n1, n2) ] |
n1=
n1 - m1, n2 =
n2 - m2
2-D
Linear Shift-Invariant (LSI) Sequences
1.
Mathematics are
tractable and rich.
2.
LSI systems are uniquely
represented by their 2-D impulse response.
3.
Linear transforms.
Complex exponentials are eigenfunctions LSI systems, and Laplace and z
transforms are based on complex exponential kernels.
4.
Additive
decompositions are useful.
Superpositions are not quite as useful for images,
e.g. occlusion of objects in a scene.
·
An arbitrary 2-D
sequence can be decomposed into a linear combination of shifted impulses.
·
Applying a linear
shift-invariant system T that operates on spatial indices (n1,
n2) to the
input signal x(n1,
n2)
Applying addivity,
Applying
homogeneity with respect to (n1, n2),
The
term h(n1, n2) = T[d(n1,
n2) ] is the impulse response of the system.
A
linear shift-invariant system is uniquely characterized by its impulse
response.
Substituting
h(n1, n2), we obtain the
two-dimensional linear convolution formula:
·
Two-dimensional linear
convolution denoted with two asterisks:
Ø
Conceptually: same as 1-D
Ø Mechanically: a lot more work
![]() |
![]() |
||
Shape of output sequence can assume one of five different forms
depending on value of (n1,n2).
Case #1
Case
#2
Case
#3
Case
#4
Case #5
Validate your answer by checking the value of at the endpoints
of each interval
Note thatis separable.
1.
2.
3.
A
system is separable if its impulse response is separable sequence.
Separable
systems can be implemented faster than non-separable ones by using more memory
to store intermediate computations.
2MN to
compute the separable convolution in the two dimensions
(M+N-1)2
to multiply out the separable result