Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Change Background Colour Keeping Shadow Intact Over the New Colour

$
0
0
In this image I just wanted to change the background colour from texture green to blue or any other colour which I have successfully done, but I am not able to retain its shadow or its glow after the colour change. Please help. This is the most important part to my project where I am stuck. for (int i = 0; i < _bmp.getWidth(); i++) { for (int j = 0; j < _bmp.getHeight(); j++) { int p = _bmp.getPixel(i, j); int r = Color.red(p); int g = Color.green(p); int b = Color.blue(p); int a = Color.alpha(p);` here i am getting always 255 } }

Viewing all articles
Browse latest Browse all 19555

Trending Articles