addWeighted: Weighted Sum of Two Images

Description Usage Arguments Value Author(s) See Also Examples

View source: R/arithmetic.R

Description

This function computes the weighted sum of two Image objects.

Usage

1
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.

Author(s)

Simon Garnier, garnier@njit.edu

See Also

Image

Examples

1
# TODO

neuroconductor-devel-releases/Rvision documentation built on Oct. 27, 2020, 1:16 p.m.