Format of the defect files

The defect file (*.def) information consists of rows. Each row contains the following 5 columns:
xul	yul	xlr	ylr	classindex
The first four define the bounding box of a defect, first the upper left and then the lower right corner coordinates.

"Classindex" defines defect class index (between 1 and 40, see list below)


 Defect class index    Defect class name		
 ---------------------------------------------

 1			Sound knot	
 2			Sound knot  
 3			Dead knot		
 4			Traversing knot	
 5			Black knot		
 6			Pin knots		
 7			Barkringed knot	
 8			Rotten knot		
 9			Round knot  
 10			Oval knot		
 11			Arris knot
 12			Splay knot
 13			Spike knot
 14			Edge knot
 15			Scattered knots
 16			Knot clusters
 17			Straight shake
 18			Oblique shake	
 19			Ring shake		
 20			Wane
 21			Bark			
 22			Pitch pockets		
 23			Bark pockets		
 24			Scar			
 25			Slope of grain		
 26			Topbreak		
 27			Compression wood			
 28			Curly grain		
 29			Pitch wood		
 30			Log blue stain		
 31			Incipient decay, dote			
 32			Width of annual ring		
 33			Brown stain	
 34			Weather gray			
 35			Mould				
 36			Feed-roller marks		
 37			Bad sawn surface		
 38			Dropping damages (Handling imperfections)			
 39			Wood Wasp attack		
 40			Insect holes