My intuition is that we don't need channel masks at the moment, and don't need to worry about combining images that have nontrivially different channel setups. I advise that we simply reject binary image operations in which both images don't have the same number of channels, with the following exception: if they differ only by one of them lacking an alpha channel, pretend it has an alpha==1.0 everywhere.
On Jul 23, 2012, at 5:11 PM, Stefan Stavrev wrote: > If a channels mask is not specified than we apply the operation > to "all" channels. This is clear what it means if the IBA function > takes one input image. > > What about two or more input images and a channels mask > not specified? What is the "default" channels mask? > > I suggest a general solution: > http://postimage.org/image/8weqcesy3/ > I think the image pretty much says it all. > > It covers the common case also where all images > have the same number of channels and we apply > the operation to all channels. > -- Larry Gritz [email protected]
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
