Linear Intersection tool for measuring Grain-Size