摘要

Context Knowledge of the occurrence of sound and loose knots on the surface of sawn sugi (Cryptomeria japonica L.f.) is important for its grading and application. Objectives This study examined an optical system for detecting sound and loose knots in sugi instead of human being using the combining information of the color and texture features. Methods The proposed system could be conceptually divided into two components: a CCD camera scanning system and a defect detecting algorithm developed by the authors. In the algorithm, the contrast parameter calculated from a gray-level co-occurrence matrix was used to locate the potential defects represented by sound knots and loose knots. The rule-based approach, which was built according to the color feature histograms, was used to identify sound knots and loose knots. A series of samples containing single or multiple sound and/or loose knots were selected at random to verify the efficiency and accuracy of the proposed system. Results There were 94 sound knots and 86 loose knots on the surfaces of these samples, and the accuracy of locating the positions of sound knots and loose knots was 94.7% and 97.6%, respectively. The accuracies of identifying knots as sound or loose were 96.6% and 98.8%, respectively. The overall detection accuracy of the system was 93.9%. Conclusions The results indicate that the proposed vision system is an efficient means of detecting sound knots and loose knots.