Image Processing - Filter with Matrix Image Processing - Filter with Matrix
By Keiji Ikuta(Feb. 24, 2004)
 H > P > this page: bottom (Group)
Overview
The filter with matrix is a technique to process image based on mathematical calculation.
The basic procedure is as follows:

Overview
Results
Original image.
Original
Smoothed
Smoothed Matrix={1,1,1, 1,1,1, 1,1,1}, n=9
Enedged
Enedged Matrix={0,-1,0, -1,5,-1, 0,-1,0}, n=1
Embossed
Embossed Matrix={0,0,0, -2,0,-2, 0,0,0}, n=4
One-to-One caluculation
Conversion from Color to Grayscale
Gray GRAY=(BLUE*28+77*RED+GREEN*151)/256
Valid HTML 4.01!Valid CSS!