This function computes the weighted sum of two Image objects.

addWeighted(image1, image2, weight = c(0.5, 0.5))

Arguments

image1

An Image object.

image2

An Image object.

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.

Value

An Image object.

See also

Author

Simon Garnier, garnier@njit.edu

Examples

# TODO