0
2.3kviews
A 5X5 image segment is shown below. Perform bit plane slicing and low pass filtering on the same.
1 Answer
0
43views
written 8.4 years ago by |
(i) Bit plane slicing:
Since the given image has a maximum grey level of 7, it is a 3-bit image. We convert the image to binary and separate the bit planes.
110 | 111 | 110 | 110 | 111 |
---|---|---|---|---|
000 | 000 | 000 | 001 | 010 |
001 | 001 | 001 | 010 | 011 |
100 | 101 | 101 | 100 | 010 |
110 | 110 | 110 | 111 | 111 |
Separating the bit planes, we obtain
1 | 1 | 1 | 1 | 1 |
---|---|---|---|---|
0 | 0 | 0 | 0 | 0 |
0 | 0 | 0 | 0 | 0 |
1 | 1 | 1 | 1 | 0 |
1 | 1 | 1 | 1 | 1 |
MSB Plane
1 | 1 | 1 | 1 | 1 |
---|---|---|---|---|
0 | 0 | 0 | 0 | 1 |
0 | 0 | 0 | 1 | 1 |
0 | 0 | 0 | 0 | 1 |
1 | 1 | 1 | 1 | 1 |
Centre bit plane
0 | 1 | 0 | 0 | 1 |
---|---|---|---|---|
0 | 0 | 0 | 1 | 0 |
1 | 1 | 1 | 0 | 1 |
0 | 1 | 1 | 0 | 0 |
0 | 0 | 0 | 1 | 1 |
LSB plane
(ii) Low pass filtering : We use the averaging mask given below
H(x, y) = 1/9 | 1 | 1 | 1 | |---|---|---| | 1 | 1 | 1 | | 1 | 1 | 1 |
Filtering operation is given by the convolution formula i.e.
G(x,y) = f(x,y) * h(x,y)
We begin with zero padding the original image. We then palce the mask at the top left corner as shown below:
Moving the mask all over the image given us the final low passed filtered image.
ADD COMMENT
EDIT
Please log in to add an answer.