This function computes the reciprocals of the gray values in the input image into the output image. Bright pixels will become darker and vice versa. To adjust the output range the parameter Factor is used. The actual mathematical operation is then: output-gray value = factor/input-gray value. Negative results are clipped to 0 and overflow results are clipped to the maximum possible gray value.