I was tried many none of them help me out.
Like :- cv::Mat grayMat;
cv::cvtColor( cvMat, grayMat, CV_BGR2GRAY );
cv::GaussianBlur(grayMat, grayMat, cvSize(9,9), 0);
cv::adaptiveThreshold(grayMat, grayMat, 220, 0, 0, 11, 3);
This code remove the code.but also make image whole background of image is white.but i didnot want to image whole whole white.I am wanting black and white image without shadow.
Can you help me out as soon as possible.?