Image analysis for grain shape characterization in lamp filaments