1. "Why do you want to clamp the result?" "Why are you defining color in different terms from Luma?" "For color, why are you defining it in terms of 8 bit int?"
Eh, please ignore details for now. I don't know yet how will I deal with ranges. I just wanted to show you guys that the math is really simple. But very good questions, we will have to deal with this yes. 2. "For channel handling, is there any reason to care about what the channels are? If somebody sends the function an alpha channel to contrast, or a Z-depth image, why does that matter?" I vote not to allow this, since it makes sense only to apply contrast to a grayscale image or color image. It is strange applying this operation to a channel I know it is alpha or z. 3. "In your previous email, you said you were working with the assumption that a color image has exactly 3 color channels. Why is that a useful restriction/assumption?" Nope, I said "a color image has exactly 3 non-alpha and non-z channels". 4. Your proposal for channel masks will require significant changes I think. I am afraid I can't make such big decisions, it depends if you guys agree on such thing I will do it. Honestly I am against it, it will complicate things so so much. 5. "Does it make sense for the center of the contast (the 128 in your color example, would presumably be 0.5 in float) to be a user supplied parameter?" Again, we will handle these details later. I just wanted to show you guys the math. Stefan
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
