imProcessArithmeticOp

Apply a binary arithmetic operation. \n * Can be done in-place, images must match color space and size. \n * Source images must match, target image can be several types depending on source: \n * \li any integer -> any integer+ or real * \li real -> real * \li complex -> complex * One exception is that you can use src1=complex src2=real resulting dst=complex. \n * If source is complex, target complex must be the same data type (imcfloat-imcfloat or imcdouble-imcdouble only). \n * If target is integer then it must have equal or more precision than the source. \n * If target is byte, then the result is cropped to 0-255. * Alpha channel is not included. * * \verbatim im.ProcessArithmeticOp(src_image1: imImage, src_image2: imImage, dst_image: imImage, op: number) [in Lua 5] \endverbatim * \verbatim im.ProcessArithmeticOpNew(image1: imImage, image2: imImage, op: number) -> new_image: imImage [in Lua 5] \endverbatim * The New function will create a new image of the same type of the source images. * \ingroup arithm

extern (C) @safe nothrow
void
imProcessArithmeticOp

Meta