Adapt from workflow in https://github.com/InsightSoftwareConsortium/ITKParabolicMorphology/pull/40/files