Airphen#
- class torchgeo.datasets.Airphen(paths='data', crs=None, res=None, bands=None, transforms=None, cache=True, time_series=False)[source]#
Bases:
RasterDatasetAirphen dataset.
Airphen is a multispectral scientific camera developed by agronomists and photonics engineers at Hiphen to match plant measurements needs and constraints.
Main characteristics:
6 Synchronized global shutter sensors
Sensor resolution 1280 x 960 pixels
Data format (.tiff, 12 bit)
SD card storage
Metadata information: Exif and XMP
Internal or external GPS
Synchronization with different sensors (TIR, RGB, others)
If you use this dataset in your research, please cite the following paper:
Added in version 0.6.
- all_bands: tuple[str, ...] = ('B1', 'B2', 'B3', 'B4', 'B5', 'B6', 'B7', 'B8')#
Names of all available bands in the dataset
- rgb_bands: tuple[str, ...] = ('B4', 'B3', 'B1')#
Names of RGB bands in the dataset, used for plotting
- plot(sample, show_titles=True, suptitle=None)[source]#
Plot a sample from the dataset.
- Parameters:
- Returns:
a matplotlib Figure with the rendered sample
- Raises:
RGBBandsMissingError – If bands does not include all RGB bands.
- Return type: