Brightness inversion has two options: inverse and reverse. Both options convert the
input data range (commonly 0 - 255) to 0 - 1.0. A min-max remapping is used to
simultaneously stretch the image and handle any input bit format. The output image
is in floating point format, so a min-max stretch is used to convert the output image
into 8-bit format.