1 | initial version |
You can use addWeighted to create such an effect.
Like,
Load source image.
Create a black image with same type and channel as source.
Draw whatever you want on black image.
Use aaddWeighted, adjust alpha and beta(weight each array element) till you get the result you expected.
2 | No.2 Revision |
You can use addWeighted to create such an effect.
Like,
Load source image.
Create a black image with same type and channel as source.
Draw whatever you want on black image.
Use aaddWeighted, adjust alpha and beta(weight each array element) till you get the result you expected.desired result.