Divide image by another image or constant.
If a and b are two images of same size and class, a is divided by b. Alternatively, if b is a floating-point scalar, a is divided by it.
The class of out will be the same as a unless a is logical in which case out will be double. Alternatively, it can be specified with class.
Note: the values are truncated to the mininum value of the output class.
See also: imabsdiff, imadd, imcomplement, immultiply, imlincomb, imsubtract.
Package: image