You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Kyle,
hope you're doing well.
I found a bug in the morphological thinning algo.
Check this screenshot
Probably when using it on images with thin lines it might work but as you can see when lines are wider it doesn't behave well.
What's going on is that the thinning is being done over the original image, thus the evaluation for each pixel is being done over the already modified image generating a wrong evaluation. The fix is quite simple, just create a copy of the original image that's used for evaluation and modify the original.
I have this fix already made. Should I PR?
best
The text was updated successfully, but these errors were encountered:
Hi Kyle,
hope you're doing well.
I found a bug in the morphological thinning algo.
Check this screenshot
Probably when using it on images with thin lines it might work but as you can see when lines are wider it doesn't behave well.
What's going on is that the thinning is being done over the original image, thus the evaluation for each pixel is being done over the already modified image generating a wrong evaluation. The fix is quite simple, just create a copy of the original image that's used for evaluation and modify the original.
I have this fix already made. Should I PR?
best
The text was updated successfully, but these errors were encountered: