Apply an unary point operation using a custom function.
* One pixel from the source affects the same pixel on target. \n
* Can be done in-place, images must match size and depth.
* Data type can be different, but complex is not supported. \n
* op_name is used only by the counter and can be NULL.
* Returns zero if the counter aborted.
*
* \verbatim im.ProcessUnaryPointOp(src_image: imImage, dst_image: imImage, func: function, params: table, [op_name: string]) -> counter: boolean [in Lua 5] \endverbatim
* \verbatim im.ProcessUnaryPointOpNew(image: imImage, func: function, params: table, [op_name: string]) -> counter: boolean, new_image: imImage [in Lua 5] \endverbatim
* In Lua, the params table is passed to the function by using the Lua stack,
* so its table can contain any type of objects, but they all must be unnamed.
* \ingroup point
Apply an unary point operation using a custom function. * One pixel from the source affects the same pixel on target. \n * Can be done in-place, images must match size and depth. * Data type can be different, but complex is not supported. \n * op_name is used only by the counter and can be NULL. * Returns zero if the counter aborted. * * \verbatim im.ProcessUnaryPointOp(src_image: imImage, dst_image: imImage, func: function, params: table, [op_name: string]) -> counter: boolean [in Lua 5] \endverbatim * \verbatim im.ProcessUnaryPointOpNew(image: imImage, func: function, params: table, [op_name: string]) -> counter: boolean, new_image: imImage [in Lua 5] \endverbatim * In Lua, the params table is passed to the function by using the Lua stack, * so its table can contain any type of objects, but they all must be unnamed. * \ingroup point