Skip to content

Dilation/Erosion interface in Julia#6

Open
lxvm wants to merge 2 commits into
mainfrom
dilation
Open

Dilation/Erosion interface in Julia#6
lxvm wants to merge 2 commits into
mainfrom
dilation

Conversation

@lxvm

@lxvm lxvm commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

This PR adds a dilation_distance keyword to the ProjectionProblem API in the Julia API that provides an easy way to expand the solid region by approximately dilation_distance in all directions (or shrink/erode it if dilation_distance is negative).

Additionally, in the high-level api, the functions ssp1, ssp1_linear, and ssp2 accept an optional trailing positional argument for the dilation_distance.

Tests were added for the adjoints w.r.t. the filtered density in the presence of a non-zero dilation for both the low-level and high-level APIs.

Additionally, I added an example that demonstrates the effect of the dilation/erosion on Cassini ovals.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant