High performance image blending
Unsolved
General and Desktop
-
Hi,
I would like to blend 2 images (original and mask) as shown in image separately below including example results
Original
Mask
Result example (just focus on the boy blending)
In Open CV this is equivalent with :
cv::addWeighted( image1, alpha, image2, beta, 0.0, blendedImage);In QT you may be able to do similar using qpainter setCompositionMode and then draw the image on top. However, this is very slow and i was wondering if there is a better way to do the same on QT with better performance. thanks