Title: Automatic inspection of sawn wood