Naming of edge_handling parameter for gegl:distance-transform op
David Tschumperlé from G'MIC was telling me that boundary_conditions
is the common/generic naming for defining how boundaries should be treated, therefore it would have been a better name than edge_handling
for immediate understanding to anyone used to image processing. After searching the web, I found some Wikipedia article about boundary value problems which seemed to confirm the naming:
In mathematics, in the field of differential equations, a boundary value problem is a differential equation together with a set of additional constraints, called the boundary conditions.[1] A solution to a boundary value problem is a solution to the differential equation which also satisfies the boundary conditions.
Anyway now that it has been released with this name, not sure we could/should rename (unless there is an alias system for operation properties as well?), but maybe it would be a good idea to add this naming in the property description: "How areas outside the input are considered when calculating distance (boundary conditions)"
And maybe it would be worth remembering the naming for the next time we need such a property in an operation?