Académique Documents
Professionnel Documents
Culture Documents
Green Imager
White Light
Red Imager
ON ON Charge O
N
Pixel-select Switch (e)
Column-select Switch
(g) Column Row Signal Wire (i)
Circuit (h) (Micro Wire)
ON
Output
CMOS
The imaging logic is integrated on a CMOS
chip, where a CCD is a modular imager
that can be replaced.
Because of this, design of a new CMOS
chip is more expensive.
However, APSs are transistor-based,
which means that CMOS chips can be
cheaply manufactured on any standard
silicon production line.
Pros and Cons
CCD CMOS
Capacitor->charge Transistor->voltage
• Alternatives to imshow
imagesc(I)
imtool(I)
image(I)
Images and Matrices
[0, 0]
How to build a matrix
(or image)? o
Intensity Image:
Row 1 to 256
row = 256;
col = 256;
img = zeros(row, col);
img(100:105, :) = 0.5;
img(:, 100:105) = 1;
figure;
o
imshow(img);
Column 1 to 256
[256, 256]
Matlab Image Display
image - create and display image
object
imagesc - scale and display as image
23
Transforms
Fourier and inverse Fourier transform:
impixel returns the data value for a selected set of pixels. The
set can be pointed by the mouse or by coordinates.
25
Edge detection:
edge(I,’sobel’);
edge(I,’canny’);
Or by fspecial(‘sobel’) and conv2.
Image Enhancement:
Histogram stretching:
imadjust(I,[low high],[bottom top]);
Gamma correction:
imadjust(I,[],[],gamma_coef);
Histogram Equalization
histeq(I)
26
Noise removal
To add noise to an image:
Median filtering:
F=medfilt(J,[3 3]);
27
Morphological Operations
Dilation : imdilate()
Erosion: imerode()
Closing: imclose()
Opening: imopen()
28