Real-time flaw characterization through learning-by-examples techniques: a comparative study applied to ECT