<div dir="ltr"><div>Hi Even,</div><div><br></div><div>My bias is towards agriculture drone images, that I was processing in my current employer. To compute vegetation indices the "Central Wavelength" and "FWHM" are the best definition. Different sensors have different "types" of Red, Blue, NIR or LWIR. So I see these two numbers the best option.</div><div>Regarding the units, micro vs nano meters, I do not have a strong opinion. (nano looks nicer in visible range, micro in thermal range).<br></div><div><br></div><div>About the names (in addition to the wavelength and fwhm), I would not go into the details like "green05". That is very specific to a certain satellite, and will be obsolete immediately. I agree with more generic names like pan, blue, green, red, rededge, nir, lwir, ...</div><div>(for agriculture I would say that if I have to choose 3 bands, "red, rededge, nir" would give a lot of information. But of course, other bands are also used)<br></div><div><br></div><div>In Pix4D, for the radiometric correction needed in the images, we defined this XMP namespace years ago:<br></div><div><a href="http://pix4d.com/camera/1.0/">http://pix4d.com/camera/1.0/</a></div><div>There are "Xmp.Camera.CentralWavelength", "Xmp.Camera.WavelengthFWHM" and "Xmp.Camera.BandName". I do not mean that we should do the same, but just an example of how that information was important.</div><div><br></div><div>One question. The IMAGERY metadata is available only on TIF, or also in other file formats like JPG? I mean without any sidecar.</div><div><br></div><div>Cheers,</div><div>Javier.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 31 Aug 2024 at 16:22, Even Rouault via gdal-dev <<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
The GDAL Color Interpretation enumeration is a good start, but is quite <br>
limited regarding band spectral properties with just Red, Green, Bland, <br>
and nothing for other band wavelengths, particularly for infra-red.<br>
<br>
I was looking a bit at the classifications at <br>
<a href="https://en.wikipedia.org/wiki/Infrared#Regions" rel="noreferrer" target="_blank">https://en.wikipedia.org/wiki/Infrared#Regions</a> , and there are several <br>
ones, like the "commonly used subdivision scheme" (NIR, SWIR, MWIR, <br>
LWIR, FIR) or "CIE division scheme" (IR-A, IR-B, IR-C) or "ISO 20743 <br>
scheme" (NIR, MIR, FIR).<br>
<br>
My inclination would rather to re-use the STAC EO classification at <br>
<a href="https://github.com/stac-extensions/eo?tab=readme-ov-file#common-band-names" rel="noreferrer" target="_blank">https://github.com/stac-extensions/eo?tab=readme-ov-file#common-band-names</a>, <br>
which shows a lot of similarities with <br>
<a href="https://github.com/awesome-spectral-indices/awesome-spectral-indices#expressions" rel="noreferrer" target="_blank">https://github.com/awesome-spectral-indices/awesome-spectral-indices#expressions</a> <br>
, and has a nice mapping with a few popular instruments.<br>
<br>
While we are it, should we standardize central wavelength and full width <br>
half max (FWHM), has special properties of a bands rather than generic <br>
text-based metadata, like:<br>
<br>
double GDALRasterBand::GetCentralWaveLengthMicrometer() -> NaN if unknown<br>
double GDALRasterBand::GetFWHMMicrometer() -> NaN if unknown<br>
void GDALRasterBand::SetCentralWaveLengthMicrometer(double)<br>
void GDALRasterBand::SetFWHMMicrometer(double)<br>
<br>
Or maybe just standardize a "CENTRAL_WAVELENGTH" and "FWHM" metadata <br>
items in the "IMAGERY" metadata domain: <br>
<a href="https://gdal.org/en/latest/user/raster_data_model.html#imagery-domain-remote-sensing" rel="noreferrer" target="_blank">https://gdal.org/en/latest/user/raster_data_model.html#imagery-domain-remote-sensing</a> <br>
?<br>
<br>
Thoughts?<br>
<br>
Even<br>
<br>
-- <br>
<a href="http://www.spatialys.com" rel="noreferrer" target="_blank">http://www.spatialys.com</a><br>
My software is free, but my time generally not.<br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div>