https://123dok.net/document/yr307ejv-distance-transform-integration-measurements-principle-application-chemical-engineering.html