Division Operator

Original Images ( Operands )

Image 1 Image 2
operandOne operandTwo

Resulting Images

Pixel intensities to be rounded after floating point division, but if divisor’s pixel intensity is 0, then resulting pixel intensity to be made 255 ( highest possible pixel intensity value for color component in 8-bit image )

If two images are passed, first one is dividend & second one is divisor.

Image_1 / Image_2 Image_2 / Image_1
result result