-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
strange behavior with character graphs #12
Comments
hi, see the multi graph parameter! |
a tips: |
Ah yes, multigraph is exactly what I needed. Thank you! I was already using |
One more question/request: is there an easy way to add the "maximum circle criterion" (Liao & Huang, 1990) for removing spurious branches and duplicate fork points? See image below for example. The algorithm places the largest possible circle on each critical point, such that the circle resides within the original ink (gray regions in d). C.-W. Liao, J. S. Huang, Stroke segmentation by bernstein-bezier curve fitting. Pattern Recognit. 23, 475–484 (1990). |
Sorry for not review this issues for a long time. I think it is not difficult.
if it is useful for you, we can add another file to sknw, which do some graph repair. such as:
|
In my another repo, ImagePy (a ui framework for image processing) |
Hi - Thank you so much for getting back to me about this! Sorry it has taken me a while to reply. I looked at your demo and its great. I don't think I want to remove 2-edge or isolate nodes for my application. Some isolate nodes in characters are important, like dots. And corners are instances of 2-edge nodes, which I'd like to keep. The new algorithm that you suggested sounds simple and effective. If you have a working implementation, I'd love to take a look. Otherwise I will work on crafting my own version. |
could you share a character image with many kinds of defect? |
Hi, thank you for sharing this great python code.
I am trying to compute skeleton networks for images of handwritten characters (Omniglot dataset) and I've experienced strange behavior with some images. See figure below for a few examples. It seems that the network misses important edges in some cases; e.g. for the first character (column 1), the network misses the top-right curve completely. Do you know why this might be happening?
The text was updated successfully, but these errors were encountered: