Skip to content

Commit

Permalink
Merge pull request opencv#15688 from JamesNewton:3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
asmorkalov committed Oct 12, 2019
2 parents 027769b + 47fc889 commit d154fa4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ src1.delete(); src2.delete(); dst.delete(); mask.delete();
Image Subtraction
--------------

You can subtract two images by OpenCV function, cv.subtract(). res = img1 - img2. Both images should be of same depth and type.
You can subtract two images by OpenCV function, cv.subtract(). res = img1 - img2. Both images should be of same depth and type. Note that when used with RGBA images, the alpha channel is also subtracted.

For example, consider below sample:
@code{.js}
Expand Down Expand Up @@ -59,4 +59,4 @@ Try it
<iframe src="../../js_image_arithmetics_bitwise.html" width="100%"
onload="this.style.height=this.contentDocument.body.scrollHeight +'px';">
</iframe>
\endhtmlonly
\endhtmlonly

0 comments on commit d154fa4

Please sign in to comment.