Decorrelation Stretch or Enhanced Multiband Color Rendering block the display for Color Space Explorer
Issue #1339
resolved
Once you apply Decorrelation Stretch or Enhanced Multiband Color Rendering, the Color Space Explorer does not work: you select different composited but the display remains as left by the other tools. At some point, qgis crashes.
3.10.0.20220401T124144.develop c7d679b
Comments (4)
-
reporter -
reporter Also, after Decorrelation stretching, bands are not listed in Data views/Property, see here:
https://www.dropbox.com/s/t30j68id8phe21u/beforeDecorrStretching.jpeg?dl=0
https://www.dropbox.com/s/v7bx8uzlq3auyr7/afterDecorrStretching.jpeg?dl=0
It might be related to the problem.
-
- changed milestone to 3.10 (Hotfix)
-
assigned issue to
-
- changed status to resolved
should be fixed already
- Log in to comment
Just found that when the display does not refresh with the new composite, I get:
2022-05-02T12:53:19 WARNING Traceback (most recent call last):
File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/coreapps/colorspaceexplorerapp/colorspaceexplorerdialog.py", line 217, in onLiveUpdate
self.onApplyClicked()
File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/coreapps/colorspaceexplorerapp/colorspaceexplorerdialog.py", line 205, in onApplyClicked
layer.renderer().setRedBand(self.mRedBand.currentBand())
AttributeError: 'DecorrelationStretchRenderer' object has no attribute 'setRedBand'