asked 2016-04-26 03:51:12 -0500

Dinh Thap gravatar image

updated 2016-04-26 04:16:49 -0500

With image white background and black character foreground + When I use adaptive threshold with thresh_binary_inv then border around character is exact. + When I use adaptive threshold with thresh_binar then boder around character is bigger Can you explain for me why ? How to get exact border at all ?

Example thres_binary_inv (border threshold image bigger origianl then contour is exact) Original Image: C:\fakepath\3.png Threshold Image: C:\fakepath\1.png Contour: C:\fakepath\2.png

edit retag flag offensive close merge delete


Please, show your code and images

LorenaGdL gravatar imageLorenaGdL ( 2016-04-26 04:05:49 -0500 )edit

I updated the image

Dinh Thap gravatar imageDinh Thap ( 2016-04-26 04:18:20 -0500 )edit

You should explain yourself better... Once again, post your code and clearly indicate your issue

LorenaGdL gravatar imageLorenaGdL ( 2016-04-26 04:29:43 -0500 )edit