Skip to content

Commit 246d376

Browse files
csukuangfjalalek
authored andcommitted
Merge pull request opencv#8383 from csukuangfj/patch-10
* Improve documentation. * Update imgproc.hpp
1 parent 27cf6e5 commit 246d376

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

modules/imgproc/include/opencv2/imgproc.hpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4080,7 +4080,13 @@ CV_EXPORTS Ptr<GeneralizedHoughBallard> createGeneralizedHoughBallard();
40804080
//! Detects position, translation and rotation
40814081
CV_EXPORTS Ptr<GeneralizedHoughGuil> createGeneralizedHoughGuil();
40824082

4083-
//! Performs linear blending of two images
4083+
//! Performs linear blending of two images:
4084+
//! \f[ \texttt{dst}(i,j) = \texttt{weights1}(i,j)*\texttt{src1}(i,j) + \texttt{weights2}(i,j)*\texttt{src2}(i,j) \f]
4085+
//! @param src1 It has a type of CV_8UC(n) or CV_32FC(n), where n is a positive integer.
4086+
//! @param src2 It has the same type and size as src1.
4087+
//! @param weights1 It has a type of CV_32FC1 and the same size with src1.
4088+
//! @param weights2 It has a type of CV_32FC1 and the same size with src1.
4089+
//! @param dst It is created if it does not have the same size and type with src1.
40844090
CV_EXPORTS void blendLinear(InputArray src1, InputArray src2, InputArray weights1, InputArray weights2, OutputArray dst);
40854091

40864092
//! @addtogroup imgproc_colormap

0 commit comments

Comments
 (0)