Characterization of crack distribution: fabric analysis versus ultrasonic inversion