Color index representing the dominant wavelength in visible spectrum. Used for color analysis and classification of materials based on their spectral hue characteristics.

Used in urban mapping.

When to use

  • Built-up area mapping and urban extent monitoring
  • Impervious surface estimation for stormwater modelling
  • Urban heat island analysis (combined with thermal data)
  • Land cover change in expanding cities
  • Material classification within urban environments
  • Color Analysis
  • Urban Mapping

Limitations

  • Material heterogeneity within urban pixels produces mixed signatures
  • Roof materials vary widely (metal, asphalt, tile, vegetation) within the same city
  • Shadow effects from tall buildings distort surface reflectance
  • Confusion with bare soil in arid environments is common
  • Temporal changes from construction require frequent updates

General Formula

Red 630-690 nm
Green 530-590 nm
Blue 450-515 nm

Sensor-Specific Formulas

Most-used sensors — click to show code below

SensorProviderFormulaBand Mapping
21ATarctan((2 * Red - Green - Blue) / (30.5 * (Green - Blue)))Red→Red, Green→Green, Blue→Blue
CG Satellitearctan((2 * Red - Green - Blue) / (30.5 * (Green - Blue)))Red→Red, Green→Green, Blue→Blue
USGS/NASAarctan((2 * B4 - B3 - B1) / (30.5 * (B3 - B1)))Red→B4, Green→B3, Blue→B1
USDAarctan((2 * Red - Green - Blue) / (30.5 * (Green - Blue)))Red→Red, Green→Green, Blue→Blue
ESAarctan((2 * B4 - B3 - B1) / (30.5 * (B3 - B1)))Red→B4, Green→B3, Blue→B1
MAXARarctan((2 * Red - Green - Blue) / (30.5 * (Green - Blue)))Red→Red, Green→Green, Blue→Blue
MAXARarctan((2 * Red - Green - Blue) / (30.5 * (Green - Blue)))Red→Red, Green→Green, Blue→Blue

Spectral Band Visualization — BJ3A

Code Examples

Adapted for BJ3A bands —

hue_bj3a.py

Frequently Asked Questions

What is the H (Hue Index) and when should I use it?

Color index representing the dominant wavelength in visible spectrum. Used for color analysis and classification of materials based on their spectral hue characteristics. Urban and built-up indices distinguish impervious surfaces from natural land cover by leveraging the unique spectral properties of construction materials like concrete, asphalt, and metal roofing. H is particularly suited for color analysis, material classification, urban mapping. The general formula is arctan((2 * Red - Green - Blue) / (30.5 * (Green - Blue))), which requires Red and Green and Blue spectral bands.

Which satellite sensors can I use to calculate H?

H is supported by 23 satellite sensors in our database, including BJ3A, BJ3N, Dragonette-1, Dragonette-2/3, Gaofen-1 and 18 more. Each sensor uses different band designations — for example, BJ3A uses the formula arctan((2 * Red - Green - Blue) / (30.5 * (Green - Blue))), while BJ3N uses arctan((2 * Red - Green - Blue) / (30.5 * (Green - Blue))). Select a sensor above to see its specific band mapping.

What spectral bands does H require and why?

H requires Red (630-690 nm), Green (530-590 nm), Blue (450-515 nm). These wavelength regions target the specific spectral features that this index is designed to measure.

How do I calculate H in Python or R?

Both Python and R code samples are provided above. In Python, use rasterio to load individual band GeoTIFF files and numpy for the arithmetic. In R, the terra package handles raster operations efficiently. The key is to load bands as floating-point arrays to avoid integer division, and to handle division-by-zero cases where the denominator equals zero. For production use, consider applying a valid data mask to exclude no-data pixels before calculation.

H vs other urban indices

IndexNameHow it differs
IIntensity IndexAlternative urban index — different band combination
NDBINormalized Difference Built-up IndexAlternative urban index — different band combination
NHFDNon-Homogeneous Feature DifferenceAlternative urban index — different band combination
PISIPerpendicular Impervious Surface IndexAlternative urban index — different band combination

Related Urban Indices

References

Standard color theory

Need help choosing?

Ask our AI assistant for sensor recommendations, code examples, or how H compares to other indices for your specific use case.

Ask AI →