# Revision history [back]

### i want to know how to implement blendlinear() function

i want to blend two images together, and i have used the addweighted and i understand how it works, but am trying to use the blendlinear function(to my own understanding it can be used to blend images) but i cant actually understand how to use it. blendLinear ( InputArray src1, // this are Mat images and should be the same size as the src2 InputArray src2, InputArray weights1, InputArray weights2, // i don't actually understand this two OutputArray dst // the destination image it should also bee the same size and type as src1 )

### i want to know how to implement blendlinear() function

i want to blend two images together, and i have used the addweighted and i understand how it works, but am trying to use the blendlinear function(to my own understanding it can be used to blend images) but i cant actually understand how to use it. it.

blendLinear (   InputArray  src1, // this are Mat images and should be the same size as the src2
InputArray  src2,
InputArray  weights1,
InputArray  weights2, // i don't actually understand this two
OutputArray     dst     // the destination image it should also bee the same size and type as src1
)   )