I get an error when working Classification Erosion tool in Semi-automatic Classification Plugin (SCP). I use QGIS v3.2.2 and SCP v6.2.4.
The tool is not changing the pixels of the raster layer and creates this short report:
**An error has occurred while executing Python code:**
*NameError: name 'd' is not defined
Traceback (most recent call last):
File "C:/Users/Sergio/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\maininterface\erosionTab.py", line 65, in erosionClassificationAction
self.erosionClassification()
File "C:/Users/Sergio/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\maininterface\erosionTab.py", line 81, in erosionClassification
sN = cfg.osSCP.path.basename(str(d))
NameError: name 'd' is not defined*
Classification before erosion: