Beyond $χ^2$ Difference: Learning Optimal Metric for Boundary Detection | Read Paper on Bytez