addWeighted

http://kube.pl/wp-content/uploads/2018/01/addWeighted_01.png

Functionality

Calculates the weighted sum of two arrays.

Inputs

  • alpha_in – Weight of the first array elements.
  • beta_in – Weight of the second array elements.
  • dtype_in – Desired depth of the destination image, see @ref filter_depths ‘combinations’.
  • gamma_in – Scalar added to each sum.
  • image_1_in – First input array.
  • image_2_in – Second input array.

Outputs

  • image_out – Output image.

Locals

  • loc_auto_resize – Automatic adjust size image.

Examples

http://kube.pl/wp-content/uploads/2018/01/addWeighted_11.png