An Automated Procedure for the Geometrical Characterization of Root Canals