imProcessNormalizeComponents

Normalize the color components by their sum. Example: c1 = c1/(c1+c2+c3). \n * It will not change the alpha channel if any. * Target is IM_FLOAT, except if source is IM_DOUBLE. * * \verbatim im.ProcessNormalizeComponents(src_image: imImage, dst_image: imImage) [in Lua 5] \endverbatim * \verbatim im.ProcessNormalizeComponentsNew(src_image: imImage) -> new_image: imImage [in Lua 5] \endverbatim * \ingroup colorproc

version(IM)
extern (C) @nogc nothrow
void
imProcessNormalizeComponents

Meta