dungen icon indicating copy to clipboard operation
dungen copied to clipboard

Region Detection: Detect minimum regions

Open vantreeseba opened this issue 5 years ago • 1 comments

What it does

If region is smaller than X size, collapse region and add to neighbor with biggest border. Check if neighbor is smaller than min region before collapse and recurse?

Implementation

vantreeseba avatar Nov 10 '20 03:11 vantreeseba

The island detection code should be able to handle this, just modify to detect regions instead, find neighbor region, merge border into bigger region and merge this into region.

vantreeseba avatar Feb 24 '21 04:02 vantreeseba