Deadwood-ai / deadwood-api

Main FastAPI application for the deadwood backend
GNU General Public License v3.0
0 stars 0 forks source link

Should the spectral properties be computed automatically? #77

Closed JesJehle closed 1 month ago

JesJehle commented 1 month ago

Currently, the spectral_properties is set by the user, although its. not implemented in the upload modal yet. I think it would be better to set this programmatically. @cmosig What do you think? its: image_spectral_properties (manually; string, RGB or NIRRGB) But we only have RGB, i think.

cmosig commented 1 month ago

Spectral properites cannot be computed automatically, because there is no standard how to encode this in the GeoTIFF as far as I am aware.

Either we make the user select if its RGB or NIRRGB (and then specify which in which order bands must be) or we limit ourselves to only RGB. I think the first option is better.

JesJehle commented 1 month ago

Ok, so i add another toggle for spectral properties with RGB as default.