I want to convert an image to a color pencil sketch using OpenCV. And I have read the page I want to convert an image into pencil sketch in OpenCV .The effect which I seek is like http://www.showandtell-graphics.com/photosketch.html I used the color dodge by code
b_d = (b_2==255? 255: min(255, b_1*255 /(255- b_2)));
g_d = (g_2==255? 255: min(255, g_1 *255/(255- g_2)));
r_d = (r_2 ==255? 255: min(255, r_1 *255/(255- r_2)));
It seems work not very well. PLS help.