Probably need inCenter, outCenter and scale.
IBA::normalize(ImageBuf& dst, const ImageBuf& src, float inCenter = 0.0f, float
outCenter=0.0f, scale = 1.0f, ROI roi = {}, int nthreads = 0);
Input: become X - inCenter
Output X/length(x)*scale + center
> IBA::normalize(ImageBuf& dst, const ImageBuf& src, float center = 0.0f, scale
> = 1.0f, ROI roi = {}, int nthreads = 0);
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org