Feature Extraction Using Gray-Level Co-occurrence Matrix and k-Nearest Neighbor Classification
Implementation of texture image classification using Gray-Level Co-occurrence Matrix (GLCM) feature extraction and k-Nearest Neighbor (k-NN) algorithm. The creat_apprentissage function handles training sample preparation, cooccurence performs GLCM-based feature extraction, knn implements the classification algorithm, and classif executes the final texture image categorization.