Patch for the depth merge operation (opencl and serial version)
Submitted by Christopher Guckes
Link to original bug (#725569)
Description
Created attachment 270789 Patch that adds the depth-merge filter to GEGL.
I moved the old depth merge filter from gimp to gegl, using either OpenCL or a serial version if the former is not available.
Also included in the path is an example file on how to use the filter.
Currently there is no way to run the filter from xml, because the system does not allow me to have more than one auxiliary input image. For that reason, the only existing testcase is written in C. A reference file and the corresponding source images are included.
In order to use four input images I took the lazy path and created a COMPOSER4 class. A much better way to do this, would be to add a variable number of auxiliary images to the original composer. I am not very proficient in C code and not knowing about the best way to do that, I decided to choose the easy path for now.
This is my first commit to an open source project, so please give me as much feedback as possible :-)
Patch 270789, "Patch that adds the depth-merge filter to GEGL.":
0001-Added-depth-merge-filter.patch
Version: git master