Enterprise-ready security: ISO 27001 + SOC 2 Type I compliant.
Back to Ultralytics Glossary

Hyperspectral Imaging

Explore hyperspectral imaging (HSI), spectral data cubes, AI applications, and YOLO26 workflows for detection, classification, segmentation, and anomaly detection.

Hyperspectral imaging (HSI) combines computer vision and spectroscopy to measure a scene across many narrow wavelength bands. Instead of storing only red, green, and blue values, each pixel contains a detailed spectrum that can reveal material, chemical, or biological properties invisible to conventional cameras. This makes HSI valuable for machine learning systems that must identify substances, assess condition, or detect subtle anomalies. A comprehensive 2026 hyperspectral imaging primer describes HSI as a noninvasive, label-free sensing method, while the NASA hyperspectral data cube overview illustrates how spatial and spectral measurements form a three-dimensional data cube. (nature.com)

Link to this sectionHow Hyperspectral Imaging Works#

A hyperspectral camera measures reflected or emitted energy across dozens to hundreds of neighboring wavelength bands. According to the USGS overview of hyperspectral remote sensing, this continuous sampling allows each pixel to provide a reflectance spectrum. These spectral signatures help distinguish materials that look identical in RGB images; for example, NASA's EMIT imaging spectrometer identifies minerals and atmospheric gases through characteristic absorption patterns. (usgs.gov)

A typical AI pipeline includes:

  1. Sensor calibration and data preprocessing to correct noise, illumination, atmospheric effects, and unusable bands.
  2. Band selection or principal component analysis to reduce hundreds of correlated channels.
  3. Classification, object detection, segmentation, regression, anomaly detection, or spectral unmixing.
  4. Validation on different locations, acquisition dates, and sensors to measure real-world generalization.

Models may process spectra with 1D networks, spatial patches with 2D networks, or joint spatial-spectral volumes using operations such as PyTorch 3D convolution.

Unlike RGB imaging, which uses three broad visible bands, multispectral imaging typically captures a limited set of discrete bands. HSI usually records far more narrow, closely spaced bands, providing greater spectral detail but producing larger, noisier datasets. The USGS guide to spectral resolution explains this trade-off between spectral detail and signal quality. Hyperspectral imaging is also a sensing method, while satellite image analysis describes how orbital imagery is interpreted, and sensor fusion combines HSI with RGB, thermal, LiDAR, or radar data.

Link to this sectionReal-World AI Applications#

Link to this sectionCurrent Best Practices And Developments#

Preserve wavelength metadata, calibration targets, sensor settings, and full-precision measurements; split datasets spatially rather than randomly to prevent data leakage; and validate across seasons and sensors. Workflows should also apply reflectance correction, cloud masking, geolocation, and bandpass harmonization similar to the NASA HLS processing algorithms. (hls.gsfc.nasa.gov)

Recent research is moving toward adaptable spectral foundation models. HyperFree addresses varying channel configurations, while a general-purpose spectral foundation model explores transfer across proximal and remote sensing. Future systems such as ESA's Copernicus CHIME mission reflect growing interest in standardized, large-scale hyperspectral observations. (arxiv.org)

For detection prototypes, selected HSI bands can be stored as multichannel TIFF files. The following runnable example tests this workflow using the COCO8-Multispectral dataset and YOLO26:

from ultralytics import YOLO

model = YOLO("yolo26n.pt")
model.train(data="coco8-multispectral.yaml", epochs=10, imgsz=640)

This dataset simulates ten visible channels and is intended for pipeline testing, not scientific spectroscopy. Real HSI projects should retain calibrated source cubes and select task-relevant bands before training. Teams can manage annotation, experiments, training, and deployment through Ultralytics Platform.

Explore solutions

Real-time AI that works with your team

AI in Robotics

Power smarter machines with Ultralytics YOLO models. Vision AI in robotics drives autonomous navigation, perception, object tracking, and real-time control.
Learn more
Real-time AI that works with your team

AI in Logistics

Streamline logistics with Ultralytics YOLO models. Vision AI enables package inspection, sorting, vehicle tracking, and real-time warehouse safety monitoring.
Learn more
Real-time AI that works with your team

