featured image for Capturing accurate color board scans for value recovery with area cameras

Capturing accurate color board scans for value recovery with area cameras

3 August 2018

Guest Post: Terry Arden, CEO, LMI Technologies

The use of 3D scanning technology in the wood industry has evolved significantly since first introduced into saw and planer mills. Initially, 3D scanners were used to measure the shape of logs and boards in order to extract the greatest amount of lumber from the wood (i.e., volume recovery).

Today, complementary technologies are used to extract the highest quality from the wood (i.e., value recovery). Color imaging systems are essential in generating the high-resolution images required for surface defect detection, which leads to grade-based cutting decisions.

Building a Color Scanning System

Building a color scanning system requires a color camera, a lens, and lighting. The color camera can use either linear or area scan camera technology. The choice of which of these two technologies to use affects the overall design of the color system. Understanding linear vs. area camera operation is the key to picking a lighting solution that offers long lifetimes.

Generating a 2D Color Image of the Board Surface with Linear Cameras

A linear camera chip consists of one row of pixels. A lens is chosen to map this row of pixels to a suitable resolution across the board length––for example 0.5mm/pixel. To scan a board moving on a conveyor along the board width (transverse scanner), an encoder is used to track motion and trigger the camera one row at a time, at a suitable resolution across the board width––for example 0.5mm (Fig. 1). This is how a 2D color image is created of the board surface with 0.5mm x 0.5mm pixel resolution.

Fig. 1 Pixels are mapped from the board surface to a linear camera, with transverse board motion.

To produce color, an RGB mask is applied over the pixels to deliver a repeating sequence of red, green, and blue color pixels (Fig. 2).

Fig 2. A single row of pixels encoded by a color mask.

In some cases, a linear camera may offer 3 rows of pixels––one for each color (Fig. 3). This is called a trilinear camera.

Fig. 3 Trilinear cameras offer three pixel rows––one for each R, G, B color.

For trilinear cameras, you will need 3x the encoder trigger rate to achieve the same color density as a linear camera. Aligning the encoder triggers so the same board surface is sampled by each color is difficult to achieve and often leads to color artifacts. For a linear camera, you will need 3x the number of pixels in a row to get the same color density as a trilinear camera. With today’s linear cameras, high pixel density along a row is easily achieved.

Continuous Lighting and the Duty Cycle

Both linear and trilinear cameras require a continuous source of white light to illuminate the board surface. Since linear cameras are always capturing the next row of data while the previous row is being read out, the lighting system must always be on (Fig. 4).

Fig. 4 The light source must always be on when using linear or trilinear cameras.

The ratio of time that the light is on, to the period of the camera frame rate (period = 1 / frame rate), is called the duty cycle (duty cycle = exposure time / period). The duty cycle largely determines the lifetime of a light source. Due to heat, a high duty cycle will require more frequence light replacement than a lower duty cycle.

Linear camera-based scanning designs have a high duty cycle, which results in shorter light lifetimes. In these scanning designs the light source is inefficient, with high power-loss due to heat. Heat shortens component lifetime. This is why it is common to see LED light bars with large heat sinks to dissipate heat.

In addition, the light source in linear scanning designs must be very close to the board surface for maximum illumination brightness, creating a mounting strategy where the cameras are high up (say 1-2m), and the light is relatively close to the oncoming board. This is not a desirable configuration.

Area Cameras and Longer Lighting Lifetime

The alternative to a linear camera is an area camera. An area camera is composed of a 2D array of pixels that are mapped by a lens onto an area of the board surface. Area cameras use a color mask to encode pixels into R, G, and B elements in a pattern known as a Bayer filter. This Bayer pattern is decoded later by software to produce color for every pixel on the 2D array.

For the purposes of this discussion, assume we use a 2D array with 10 rows (note: a 2D array is just a linear with more rows). If we wanted 0.5mm resolution for each row, like we did in the linear example, then the encoder will trigger the capture of an area when the board moves every 5mm (0.5mm/row x 10 rows = 5mm) (Fig.5). Now we are reading a small “patch” of pixels––not just a row. Each patch is then stitched to build a 2D color image based on encoder stamps that identify the exact start location of each pixel patch.

Fig. 5 Area cameras read a “patch” of pixels rather than a line.

Now, let’s consider what happens with the lighting in this type of system design. We still need white illumination to produce color images, but the duty cycle is very different. The ON time of the light spans the duration it takes to expose one row (since we want to “stop” motion for 0.5mm––just like in a linear camera). The rest of the time (9 rows), the light is OFF while we wait for the 5mm of board motion to complete (Fig. 6).

