Transformation function of negative image

s=T(r)=(L−1)−rs= T(r) = (L-1)-r

Where:

  • L−1L-1 is the max intensity value
  • ss is the output pixel value
  • rr is the input pixel value

For example:

In an 8-bit grayscale image, the max intensity value is: L−1=28−1=255L-1=2^{8}-1=255

Built with LogoFlowershow