geo-deep-learning icon indicating copy to clipboard operation
geo-deep-learning copied to clipboard

Multiband rasters as input: improve band selection

Open remtav opened this issue 2 years ago • 0 comments

Based on PR #309, a band selection should be possible for multiband rasters. An easy implementation would be to expect indexes instead of band names for the dataset.bands parameter. Rasterio can use this parameter directly to choose relevant bands. The user would be reponsible of knowing the band corresponding to each index. We'd add this information in our documentation.

This means we'd remove the limit BGR_to_RGB() function. Also the band selection and ordering would happen in the AOI object construction, not as a transform as with BGR_to_RGB().

remtav avatar May 25 '22 12:05 remtav