I changed my mind about the parameter bool absolute. No need to have it.

contrast = 1 does not modify the image, values 0 <= contrast < 1
decrease contrast and values > 1 increase contrast. Simple as that.

I implemented everything we talked about so far, so you can comment
the pull request and see the result images:

https://github.com/StefanStavrev/oiio/commit/9cbf5cb1c6705d31c6e7709df3cf320b79969574

I am aware this is beginning, but we got good start and working code.

PS: Compile time increased significantly. Chris could it be because of
the type specialization functions?

Stefan
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to