How to get regions from points in a mask image?

93 views Asked by At

Point space:

point space

Dilated:

dilated

I used dilation (morphological process) but this is not the result i expected. I want more smooth regions, not squares. How to define contours and fill in them? Maybe i can use k-means like algorithms to het regions from points. Help please.

0

There are 0 answers