Fig. 6 With an area camera, the light is only ON during the time it takes to expose one row.

During the time the light is ON, all 10 rows are exposing. The duty cycle is therefore very low (1/10 or 10%), not the 100% cycle of a linear system. This means the light can be strobed for a very short period––ON for one row, and OFF for 9 rows. Strobing an LED light can lead to very intense light output as long as the duty cycle is very low, so the LED never heats up, which results in a much longer lifetime (eg., 10 years vs. 1 year).

With strobed LED lighting, LEDs can be overdriven at a much higher current to produce 5x more intensity. This allows lighting to be conveniently mounted and wired close to the cameras, and kept physically out of the way of board movement (Fig 7).

Fig. 7 Low duty cycles and strobed LED lighting allow light placement close to the camera.

Once we have generated a 2D color image, the data is further white balanced for accurate color representation, and scaled based on the height variation of the board using profile data taken from a 3D scan of the same region (Fig 8). A color pixel has a different physical size on the board surface at one height than at another height. If color pixels are not corrected for height, then the dimension of defects (e.g., knots) will be incorrect.

Fig. 8 2D data is white balanced and scaled based on 3D height variation.

Modular, Area Camera System Design with Easy Bolt-On Lighting

At LMI, our Gocator 200 series of modular scanner systems are designed around the area camera principle. An LED light bar generates white light illumination and is strobed for a short ON time but at high intensity to scan even the darkest board surfaces. The timing of LED lighting is synchronized to the area camera exposures precisely. The resulting color patches are stitched into a single seamless image, white balanced, and then scaled based on board height variation.

The 3D profiling scan data from a Gocator 210, 230, or 250 scanner is aligned to the color scan plane of a bolt-on Gocator 205, so 3D data can be used to scale the color image data. All of the software needed to capture 2D color with 3D profile and tracheid is provided to customers in an open source SDK. The SDK shows how to manage the many sensors in an optimizer in order to build high definition data models. These models are processed by machine vision algorithms (supplied by OEM) in order to extract wane and defects, and compute optimal cutting patterns. Gocator makes it easy to mix 3D with 2D color in order to build custom solutions for a variety of machine centres in saw and planer mills.

Source and images credit: LMI

More Posts

Image

From fibre to fuel: Finding more value in wood residues

More than 160 delegates gathered in Brisbane late September for Residues2Revenues 2026, the first Australian event in the series in more than a decade. Over two days, the programme explored a question that’s becoming increasingly relevant to the forestry and ...
Read more
Image

New Pan Pac hub a shrine to pine

It’s taken over three years since Cyclone Gabrielle devastated Pan Pac’s Whirinaki industrial operations for all the company’s workers to be back onsite again. Pan Pac was one of the worst hit businesses in the region in 2023 with its ...
Read more
Image

MPI launches new forestry & wood processing dashboard

The Ministry for Primary Industries (MPI) has launched a new Regional Forestry and Wood Processing Dashboard, providing an interactive way to view forestry and wood processing data across New Zealand regions. MPI Director Forestry Insights Debbie Ward says the dashboard ...
Read more
Image

Improved safety at SCA’s terminals with AI

Sweden-based SCA, Europe’s largest private forest owner, is introducing AI-based camera systems to improve safety at its wood terminals, sawmills and industrial sites following a group-wide pilot project at Torsboda and Töva. The initiative focuses on common vehicle-related risks, including ...
Read more
Image

Operating at scale: The off-highway advantage

Inside Kaingaroa, the heavy lifting happens off the public highway. A privately managed off-highway road network runs around the clock, moving logs efficiently from harvest sites to processing or rail. “The forest’s scale lets us plan and coordinate properly,” says ...
Read more
Image

Milestone for Jubilee Sawmill’s $88m bioenergy project

Construction of OneFortyOne’s $88 million Co-Generation Boiler project facility has reached another significant milestone, with the project’s boiler now in place at the Jubilee Sawmill. With crews on site before sunrise on 16 September, months of planning culminated in the ...
Read more
Image

KEITH showcases faster unloading with new RX2 drive

At last month’s Residues2Revenues 2026 conference in Brisbane, material handling specialist KEITH Manufacturing Co. showcased its updated two-cylinder RX2 WALKING FLOOR® drive unit, designed to improve unloading and turnaround times for the wood-products sector. With truck turnaround times directly affecting ...
Read more
Image

