Professional Documents
Culture Documents
Lecture 2
Image Enhancement using Operations
By:
Dr. Noor Kamal
PhD in Biomedical Engineering
Image processing for BME 2_Lec 2_ 2020 1
Basic Arithmetic Operations
Operation Definition
ADD c=a+b
SUB c=a-b
MUL c=a*b
DIV c=a/b
LOG c = log(a)
EXP c = exp(a)
SQRT c = sqrt(a)
TRIG. c = sin/cos/tan(a)
Slice 22 Slice 23 22 - 23
K
1
g ( x, y )
K
g ( x, y )
i 1
i
E{g ( x, y )} f ( x, y )
1 2
2
g ( x, y ) ( x, y )
K
K=5 K=10
(a) Image of Galaxy Pair NGC 3314 corrupted by additive Gaussian noise. (b)–(f)
Results of averaging 5, 10, 20, 50, and 100 noisy images, respectively.
Operation Definition
NOT
OR
AND
XOR
And =
OR =
Zooming Pixel replication: interpolated pixel in the enlarged image is set to the
gray-level of its nearest pixel in the original image.
• Bilinear interpolation: interpolated pixel in the enlarged image is set to the average
its four nearest pixels in the original image.
31
Image processing for BME 2_Lec 2_ 2020
Image processing for BME 2_Lec 2_ 2020 32
Nearest neighbor interpolation:
Nearest Used with rectangular heads
Neighbor
Bilinear interpolation:
Used for smoothing image
Bilinear
Bicubic interpolation:
Used for sharping the image
Bicubic