Seol mar théacs é seo: Automation of intercept method for grain size measurement: A topological skeleton approach