This article focuses on the need for digitalization in the forestry and timber sector using information from CT scans of logs. The National Forest Centre (Slovak Republic) operates a unique 3D CT scanner for wooden logs at the Stráž Biotechnology Park. This real-time scanner generates a 3D model of a log, displaying the wood’s internal features/defects. To optimize log-cutting plans effectively, it is necessary to automatically detect and classify these features and defects in real time, leveraging computer vision principles. Artificial intelligence, specifically neural networks, addresses this need by enabling solutions for tasks of this nature. Building a highly efficient neural network for detecting wood features and defects requires creating a database of log scans and training the network on these data. This is a time-intensive process, as it involves manually marking internal features and defects on hundreds of CT scans of various wood types. A functional neural network for detecting internal wood defects represents a significant advancement in sector digitalization, paving the way for further automation and robotization in wood processing. For the forestry sector to remain competitive, efficiently process raw materials, and improve product quality, the effective application of CT scanning technology is essential. This technological innovation aligns the sector more closely with leaders in other fields, such as the automotive, engineering, and metalworking industries.
Computed tomography (CT) enables non-destructive insight into internal log structure, yet fully automated interpretation of CT images remains limited by inconsistent annotations, boundary ambiguity, and insufficient spatial context in 2D slice-based analysis. These challenges restrict the industrial deployment of deep learning for wood quality assessment. This study applies artificial intelligence (AI) and deep learning to the automated analysis of computed tomography (CT) scans of wood logs for detecting internal qualitative features and segmenting bark. Using convolutional neural networks (CNNs), trained models accurately distinguish healthy and damaged regions and segment bark, including discontinuous parts. We introduce a novel pseudo-spatial representation by merging consecutive slices into red–green–blue (RGB) format, which improves prediction accuracy and model robustness across logs. To enhance interpretability, Gradient-weighted Class Activation Mapping (Grad-CAM) highlights regions contributing most to defect detection, particularly knots. Comprehensive evaluation using Sørensen–Dice similarity coefficients and confusion matrices confirms the effectiveness of the proposed approach under industrial conditions. These findings demonstrate that AI-driven CT image analysis can address key limitations of current log-grading workflows and enable more reliable, objective, and scalable quality assessment for timber-dependent economies.