The small image is placed with its origin at given origin in the large image.
The second image is scaled and shifted before placing into the first:
image1 = image1 + image2*scale + shift
Both images are converted to floating point.
The operation can be selected:
0 simple addition.
1 replace if smaller.
2 replace if larger.
Requirement: Both images must have the same pixel size.
| Bimage* p | large image (destination, modified). |
| Bimage* psmall | small image (source). |
| Vector3 | location in large image of small image origin. |
| float radius | radial mask to transfer small image. |
| float scale | density scale to apply to second image. |
| float shift | density shift to apply to second image. |
| int operation | operation to apply. |