Try with a different threshold value, in which case you will get a better result when using lower threshold values, for example 10 100.
blur(src,src,Size(3,3)); cvtColor(src,tmp,CV_BGR2GRAY); Canny( src, thr, 10, 100, 3 );
Or else you will get outline images by applying threshold like,
threshold(tmp,thr,50,255,THRESH_BINARY_INV);
Haris
source share