REPUBLIC OF YEMEN
SANA'A UNIVERSITY
FACULTY OF ENGINEERING
BIOMEDICAL ENGINEERING DEPARTMENT
Biomedical Image Processing (BIP)
Done by:
Abdul-Aziz Fahd Abdo aqlan 202270076
Supervised by: Mohammed Faisal
sol:
5
𝐿 = 2 = 32
𝑆 = 𝐿−1−𝑟
𝑆 = 32 − 1 − 𝑟 = 31 − 𝑟
The new matrix
10 5 2 1
12 10 11 1
15 15 5 0
12 13 4 8
sol:
L=255 , m=95
So any number greater than 95 in the matrix
is turn to 255 and any number in matrix is
smaller than 95 is turn to 0.
The new matrix:
255 255 0 255
0 0 255 255
0 0 255 255
0 255 0 0
The code in MATLAB:
The output of code:
The code in MATLAB:
The output of code:
The code in MATLAB:
The output of code: