Professional Documents
Culture Documents
16 × 12 Bayer RGB
color image, including
192 pixels (96 green,
48 red, and 48 blue).
Figure 2.3: A 16 × 12
Bayer RGB color pattern
Figure 2.4:
A 16 × 12 RGB color
space; each pixel has three
numbers for R, G, and B
The black (K) in the CMYK color space is the minimum of the C,
M, and Y.
(* sources: http://www.songho.ca/dsp/convolution/convolution.html)
Friday, March 22, 2019
Chapter 2 : Introduction to
Digital Image Processing
2.7.1. Linear space-invariant 2-D system
- A signal can be decomposed into a sum of scaled and shifted
impulse (delta) functions:
(Note that the matrices are referenced here as [column, row], not [row,
column])
- The output of linear and time invariant system can be written
by convolution of input signal x[m, n], and impulse response,
h[m, n]:
- Note that the matrices are referenced here as [column, row], not [row,
column]. M is horizontal (column) direction and N is vertical (row)
direction
Friday, March 22, 2019
Chapter 2 : Introduction to
Digital Image Processing
2.7.1. Linear space-invariant 2-D system
fft2R = fft2(double(RGB(:,:,1)));
[imHeight imWidth] = size(fft2R);
fft2Filt = fft2(coeff, imHeight, imWidth);
fft2FiltR = fft2Filt .* fft2R;
newRGB(:,:,1) = uint8(ifft2(fft2FiltR));
Figure 2.14 Results of 2-D image filtering using fast convolution: (a) the
result using delta kernel; ((b) the result using edge filter kernel; (c) the result
using motion filter kernel; and (d) the result using Gaussian filter kernel
where: