range selection - AI Cluster Description
Hmmm, a rectangular selection of connected components would cause overlap, that's true...
Another approach is to divide every 10 squares.
In the use case I'm using Kozaneba, a human being is doing the collecting of similar things in the first place. "I want to put this in one group, this is not." Because the gap is driven by the decision to These overlap problems don't happen.
Merging and squaring of overlapping objects
This page is auto-translated from /nishio/pKozaneba2025-08-29 using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I'm very happy to spread my thought to non-Japanese readers.