add !empty assertion in seamlessClone()
authornickjackolson <metedurlu@gmail.com>
Wed, 17 Nov 2021 20:56:55 +0000 (21:56 +0100)
committernickjackolson <metedurlu@gmail.com>
Thu, 18 Nov 2021 20:19:05 +0000 (21:19 +0100)
commitb696928a5b73f27d3b3c4678cea8bc2e5fd845d7
tree944e513bb7be50df4238967a4e51cab441b1e9c9
parent79d4e865fe8032fb68a3b17d1383567eff9f6e16
add !empty assertion in seamlessClone()

issue #20617 addresses lack of warnings on
seamlessClone() function when src is None.
This commit adds source check using CV_Assert
therefore debugging would be easier.

Signed-off-by: nickjackolson <metedurlu@gmail.com>
modules/photo/src/seamless_cloning.cpp