operations/distance-transform: new operation for distance transforms