Hi,
First, the geometry must be deformed based on the displacement vector (Displacment) using the Warp By Vector filter. Then could you try Ruler?
Displacment