Given an intensity level (0, L−1) of an image with “r” and “s” positive…

2022

Given an intensity level (0, L−1) of an image with “r” and “s” positive values, how will the negative of an image be obtained?

  1. A.

    s = L − 1 − r

  2. B.

    s = L + r

  3. C.

    s = L − r

  4. D.

    s = L + 1 + r

Attempted by 166 students.

Show answer & explanation

Correct answer: A

To obtain the negative of a digital image, each input gray level r (between 0 and L - 1) is mapped to an output gray level using the negative transformation formula: s = (L - 1) - r When r = 0 (black), s becomes L - 1 (white), so the darkest pixels become the brightest.

Explore the full course: Up Lt Grade Assistant Teacher 2025