On 14 June 2018 at 18:47, Alex HighViz <alexhigh...@hotmail.com> wrote: > Would you by any chance be able (and willing) to conjure up a simple example > of "OUT = 3 * A + B * C" using Boost.GIL?
Quick update: out of the box, GIL provides related algorithm that accepts one or two sources: transform_pixels Here is example on channel-wise pixel addition: How to combine images with boost gil? https://stackoverflow.com/a/47623314/151641 The transform_pixels could be extended, using the binary channel_multiply internally, etc. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev