I am back working on contrast, starting with
manual contrast as we called it, where you simply
apply a formula to all pixels.

We have two formulas so far:

1. out = (in - pivot) * contrast + pivot
2. out = pow(in * pow(pivot, 1.0 / contrast - 1.0), contrast)

I am ok with 1), have used it before, but I need to confirm
the math source for 2) and I can't find one, sent Malcolm a
mail on this.

Some questions:

1. Should I have these as two separate functions or have
an enum to decide which to apply? Malcolm called them
Linear and Filmic, we could use those names.

2. If you want other formulas for manual contrast adjustment
included please let me know.

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

Reply via email to