Fast algorithms for optimization-based remap and transport with feature preservation.