shangshang/spectral-data-collection
高光谱遥感数据集 (Spectral Data Collection) 概述 本数据集包含遥感领域常用的高光谱影像数据和光谱参考数据,用于地物分类、植被监测、城市分析等研究。 数据集列表 1. Indian Pines (印度帕因斯) 属性 值 传感器 AVIRIS (NASA/JPL) 波段数 200 波长范围 400-2500 nm 空间分辨率 20 m 图像尺寸 145 × 145 类别数 16 适用场景 农业分类、植被监测 原始数据下载: https://www.ehu.eus/ccwintco/index.php?oldid=16536 2. Salinas (萨利纳斯) 属性 值 传感器 AVIRIS 波段数 204 波长范围 400-2500 nm 空间分辨率 3.7 m 图像尺寸 512 × 217 类别数 16… See the full description on the dataset page: https://huggingface.co/datasets/shangshang/spectral-data-collection.
0108
高光谱遥感数据集 (Spectral Data Collection)
概述
本数据集包含遥感领域常用的高光谱影像数据和光谱参考数据,用于地物分类、植被监测、城市分析等研究。
数据集列表
1. Indian Pines (印度帕因斯)
原始数据下载: https://www.ehu.eus/ccwintco/index.php?oldid=16536
2. Salinas (萨利纳斯)
3. Pavia University (波维亚大学)
目录结构
spectral_data/
├── datasets/ # 原始数据(如可用)
├── cleaned/ # 清洗后的数据
│ ├── indian_pines.jsonl # 21025个样本
│ ├── salinas.jsonl # 5000个样本
│ ├── pavia_uni.jsonl # 3000个样本
│ ├── usgs_materials.json # USGS材料光谱库
│ ├── vegetation_indices.json # 植被指数公式
│ ├── spectral_sensors.json # 传感器参数
│ └── summary.json # 汇总信息
└── README.md # 本文件数据格式说明
JSONL格式 (indian_pines.jsonl)
每行一个JSON对象:
{
"dataset": "indian_pines",
"pixel_id": 0,
"class": 1,
"band_count": 200,
"spectrum": [0.05, 0.08, ...],
"full_spectrum_path": "spectra_0.npy"
}类标签定义 (Indian Pines)
植被指数计算公式
常用高光谱传感器
Python加载示例
import json
import numpy as np
# 加载Indian Pines
data = []
with open('cleaned/indian_pines.jsonl', 'r') as f:
for line in f:
record = json.loads(line)
data.append(record)
# 提取光谱和标签
spectrum = np.array([d['spectrum'] for d in data])
labels = np.array([d['class'] for d in data])
print(f"数据形状: {spectrum.shape}")
print(f"类别分布: {np.bincount(labels)}")更多资源
许可说明
- Indian Pines, Salinas, Pavia: 学术研究用途开放
- USGS数据: Public Domain (公共领域)
- 其他数据请参考原始来源许可
