Skip to main content
10 events
when toggle format what by license comment
Nov 12, 2021 at 7:08 history bounty awarded a20
Nov 11, 2021 at 13:20 comment added Greg Hurst Also it might make more sense to use ConnectedMeshComponents instead of MeshPrimitives. Compare: reg = DiscretizeRegion[RegionUnion[Disk[], Disk[{3, 0}]]]; Length /@ {MeshPrimitives[reg, 2], ConnectedMeshComponents[reg]}
Nov 11, 2021 at 13:16 comment added Greg Hurst Very nice. Some other ideas to find centers: PixelValuePositions[Pruning[MaxDetect[DistanceTransform[DeleteSmallComponents[dilatedimage]]]], 1] or ComponentMeasurements[DeleteSmallComponents[dilatedimage], "Medoid"].
Nov 11, 2021 at 7:49 vote accept a20
Nov 11, 2021 at 7:48 comment added a20 Wow, this is really cool and works even better than I imagined. Thank you so much! I need to wait 12 hours to award you the bounty.
Nov 11, 2021 at 5:54 history edited kglr CC BY-SA 4.0
edited body
Nov 11, 2021 at 3:44 history edited kglr CC BY-SA 4.0
deleted 20 characters in body
Nov 11, 2021 at 2:47 history edited kglr CC BY-SA 4.0
added 277 characters in body
Nov 11, 2021 at 2:00 history edited kglr CC BY-SA 4.0
added 317 characters in body
Nov 11, 2021 at 1:55 history answered kglr CC BY-SA 4.0