I\'ve used merge() function at the end of the following code but it throws an unhandled exception when compiler reaches to the merge() function call.
I\'ve tried both Mat