defect detection
Some examples
Boxes determined by FMMIS on image samples for each of the 10 defect categories, from left to right and top to bottom: birdseye; blue stain; pocket; pith; wane; dead knot; split; live knot; stain; and hole.
Experimental results
The FMMIS global performance on the test set, and its per-category disaggregation are shown in the Table. The global TP rate achieved 95 percent of the total defects present in the test set, while the FP rate was 6 percent of the total grain lines (clear wood) present in the test set.
On average, the number of selected seeds per image was about 100, i.e., 0.1 percent of the total number of pixels of an image. This fact makes the FMMIS algorithm very fast.
The last column shows the average processing time for FMMIS, including the seed selection process, which reached 0.11 +/- 0.04 seconds per image.
Methods
A sample of 900 colour images (320x 240 pixels) of wood boards was drawn from the University of Chile. Each image was manually labelled according to its largest defect, into one of the following 10 defect categories (following the illustration from left to right, top to bottom): birdseye & freckle, bark & pitch pockets, wane, split, stain, blue stain, pith, dead knot, live knot and hole. The data set, was partitioned into two sets: 600 images for the training set and 300 images for the test set. The performance of the FMMIS algorithm was measured on the test set using the following criteria: number of true positives TP (the number of defects contained by hyperboxes and correctly detected), number of false positives FP (the number of grain lines contained by hyperboxes, i.e., detected as defects), and the average processing time. The area recognition rate (ARR) criterion allows to compare the area of the hyperbox built automatically by FMMIS with the area of the manually placed minimum bounding rectangle.
Output of the FMMIS
The last stage is to draw the rectangle (minimum bounding rectangle) on each defect using the min- and max-points of each hyperbox formed by the FMMIS algorithm.
FMMIS learning algorithm
1. Initialisation: All the min-max points are initially set to 0. The first pattern (seed) committed to a hyperbox results in a single point that is identical to the input pattern. 2. Hyperbox Expansion: Identify the hyperbox closest to the input pattern that can be expanded and expand it. If an expandable hyperbox cannot be found, add a new hyperbox. A fuzzy colour homogeneity criterion is defined to compare the colour similarity of two hyperboxes, then a user-defined parameter is introduced to control the required degree of colour homogeneity for expanding hyperboxes. 3. Hyperbox Ovelap Test: Determine whether the recent expansion caused any overlap between hyperboxes. 4. Hyperbox Contraction: If the expansion test identified any overlapping hyperboxes, contract the hyperboxes to eliminate the overlap. 5. Fine-tuning Hyperbox Expansion: Allows the hyperbox to grow if necessary until the defect is completely enclosed. 6. Hyperbox Merging: Process that merges hyperboxes belonging to the same defect, to ensure that each defect present in the image is contained by only one hyperbox.
Image segmentation method
This illustration shows the different stages of the proposed image segmentation method. These are: seed selection process, input patterns, Fuzzy Min-Max neural network for Image Segmentation and minimum bounding rectangles enclosing the defects, which correspond to the FMMIS output.









