Methods are provided for detecting compression wood, blue stain, or pitch
in lumber. A light beam is projected towards the wood sample. Line or
area cameras acquire images of light that is reflected from the wood
sample. Based on the intensity of the reflected light at one or more
locations on the wood sample, compression wood, blue stain, or pitch may
be detected.