Lignin resin delivers flame retardancy without formaldehyde

Researchers have developed a bio-based, formaldehyde-free phenolic resin derived from lignin that provides fire protection, strong adhesion, and zero toxic off-gassing for timber products. Published in the journal Green Chemistry, the study details how the new material, dubbed SALG-PR, functions ...
Read more
Image

Future-focused learning

In 2026, the WIDE Trust supported four young professionals to attend the WoodTECH 2026 Conference in Rotorua, giving them the opportunity to engage with one of New Zealand’s leading events for wood processing and manufacturing innovation. WoodTECH brings together engineers, ...
Read more
Image

Comact launches Comact Cutting Solution

Comact, a global leader in high-performance OEM wood processing technologies, announced this week the launch of Comact Cutting Solutions, bringing together Smith Sawmill Service, Oleson Saw Technology, Checkmate Precision Cutting Tools, and the proprietary BLADE brand under a common organizational ...
Read more
Image

Untapped wood from forestry to help fuel NZ industry

The country’s supply of sustainable wood fuel is ramping up with work underway to capture previously unused forestry material and investigate new wood energy manufacturing plants.   “When businesses are looking at energy options, woody biomass could provide an economic alternative ...
Read more
Image

Biomass trial produces industrial heat at less than $3/GJ

A biomass trial at JBS Riverina’s Yanco facility in New South Wales has produced thermal energy at a supply cost of less than $3 per gigajoule (GJ), highlighting the potential for biomass to provide a lower-cost alternative to conventional industrial ...
Read more
Image

Beyond Woodchips: Australia’s hardwood plantation industry must innovate

For more than three decades, Australia’s hardwood plantation industry has been built on a simple but largely successful business model: growing world-class plantation fibre for export to Asia’s pulp mills. It has underpinned regional economies, attracted significant investment and established ...
Read more
Image

UBC-developed ‘wood foam’ enters production

Inside a new facility at Main Street and Terminal Avenue, wood fibre is moving through a production line and emerging, transformed, as a block of lightweight “wood foam.” For Dr. Feng Jiang, who first developed the material in his laboratory ...
Read more
Image

Free program to help SMEs advance AI and digital tech ideas in Queensland

The free eight-week online program, delivered by Australia’s national science agency, CSIRO, helps businesses turn early-stage ideas into actionable R&D plans while building connections with expert facilitators and researchers. Offered through the Queensland Government-funded Regional University Industry Collaboration (RUIC) program, ...
Read more
Image

Canada and Australia are asking similar questions – but arriving at different answers

New Canadian research echoes themes explored by Australia’s System 600 while highlighting different approaches to industrialised housing. When Perkins&Will recently released its research into a modular mass timber housing system for Canada, the immediate takeaway was straightforward: another country is ...
Read more
Image

Enforcement data reveals where forestry needs to lift its game

Strengthening organisational capability, planning, supervision and risk management remains one of the forestry sector’s biggest challenges, according to new enforcement data released by WorkSafe New Zealand. During the 2025/26 business year, WorkSafe conducted 526 assessments across the forestry industry. One ...
Read more
Image

Testing New Zealand’s first heavy electric loader

A Volvo L120 Electric wheel loader is helping PermaPine test what sustainable equipment can really deliver in one of New Zealand’s most demanding timber processing environments. Set on a 100-acre site outside Taupō, PermaPine is New Zealand’s largest manufacturer of ...
Read more
Image

Turning forestry waste into Australian-made jet fuel

The federal government has announced a $32 million investment to help support a plan to convert forestry waste into Australian-made jet fuel. The funding, made through the Australian Renewable Energy Agency (ARENA), will be provided to Melbourne based company HAMR ...
Read more
Image

Project update: Connecting forests, mills and buildings

ARC Advance Timber Hub Project “An Open-Data Framework for Forest-to-Building Value Chain Mapping” is addressing a major challenge for Australia’s forest and wood products sector: how to better understand, visualise and coordinate data across the entire value chain – from forest resource ...
Read more
Image

Red Stag’s first-of-a-kind CLT modular production line

The Prime Minister, Christopher Luxon, opened the Southern Hemisphere’s first off-site production line to use Cross Laminated Timber, CLT, as the structure. The initiative is a collaboration between local industry leader Red Stag, German architecture firm NKBAK and Austria constructor ...
Read more