int im_divide(in1, in2, out) IMAGE *in1, *in2, *out;
divides two images. The result is float except if one (or both) input is
double. In the latter case the result is double. If either input is complex,
the result is complex. If either input is double complex, the output is double
Input images in1 and in2 should have the same channels and the same sizes,
however they can be of different types.
For complex input pels (x1,y1) and (x2,y2),
((x1*x2 + y1*y2)/(x2*x2 + y2*y2), (y1*x2 - x1*y2)/(x2*x2 + y2*y2)).
The function does not check the result for over/underflow.
The function returns 0 on success and -1 on error.