-
Notifications
You must be signed in to change notification settings - Fork 15
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
Better Figure Segmentation through Edge Detection? #4
Comments
Good point : ) This is how the dataset was created actually. First use edges to separate out different regions, then manually correct the edges, because edge detection can be very inaccurate at times when the background color is similar to the character's color. |
This might sound weird but that is exactly the questions I raised in another project KichangKim/DeepDanbooru#5 |
First I generated the edges based on the image. I wrote an angular based HTML UI to select the regions based on the edges (using the flood fill algorithm) and if I see any overflow, I modify the edge layer until there no longer is any overfill. Then I just save the masked regions as a separate image -- that serves as the segmentation ground truth. Does that make sense? |
I would not say that I can follow completely... is flood fill similar to MSPaint's bucket tool, but instead of overwriting it is selecting regions? Or in other words, it is like the Magic Selection tool of Photoshop with heavy simplification? |
Exactly like the Magic Selection tool. Libraries of efficient implementations can be found online pretty easily. |
@jerryli27 unfortunately if we are doing pure image tagging without regions DeepDanbooru already does that with "questionable"/"great" results, but we want to do more than just that, and image segmentation might provide better insights as to how we can improve image tagging. The current dataset we are using is based on https://www.gwern.net/Danbooru2019 which has no segmentation, and based on the DD results maybe we can leverage it to ease in on generating segmented data. It is kind of for fun, but I would really hope that this could be part of my future mental exercise. |
Make sense : ) What application are you targeting with segmentation that you cannot do with tagging, if I may ask? |
More like segmentation as a means to improve automated or machine-aided tagging through the use of Deep Learning. |
Technology is kicking in fast KichangKim/DeepDanbooru#5 (comment) |
This may sound weird, but is it possible to use edges of regions to redefine figure segmentation to make it more accurate?
The text was updated successfully, but these errors were encountered: