https://hgpu.org/?p=10608
The Complete Rank Transform: A Tool for Accurate and Morphologically Invariant Matching of Structures