Apply a threshold by the difference of two images. \n
* threshold = a1 <= a2 ? 0: 1 \n
* Source color space must be IM_GRAY, and target color space must be IM_BINARY.
* complex is not supported. Can be done in-place for IM_BYTE source. \n
*
* \verbatim im.ProcessThresholdByDiff(src_image1: imImage, src_image2: imImage, dst_image: imImage) [in Lua 5] \endverbatim
* \verbatim im.ProcessThresholdByDiffNew(src_image1: imImage, src_image2: imImage) -> new_image: imImage [in Lua 5] \endverbatim
* \ingroup threshold
Apply a threshold by the difference of two images. \n * threshold = a1 <= a2 ? 0: 1 \n * Source color space must be IM_GRAY, and target color space must be IM_BINARY. * complex is not supported. Can be done in-place for IM_BYTE source. \n * * \verbatim im.ProcessThresholdByDiff(src_image1: imImage, src_image2: imImage, dst_image: imImage) [in Lua 5] \endverbatim * \verbatim im.ProcessThresholdByDiffNew(src_image1: imImage, src_image2: imImage) -> new_image: imImage [in Lua 5] \endverbatim * \ingroup threshold