Spectral Angle Mapper (SAM) classification of AVIRIS-NG imagery to map Bastnaesite [(Ce,La,Nd)FCOβ] at the world-class Mountain Pass Rare Earth Element mine, San Bernardino County, California.
Mountain Pass, California is the largest and highest-grade Rare Earth Element (REE) deposit in North America, and one of the most significant globally. The deposit is hosted within a Precambrian (~1.4 Ga) carbonatite intrusion that pierces Proterozoic gneisses and schists of the Clark Mountain Range. The dominant ore mineral is Bastnaesite [(Ce,La,Nd)FCOβ], a fluoro-carbonate that can carry 60β70% REE by oxide weight and is the world's primary source of light rare earth elements (LREE), including cerium, lanthanum, and neodymium.
This study applies hyperspectral remote sensing using AVIRIS-NG VNIR imagery (547β903 nm, 72 spectral channels) and the Spectral Angle Mapper (SAM) classifier to map Bastnaesite-bearing surface exposures. The ENVI software platform with custom IDL scripting was used for all processing steps. The workflow covers:
Several ENVI classifiers are suitable for hyperspectral mineral mapping. The principal options considered were:
| Classifier | Type | Strengths for REE Mapping | Limitations | Suitability |
|---|---|---|---|---|
| SAM (Spectral Angle Mapper) | Physics-based, unsupervised spectral matching | Illumination-invariant; uses full spectrum shape; outputs quantitative rule image; minimal training data needed (1 library spectrum sufficient) | Insensitive to albedo differences; large angles in mixed pixels | β Best choice |
| Matched Filter | Partial unmixing, sub-pixel | Detects sub-pixel abundances; good for sparse targets | Sensitive to background statistics; assumes Gaussian distribution | β Good alternative |
| SID (Spectral Information Divergence) | Information-theory-based | Sensitive to subtle spectral differences; pairs well with SAM | Computationally intensive; less intuitive threshold | πΆ Complementary |
| Linear Spectral Unmixing | Sub-pixel abundance estimation | Produces fractional abundance maps; ideal for spatially mixed minerals | Requires a complete endmember set; collinearity issues | πΆ Supplementary use |
| Maximum Likelihood | Parametric, supervised | Familiar to geologists; statistically rigorous | Requires large training set; assumes Gaussian per-class distributions | β Not optimal (no training labels) |
| Random Forest / SVM | Machine learning, supervised | High accuracy with sufficient training data | Needs field-verified training labels; black-box; overfits small classes | β Not applicable (no labeled data) |
The AVIRIS-NG image contains 72 spectral bands but bands 43 (762.39 nm) and 44 (767.40 nm)
fall within the atmospheric Oβ-A absorption window and carry unreliable radiance values.
These bands are flagged in the image header (bbl = [..., 0, 0, ...]).
The spectral library was pre-resampled to 70 bands (excluding these bad bands).
For the SAM tool, a 72-element mean array was constructed by inserting 0.0 at positions
43 and 44, with the 70 library values filling the remaining slots. ENVI's SAM algorithm
automatically excludes bad-band positions from the spectral angle computation.
The SpectralAngleMapperClassification ENVI task was run with the following configuration:
The SAM rule raster was analysed to identify the distribution of spectral angles. Key findings:
The RuleRasterClassification ENVI task was applied to the SAM rule raster with:
The binary mask file (MountainPass_mask.dat, value 0 = no-data) was applied to assign
all no-data pixels to the dedicated class Masked Pixels (326,642 pixels),
producing the three-class final classification raster SAM_classification_final.dat.
The HDR was written manually to ensure correct ENVI Classification metadata (file type,
class lookup, class names, and UTM map info).
To visualize the continuous distribution of spectral angles, the ColorSliceClassification ENVI task was run on the SAM rule raster:
The 4,544 Bastnaesite-classified pixels (orange) are spatially concentrated in two principal zones: (1) the northern active open-pit mine, where the carbonatite ore body is exposed by mining benches; and (2) several smaller clusters in the eastern central area, corresponding to mine waste dumps and stockpiles. The dispersed pattern of orange pixels across terraced mine floors is consistent with heterogeneous exposure of the carbonatite ore and country-rock contacts.
| Class | Color | Pixel Count | % of Valid Pixels | Area (mΒ²) | Area (ha) |
|---|---|---|---|---|---|
| Unclassified | Black (0,0,0) | 696,862 | 99.35% | 8,050,604 | 805.1 |
| Bastnaesite | Dark Orange (255,140,0) | 4,544 | 0.65% | 52,509 | 5.25 |
| Masked Pixels | Gray (128,128,128) | 326,642 | N/A (no-data) | β | β |
| Total (valid) | 701,406 | 100% | 8,103,113 | 810.3 |
Reflectance values are stored as integer Γ 10,000 in the image. Divide by 10,000 to obtain fractional reflectance. Bad bands (762, 767 nm) are shown in italics β values are unreliable.
| Band # | Wavelength (nm) | Bastnaesite Mean Refl. (Γ10β»β΄) | Bastnaesite Reflectance | Unclassified Mean Refl. (Γ10β»β΄) | Unclassified Reflectance | Ratio (Bast / Uncl) |
|---|---|---|---|---|---|---|
| 0 | 547.0 | 2,733 | 0.2733 | 1,727 | 0.1727 | 1.58 |
| 5 | 572.1 | 2,803 | 0.2803 | 1,792 | 0.1792 | 1.56 |
| 10 | 597.1 | 3,057 | 0.3057 | 1,912 | 0.1912 | 1.60 |
| 15 | 622.1 | 3,166 | 0.3166 | 1,908 | 0.1908 | 1.66 |
| 20 | 647.2 | 3,260 | 0.3260 | 1,933 | 0.1933 | 1.69 |
| 25 | 672.2 | 3,410 | 0.3410 | 1,989 | 0.1989 | 1.71 |
| 30 | 697.3 | 3,561 | 0.3561 | 2,080 | 0.2080 | 1.71 |
| 35 | 722.3 | 3,687 | 0.3687 | 2,220 | 0.2220 | 1.66 |
| 40 | 747.4 | 3,627 | 0.3627 | 2,384 | 0.2384 | 1.52 |
| 43 | 762.4 β οΈ BAD | (3,884) | (0.3884) | (2,403) | (0.2403) | β |
| 44 | 767.4 β οΈ BAD | (3,947) | (0.3947) | (2,388) | (0.2388) | β |
| 45 | 772.4 | 3,967 | 0.3967 | 2,390 | 0.2390 | 1.66 |
| 50 | 797.5 | 3,766 | 0.3766 | 2,576 | 0.2576 | 1.46 |
| 55 | 822.5 | 4,176 | 0.4176 | 2,539 | 0.2539 | 1.64 |
| 60 | 847.5 | 4,258 | 0.4258 | 2,553 | 0.2553 | 1.67 |
| 65 | 872.6 | 4,202 | 0.4202 | 2,620 | 0.2620 | 1.60 |
| 70 | 897.6 | 4,349 | 0.4349 | 2,622 | 0.2622 | 1.66 |
| 71 | 902.6 | 4,387 | 0.4387 | 2,632 | 0.2632 | 1.67 |
β οΈ Bad band values in parentheses are unreliable due to Oβ-A atmospheric absorption and were excluded from the SAM spectral angle computation.
The Mountain Pass deposit is a Proterozoic carbonatite intrusion (~1.4 Ga) emplaced into Proterozoic gneisses and schists of the Mojave Desert terrane. The carbonatite body (locally called the "Sulfide Queen" body) consists dominantly of calcite and dolomite carbonatite with subordinate baritocelestite, barite, and accessory sulfides. The REE mineralization is concentrated in Bastnaesite, a fluoro-carbonate mineral with the formula (Ce,La,Nd)FCOβ. Cerium is the dominant rare earth cation (~49%), followed by lanthanum (~34%) and neodymium (~12%).
Bastnaesite forms yellowish-waxy to brownish hexagonal crystals, commonly intergrown with barite, calcite, and dolomite. The ore body has been mined intermittently since the 1950s. At its peak in the 1980sβ1990s, Mountain Pass supplied ~25% of global REE production. After a period of closure, production restarted in 2017 under MP Materials Corp.
The spectral signature of Bastnaesite in the VNIR (400β1000 nm) is controlled by two mechanisms:
The classified Bastnaesite pixels exhibit a steeply rising NIR reflectance (0.2733 at 547 nm β 0.4387 at 903 nm), consistently 1.5β1.7Γ brighter than the unclassified background terrain. This behaviour is a hallmark of bright carbonate rocks and is consistent with exposures dominated by carbonatite mineralogy (calcite, dolomite, barite, and Bastnaesite).
The minimum SAM angle across all valid image pixels is 0.402 rad (~23Β°). This is unusually large compared to standard mineral mapping thresholds of <0.05β0.10 rad for confident pure-mineral identification. The elevated angles are attributable to the following factors:
The 4,544 Bastnaesite-classified pixels cover approximately 5.25 hectares (52,509 mΒ²), representing 0.65% of the valid image area. Their spatial distribution is geologically meaningful:
The complete SAM classification pipeline has been encoded as a reusable
ENVI Modeler workflow (MountainPass_Bastnaesite_SAM.model).
This allows the analysis to be repeated on any compatible hyperspectral dataset with
minimal configuration β only two inputs need to be provided at runtime.
| Stage | Node | Purpose | Key Parameters |
|---|---|---|---|
| (1) | User Inputs | Runtime inputs provided by the user | Hyperspectral raster + Spectral Library (.sli) |
| (2) | EndmemberCollection | Resamples spectral library to image wavelengths; handles bad-band positions automatically | spectral_library β input_raster |
| (3) | SpectralAngleMapperClassification | Computes per-pixel spectral angle; outputs continuous rule raster (radians) | mean, class_names, class_colors from stage 2; output_rule_raster_uri = "!" (temp) |
| (4a) | RuleRasterClassification | Thresholds the rule raster to produce a discrete classification | minimum_rule = true; threshold = [0.46 rad] |
| (4b) | ColorSliceClassification | Creates a 10-colour gradient map of the rule raster for visual QC | number_of_ranges=10; range_size=0.01; data_minimum=0.40; color_table="Rainbow" (full, black for outside range) |
| (5) | ClassificationStatistics | Computes per-class pixel counts and per-band spectral statistics | input_class_raster from stage 4a; input_raster from stage 1 |
| (6) | Workflow Outputs | Exposes three outputs for downstream use | Rule raster Β· Classification Β· Color Slice |
MountainPass_Bastnaesite_SAM.model via File > Open.
threshold.
To change the mineral target, supply a different spectral library
and optionally add spectra_names to the EndmemberCollection node
to select specific spectra from a multi-spectrum library.
| File | Description | Format |
|---|---|---|
| SAM_rule_raster.dat / .hdr | SAM spectral angle raster (0.40β0.80 rad, float32) | ENVI BSQ |
| SAM_classification_final.dat / .hdr | Final 3-class classification (Unclassified / Bastnaesite / Masked Pixels) | ENVI Classification |
| SAM_rule_colorslice2.dat / .hdr | Color slice (10 intervals Γ 0.01 rad, 0.40β0.50 rad, full Rainbow, black = outside range) | ENVI Classification |
| classification_statistics.txt | Per-class pixel counts, per-band min/max/mean/stddev | JSON |
| screenshot_rgb.png | AVIRIS-NG CIR composite (NIR/Red/Green) | PNG |
| screenshot_classification.png | ENVI display screenshot β final classification map | PNG |
| screenshot_rule_raster.png | ENVI display screenshot β SAM rule image | PNG |
| screenshot_colorslice.png | ENVI display screenshot β raster color slice with color legend bar | PNG (2178 Γ 968 px) |
| spectrum_cr_comparison.png | Continuum-removed spectrum comparison (SLI reference vs. SAM pixels mean) | PNG (1200 Γ 560 px) |
| screenshot_model.png | ENVI Modeler workflow diagram | PNG |
| MountainPass_Bastnaesite_SAM.model | Reusable ENVI Modeler workflow file | .model |
| MountainPass_SAM_Report.html | This report | HTML |
| MountainPass_SAM_Presentation.pptx | PowerPoint presentation | PPTX |