be extracted from the measured data and used for
classification. Second, we use a conventional RGB
camera with spectrally optimised lighting to classify
a series of samples.
We applied this approach to a number of samples
supplied by our client. Afterwards the client was
asked to examine the samples by hand and compare
his judgement with our classification. In all cases the
client agreed with the classification and was satisfied
with the approach. This evaluation is, like that of the
consumer, subjective. However, the fact that this
approach gave satisfactory results suggests that the
optimised lighting approach is superior to an earlier
approach based on a high end colour linescan
camera.
2 BACKGROUND
Yellow stain is a discolouration of cut hardwood
affecting European oaks, chestnut and walnut
species. The discolouration is the result of tannic
acids being metabolised by the fungus Paecilomyces
variotii. The initial infection and its progression are
closely associated with the vascular structure of the
wood. Fungal spores enter the structure of the wood
in regions where the vascular structure has been
breached, e.g. the wood has been cut across the
grain. The infection then spreads most rapidly along
the tracheids, especially through the less dense
earlywood. Because the spread of the infection is
largely determined by the microstructure of the
wood, the visible results are correlated with the grain
of the wood. Therefore although the stained regions
may extend over long distances in the grain
direction, they are often spatially localised in the
perpendicular direction. Colour measurements must
therefore be both spectrally accurate and spatially
localised.
Hyperspectral imaging allows measurement of
the colour spectrum at each pixel in an image. The
result of a hyperspectral measurement is a three
dimensional data set (or spectral cube) with two
spatial dimensions (as with a normal image) and a
third dimension corresponding to the colour
spectrum. In fact the particular camera, sensor and
lighting combination used in this report extends the
colour spectrum into the NIR and has a working
range from 380nm to 950nm. Our system is based
on an imaging spectrograph which diffracts light
along one of the axes of the sensor plane. Each
frame from the camera has one spatial and one
spectral axis. The spectrograph performs push-
broom scanning, i.e. it is used as a line scan camera,
with the spectral cube being built up slice by slice as
each frame is captured. Hyperspectral imaging has
been used for online inspection, however in this
paper we will use it as an analytical tool to optimise
a conventional inspection system.
3 HYPERSPECTRAL
MEASUREMENT SETUP
3.1 Lighting
The spectral range of the imaging system is defined
by the design of the imaging spectrograph, the
response of the camera, and the spectrum of the
incident illumination. In general we use tungsten
halogen lamps because they are broadband,
economical and are capable of supplying the large
amount of light required by a hyperspectral system.
They approximate a black body radiator and
therefore suffer from a significant disadvantage for
colour measurement: they are relatively weak at the
blue end of the spectrum.
It is critical that our hyperspectral measurement
system has sufficient signal in the blue. The X-Cite
source (Lumen Dynamics, Canada.) is largely
composed of a number of narrowband spectral peaks
and would normally not be considered for spectral
measurements Figure 2. However, by combining it
with the tungsten halogen source and reducing it to
12% of its maximum value, we can extend the
spectral range of the system further into the short
wavelengths without reducing the system’s dynamic
range.
3.2 HS Measurement Setup
The measurement uses a Jai CV M4 CL
monochrome camera, 10 bits, 1380 x 1030 pixels,
with a V10 (150µm slit) Imspector (Specim,
Finland) and a 25mm lens (Electrophysics, USA).
The sample is lit with two 500W tungsten halogen
lamps run from a dc power supply, and a metal
halide light source (Lumen Dynamics, Canada.). The
samples were scanned using a linear stage (National
Instruments, USA) with a longitudinal resolution of
300µm and a lateral resolution of 75µm. Between
300 and 500 frames were captured for each sample
giving raw data sets of between 1 and 2Gb. To
validate the system we imaged a series of colour
standards (Labsphere, USA). Our measurements
conform closely with the published reflectance
curves.
ICPRAM 2012 - International Conference on Pattern Recognition Applications and Methods
552