PANOimagen / batch_hillshader

Plugin to generate a three light exposure hillshade (shaded relief by combining three light exposures)
GNU General Public License v3.0
16 stars 3 forks source link

Feature Request: Use OpenCL/C++ QGIS Hillshade Algorithm #5

Open Saijin-Naib opened 4 years ago

Saijin-Naib commented 4 years ago

If this tool doesn't already use the newer C++/OpenCL acccelerated Hillshade Processing Algorithm available in QGIS 3.4+, I think it might strongly benefit from doing so.

RobertoPanoi commented 4 years ago

Thank you for your contribution, you mean the tool that QGIS uses for shading (gdaldem hillshade)? In raster menu> analysis> hillshade? We will look at it. Thank you

Saijin-Naib commented 4 years ago

Roberto,

Yes, in recent builds of QGIS, that tool is (optionally) accelerated with OpenCL and written in C++, and is orders of magnitude faster than the older implementation.

Having your plugin use this implementation would likely speed up the generation of the three intermediate products greatly.

I have an open issue with QGIS trying to explore whether or not the Export to Image and Convert map to raster tools could also be accelerated, which might speed up the final composite of the three intermediate products.

https://github.com/qgis/QGIS/issues/32896

Thank you for your great plugin. Making pleasing hillshades has been a challenge for me, and your implementation of that USGS paper goes a long way towards making it attainable for everyone.

RobertoPanoi commented 4 years ago

Thank you very much, we will keep it in mind in future versions and improvements of the plugin