Paint Select Tool
| Tool | GUI menu item | Main implementation file | Description |
|---|---|---|---|
| Paint Select | N/A (playground) | gimppaintselecttool.c | Select objects by painting roughly |
| paint-select.cc | GEGL operation (gegl:paint-select) |
References
- “Paint Selection”, by Jiangyu Liu, Jian Sun and Heung-Yeung Shum.
- "“GrabCut” — Interactive Foreground Extraction using Iterated Graph Cuts", by Carsten Rother, Vladimir Kolmogorov and Andrew Blake.
A copy was also stored on our download server for safe-guarding.
Implementation
This tool has been implemented based on the first referenced document, titled “Paint Selection”. The selection is actually pretty impressive, though the tool is still very slow. This is why it is still hidden in the Playground area.
We welcome contributions to make the tool fast and stable.
This comment by Thomas Manni (original implementer) mentions alternative algorithms to investigate, possibly as a replacement either of the whole algorithm, or maybe only of the mincut-maxflox step of this algorithm.
Lastly the second paper “GrabCut” is not part of the current implementation, but it was mentionned in someone else’s comment. As far as I understand, it could also be an alternative implementation. I don’t know if it is worth investigating, but I still left it as a reference, for easy retrieval if needed.