RTUComputer ScienceYr 2023 · Sem 62023

Q12Digital Image Processing

Question

4 marks

Discuss various point processing techniques for image enhancement.

Answer

Point processing transforms each pixel independently through a mapping function , covering negatives, log and power-law transforms, contrast stretching, and gray-level slicing.

Point processing (intensity transformation) techniques are zero-memory operations where the new value of a pixel depends solely on its original intensity , expressed as , independent of pixel location or neighboring pixels.

  • Image Negative: Computed as for an image with gray levels; useful for enhancing white or gray detail embedded in dark regions, such as in medical imaging.
  • Log Transformation: Given by ; it compresses the dynamic range by expanding dark pixel values while compressing bright ones, useful for displaying Fourier spectra with large dynamic range.
  • Power-Law (Gamma) Transformation: Given by ; when it expands dark regions (used for display gamma correction of CRT monitors, which have ), and when it expands bright regions.
  • Contrast Stretching: A piecewise-linear function that expands the range of intensity levels so that low-contrast images (from poor illumination or sensor limitations) span the full dynamic range, sharply increasing visual contrast.
  • Gray-Level (Intensity) Slicing: Highlights a specific range of gray levels, either setting them to a high value while leaving others unchanged, or setting them to high value while suppressing all others to black; used to highlight features like flaws in an X-ray.

These transformations are commonly visualized and implemented using lookup tables (LUTs), making them computationally very fast to apply across an entire image, since the mapping for each of the 256 possible gray levels is precomputed once and then applied to every pixel with a single table lookup rather than a repeated arithmetic operation.

A practical example clarifies the effect of gamma correction: for an 8-bit image with normalized to , applying to a mid-gray pixel gives , brightening it substantially, whereas gives , darkening it. This is precisely why display devices apply an inverse gamma correction before rendering, so that the perceived brightness matches the linear intensity captured by the sensor.

Back to Paper