OSGeo / gdal

GDAL is an open source MIT licensed translator library for raster and vector geospatial data formats.
https://gdal.org
Other
4.9k stars 2.55k forks source link

ENH: gdal_pansharpen - add Gram-Schmidt method #5286

Open remi-braun opened 2 years ago

remi-braun commented 2 years ago

Hello,

Gram-Schmidt pansharpening method's patent has expired in 2018. I don't know if it is possible, but it would be wonderful to add it to the gdal_pansharpen tool, as it is - in my opinion - the best pansharpening method.

Best Regards,

rouault commented 2 years ago

I don't know if it is possible

"Everything is possible". It just requires time for knowledgeable people. Is it something you'd want to contribute ?

remi-braun commented 2 years ago

I would love to, but I feel it's a bit out of my league 😅 (I a not fluent in C++ and technically it seems a bit complicated for me) But as a user, I think this is the only drowback of gdal tool compared to i.e. arcgis tool that is extremely slow. If a good samaritan walks by...

dimomatt commented 2 years ago

I could be interested in contributing to this- might end up being a bit much, but would be worth trying.

rouault commented 2 years ago

The main entry points where this should be done are in alg/gdalpansharpen.cpp and frmts/vrt/vrtpansharpened.cpp

dimomatt commented 2 years ago

great.