Regular API function

simCombineRgbImages / sim.combineRgbImages

Description Combines two RGB images. See also sim.transformImage.
C/C++
synopsis
C/C++
parameters
C/C++
return value
Lua
synopsis
buffer outImg=sim.combineRgbImages(buffer img1,int[2] img1Res,buffer img2,int[2] img2Res,int operation)
Lua
parameters
img1: input image 1, as succession of rgb values.
img1Res: x/y resolution of image 1.
img2: input image 2, as succession of rgb values.
img2Res: x/y resolution of image 2.
operation: operation to be performed with the two input images.
Lua
return values
output image as succession of rgb values.
Python
synopsis
bytes outImg=sim.combineRgbImages(bytes img1,list img1Res,bytes img2,list img2Res,int operation)

<