This function computes the weighted sum of two
Image
objects.
addWeighted(image1, image2, weight = c(0.5, 0.5))
image1 | An |
---|---|
image2 | An |
weight | A 2-element vector of the respective weight of each image (default: c(0.5, 0.5)). If the two weights do not add up to 1, they will be rescaled accordingly. |
An Image
object.
Simon Garnier, garnier@njit.edu
# TODO