$$\int_a^b \textrm{argmin}_s \|g(s)-\tilde{f}(t)\|^2 \sqrt{\tilde{f}_x'(t)^2 + \tilde{f}_y'(t)^2}\,dt.$$
Powered By Embed Fun