Question: For 3 bit, 4x4 size image perform the following operations i)Thresholding ii)Bit plane slicing for LSB and MSB planes.
0

For the 3-bit 4x4 size image perform the following operation

1. Thresholding with T=4
2. Intensity level slicing with background r1=2 and r2=5
3. Bit plane slicing for MSB and LSB plane
4. Negation
4 2 3 0
1 3 5 7
5 3 2 1
2 4 6 7

Mumbai University > Computer Engineering > Sem 7 > Image Processing

Marks: 10 Marks

Year: May 2016

 modified 3.0 years ago  • written 3.0 years ago by Sayali Bagwe • 2.5k
0
1. Thresholding:

Since the image is 3 bit ,L=23=8

For thresholding

$S=\bigg\{^{L-1 \ \ \ \ r≥T}_{0 \ \ \ \ otherwise}$

Here,L-1=7,T=4

7 0 0 0
0 0 7 7
7 0 0 0
0 7 7 7
2. Intensity level slicing with background $r_1=2$ and $r_2=5$:

$S=\bigg\{^{L-1 \ \ \ \ \ \ r1≤r≤r2}_{r \ \ \ \ \ \ \ otherwise}$

Here,L-1=7,2 ≤r≤5

7 7 7 0
1 7 7 7
7 7 7 1
7 7 6 7
3. Bit plane slicing for MSB and LSB plane:

We convert the original image into a 3-bit binary image

100 010 011 000
001 011 101 111
101 011 010 001
010 100 110 111

We create three planes from the bit positions

1 0 0 0
0 0 1 1
1 0 0 0
0 1 1 1

MSB plane

0 1 1 0
0 1 0 1
0 1 1 0
0 0 1 1
0 0 1 0
1 1 1 1
1 1 0 1
0 0 0 1

LSB plane

4. Negation:

Image neagative is given by the formula

S=(L-1)- r

Therefore,s=7-r

3 5 4 7
6 4 2 0
2 4 5 6
5 3 1 0
 written 3.0 years ago by Sayali Bagwe • 2.5k