1. A computerized method for identifying a defect in a material, comprising: generating, by a computing device, a preprocessed image based on an original image of a material; dividing, by the computing device, the preprocessed image into a set of sub-images; for a first sub-image in the set of sub-images: determining, by the computing device, whether the first sub-image includes a feature, wherein the feature is a candidate portion of a defect in the material; and if the first sub-image includes the feature, adding, by the computing device, the first sub-image to a set of feature sub-images; selecting, by the computing device, a chained feature based on the set of feature sub-images, wherein the chained feature comprises one or more features that represent candidate portions of a same defect in the material; and identifying, by the computing device, a defect in the material based on the chained feature and the original image, comprising calculating a remaining portion of the defect based on the chained feature.