0
1.6kviews
For following digital image as shown in fig. b

enter image description here

Find,

i. Negative of the image

ii. Bit plane slicing

iii. Perform contrast modification as per the characteristics given in fig. a

iv. Draw the histogram of new image.

enter image description here

1 Answer
0
25views

i. Negative of the image.

By definition of Digital negative,

$$S = ( L - 1 ) – r$$

From the fig. b value of L is 16, therefore

$$S = ( 16 - 1 ) – r$$

$S = 15 – r$ … r is pixel value of image

enter image description here

This is the negative of image shown in fig. b

ii. Bit Plane Slicing.

Converting image show in fig. b into binary,

enter image description here

iii. Performing Contrast Stretching.

$$S = l.r \hspace{2cm} 0\lt=r\lt=a \\ S = l.r \hspace{2cm} 0\lt=r\lt=5$$

$$l = \frac25 = 0.4$$

enter image description here

$$S = m.(r-a) + v \hspace{0.5cm} a\lt=r\lt=b \\ S = m.(r-a) + v \hspace{0.5cm} 5\lt=r\lt=10$$

$$m = \frac{12 - 2}{10 - 5} = 2$$

enter image description here

$$S = n.(r-b) + w \hspace{1.5cm} b\lt=r\lt=(L-1) \\ S = n.(r-b) + w \hspace{1.5cm} 10\lt=r\lt=15$$

$$n =\frac{15 - 12}{15 - 10} = 0.6$$

enter image description here

Hence the contrast stretching image is

enter image description here

iv. Drawing New Image Histogram.

enter image description here

Please log in to add an answer.