Professional Documents
Culture Documents
Muzhir Al-Ani
The field of image processing is very
advanced now a days because of the
famous using and wide applications,
such as civil, medical and military and
there are wide applications based on
the internet.
0
1 2
3
4
5
7 6
9 8
RAM
x(n1,n2)
y(n1,n2)
h(n1,n2) convolution
multiplication IFFT
FFT
h(n1,n2) H(n1,n2)
Set of 9 S.R.
FIFO of
Output
ACC.
256 byte
Image
FIFO of
256 byte
Control Clock
Prof. Dr. Muzhir Al-Ani
Prof. Dr. Muzhir Al-Ani
if h[m, n] is separable to (M×1) and (1×N);
Ouput
Prof. Dr. Muzhir Al-Ani
Notice that the origin of impulse response is always
centered. (h[0,0] is located at the center sample of kernel,
not the first element.)
Let's start calculate each sample of the output one by one.
First, flip the kernel, which is the shaded box, in both
horizontal and vertical direction. Then, move it over the
input array. If the kernel is centered (aligned) exactly at the
sample that we are interested in, multiply the kernel data by
the overlapped input data.
The accumulation (adding these 9 multiplications) is the last
thing to do to find out the output value.
Note that the matrices are referenced here as [column, row],
not [row, column]. M is horizontal (column) direction and N
is vertical (row) direction.
Prof. Dr. Muzhir Al-Ani
Prof. Dr. Muzhir Al-Ani
Prof. Dr. Muzhir Al-Ani
Prof. Dr. Muzhir Al-Ani
Prof. Dr. Muzhir Al-Ani
Prof. Dr. Muzhir Al-Ani
Prof. Dr. Muzhir Al-Ani
Prof. Dr. Muzhir Al-Ani
Prof. Dr. Muzhir Al-Ani
Prof. Dr. Muzhir Al-Ani