AI in Retail

Reimagine retail with Ultralytics YOLO models. Vision AI powers inventory tracking, shelf monitoring, queue management, and smarter customer insights.
Learn more
Real-time AI that works with your team

AI in Healthcare

Build healthcare solutions with Ultralytics YOLO models. Vision AI in healthcare powers faster medical imaging, smarter diagnostics, and patient monitoring.
Learn more
Real-time AI that works with your team

AI in Manufacturing

Optimize manufacturing with Ultralytics YOLO models. Vision AI drives quality control, defect detection, PPE compliance, and assembly line automation.
Learn more
Real-time AI that works with your operation

AI in Automotive

Apply computer vision in automotive with Ultralytics YOLO models. Vision AI elevates road safety, driver assistance, and vehicle automation for smarter roads.
Learn more
Real-time AI tailored to your operation

AI in Agriculture

Bring vision AI to smart agriculture with Ultralytics YOLO models. Power crop monitoring, livestock tracking, and precision farming for higher, smarter yields.
Learn more
Real-time AI that works with your team

AI in Robotics

Power smarter machines with Ultralytics YOLO models. Vision AI in robotics drives autonomous navigation, perception, object tracking, and real-time control.
Learn more
Real-time AI that works with your team

AI in Logistics

Streamline logistics with Ultralytics YOLO models. Vision AI enables package inspection, sorting, vehicle tracking, and real-time warehouse safety monitoring.
Learn more
Real-time AI that works with your team

AI in Retail

Reimagine retail with Ultralytics YOLO models. Vision AI powers inventory tracking, shelf monitoring, queue management, and smarter customer insights.
Learn more
Real-time AI that works with your team

AI in Healthcare

Build healthcare solutions with Ultralytics YOLO models. Vision AI in healthcare powers faster medical imaging, smarter diagnostics, and patient monitoring.
Learn more
Real-time AI that works with your team

AI in Manufacturing

Optimize manufacturing with Ultralytics YOLO models. Vision AI drives quality control, defect detection, PPE compliance, and assembly line automation.
Learn more
Real-time AI that works with your operation

AI in Automotive

Apply computer vision in automotive with Ultralytics YOLO models. Vision AI elevates road safety, driver assistance, and vehicle automation for smarter roads.
Learn more
Real-time AI tailored to your operation

AI in Agriculture

Bring vision AI to smart agriculture with Ultralytics YOLO models. Power crop monitoring, livestock tracking, and precision farming for higher, smarter yields.
Learn more
Real-time AI that works with your team

AI in Robotics

Power smarter machines with Ultralytics YOLO models. Vision AI in robotics drives autonomous navigation, perception, object tracking, and real-time control.
Learn more
Real-time AI that works with your team

AI in Logistics

Streamline logistics with Ultralytics YOLO models. Vision AI enables package inspection, sorting, vehicle tracking, and real-time warehouse safety monitoring.
Learn more
Real-time AI that works with your team

AI in Retail

Reimagine retail with Ultralytics YOLO models. Vision AI powers inventory tracking, shelf monitoring, queue management, and smarter customer insights.
Learn more
Real-time AI that works with your team

AI in Healthcare

Build healthcare solutions with Ultralytics YOLO models. Vision AI in healthcare powers faster medical imaging, smarter diagnostics, and patient monitoring.
Learn more
Real-time AI that works with your team

AI in Manufacturing

Optimize manufacturing with Ultralytics YOLO models. Vision AI drives quality control, defect detection, PPE compliance, and assembly line automation.
Learn more
Real-time AI that works with your operation

AI in Automotive

Apply computer vision in automotive with Ultralytics YOLO models. Vision AI elevates road safety, driver assistance, and vehicle automation for smarter roads.
Learn more
Real-time AI tailored to your operation

AI in Agriculture

Bring vision AI to smart agriculture with Ultralytics YOLO models. Power crop monitoring, livestock tracking, and precision farming for higher, smarter yields.
Learn more

Let's build the future of AI together!

Begin your journey with the future of machine learning