Skip to main content

What Is Hyperspectral Imaging?

Learn how hyperspectral scanning captures a spectrum at each pixel and how spectral data can reveal differences between materials.

Screenshot of mineral mapping software showing RGB vs hyperspectral scans of a rock core

Learning Center

Mike Sullivan

Mike Sullivan

CTO & Founder

Mike is the founder and CTO of SensIR. He brings more than 40 years of experience in optical design, spectroscopy, and remote sensing.

What Is Hyperspectral Imaging?

If a picture is worth 1,000 words, then a hyperspectral image is worth 1,000 pictures.

Hyperspectral imaging captures an image across many narrow, closely spaced wavelength bands, giving you a spectrum at every pixel. A point spectrometer measures how light varies with wavelength at one spot on a sample. A hyperspectral imager makes that measurement across a scene, so you can see where different materials or properties occur.

Imagine two sections of drill core that look nearly identical in a color image. If the minerals at their surfaces absorb light differently, their spectra may reveal a difference. Because each spectrum is tied to a location, you can see where that difference occurs along the core.

How does hyperspectral imaging work?

In a reflectance imaging setup, a light source illuminates the sample and the instrument collects the light reflected from its surface. Materials absorb and reflect different amounts of light at different wavelengths. On a reflectance plot, an absorption feature appears as a dip. The position and shape of that dip can help distinguish one material from another.

An RGB camera records three broad bands of visible light. A multispectral imager typically records a smaller set of selected bands, which can include wavelengths beyond visible light. A hyperspectral imager samples many closely spaced bands, so you can see the shape of a spectral feature that a few selected bands might miss.

How does hyperspectral line scanning work?

Hyperspectral line scanning diagram for core logging

At SensIR, we use pushbroom scanning, also called line scanning. Here’s what happens in a single exposure.

  1. A narrow slit selects one line across the sample.
  2. Inside the spectrometer, a diffraction grating spreads the light from each point along that line by wavelength. If the slit is oriented vertically, each row of the detector contains a spectrum for one position along the slit. Read across the row to see how the measured light varies with wavelength.
  3. To build the full image, we move the scan line across the sample and capture successive exposures. Each exposure adds another line of spectra.

On a production line, the sample can move beneath a fixed imager. In an airborne system, the aircraft carries the imager across the scene. A gimbal can also sweep the imager’s field of view across a stationary target.

How SensIR designs a hyperspectral imager

Diagram of a SensIR hyperspectral design

A hyperspectral imager needs to capture enough light to distinguish the spectral features you care about, at the spatial detail and scan speed your application requires. Four parts of the optical design help determine that performance.

  1. Pushbroom scanning captures spatial and spectral detail. Each exposure records a spectrum at every sampled point along a narrow line. Successive exposures build a two-dimensional image. This approach supports fine spatial detail across the sample and fine spectral detail along the wavelength axis.

  2. High-throughput spectrographs collect more light. SensIR uses lens-based spectrographs with a high numerical aperture (NA), which lets the optics accept light over a wider cone. More light at the detector gives a stronger signal for the same exposure. That can allow shorter exposures and faster scan rates while preserving the signal quality the application needs.

  3. Volume phase holographic (VPH) gratings separate light efficiently. The grating spreads light by wavelength so the detector can measure a spectrum. A VPH grating can be designed for high diffraction efficiency over the wavelength range of interest, directing more light into the measured spectrum while helping keep stray light low.

  4. Custom front-end optics match the imager to the application. The optics in front of the spectrograph determine how the sample is imaged onto the slit. SensIR can tailor these optics to the working distance, field of view, and smallest feature the system needs to resolve. A scanner that needs to cover a full drill-core tray has different requirements from one designed to inspect a small sample up close.

What is a hyperspectral data cube?

Hyperspectral data cube showing a grayscale image at one wavelength and a reflectance spectrum from one pixel.

A hyperspectral data cube is the three-dimensional array of measurements that makes up a hyperspectral image. Two axes describe where the light was measured, and the third describes which wavelength band was measured. The term cube describes how the data is organized. The three axes can have different lengths.

In a pushbroom system, each exposure records position along the slit on one detector axis and wavelength on the other. That gives you a spectrum for every sampled point along a single line. As the sample moves past the imager, each new exposure adds the next line. The sequence of exposures supplies the second spatial axis.

For example, suppose a drill-core scanner records 640 positions across the tray and 200 wavelength bands per exposure. After 1,000 exposures, the scan contains a data cube of 640 × 1,000 spatial pixels, with 200 wavelength measurements per pixel. The 640 positions run across the tray, and the 1,000 lines run along it.

There are three common ways to look at the same cube:

  • View a single wavelength band. Hold wavelength fixed and look across both spatial axes. You get a grayscale image showing how the scene responds in that band.
  • Plot a spectrum. Pick one pixel and read across the wavelength axis. You get a curve showing how the measured light varies with wavelength at that point. Compare spectra from two locations on the core to see where their absorption features differ.
  • Make a color composite. Assign three selected bands to the red, green, and blue display channels. Bands from the visible region can produce a natural-looking view. Using infrared bands produces a false-color image that can make differences easier to see.

The cube can hold raw detector readings or calibrated measurements. In a typical reflectance workflow, a dark reference accounts for the detector signal recorded without light. A white reference with known reflectance helps account for wavelength-dependent illumination and instrument response. Together, these references help convert raw readings into estimated reflectance that you can compare across the sample.

What do you do with hyperspectral data?

The analysis depends on the question you want the scan to answer. If you know which absorption feature to look for, you can measure its depth at each pixel and map where it is strongest. If you want to identify likely materials, you can compare the measured spectra with a reference library. In drill-core scanning, either approach can help a geologist see where the mineralogy may change along an interval.

Artificial intelligence (AI) and machine learning (ML) can help when the answer depends on patterns across many wavelengths or when several materials have overlapping spectral features. A supervised model can learn from representative samples with known labels or independent measurements. It can then classify pixels by likely material or estimate a property, such as moisture content. Some models use the spectrum at each pixel, while others also use the surrounding pixels to take spatial context into account.

For example, a model trained on drill-core samples with independently confirmed mineralogy could generate a mineral classification map for a new interval. Before relying on that map, test the model on cores it did not see during training. If the system needs to work across different sites, instruments, or sample conditions, include those differences in validation. When a single absorption feature answers the question reliably, a simple feature map may be enough.

Could hyperspectral imaging work for your application?

Tell us what you’re trying to measure and where the system would operate. We’ll help you narrow down the wavelength range, identify what to test on representative samples, and determine how a scan could fit into your workflow.