I am using QGIS 2.4.0 Chugiak on my windows 8.1, for classification of landsat 5-7 image that contains hilly mountains with dense forest and 60% area are plains. I am classifying through Semi-automatic Classification Plugin by Spectral Angle Mapping algorithm but I am not getting a properly classified image.

I have carefully collected the signatures and analysed those on a spectral signature plot. Before starting the classification algorithm, I converted the radiance to Top of Atmosphere reflectance through automated process and clipped my area of interest using "clip multiple raster" under preprocessing tab through shape file.

My question is this. Is there something wrong with whole process or first do I have to eliminate the terrain shadows after the conversion to TOA reflectance? I also have the SRTM DEM 30m resolution. If it is necessary to remove those areas that are under shadows then how; if not then how can I improve my classification through this automated plugin?

1 Answer 1


Yes, image classification is generally improved when you remove topographic illumination effects (same goes with atmospheric effects). However, as with anything like this, there exists a wide range of techniques for accomplishing this task and the effectiveness of it will depend both on the sophistication of the technique (its ability to model the physical processes involved) and your data. Here is an excellent quick read which overviews some of the available methods:


If you have access to Jensen's excellent remote sensing textbook then he also has a good section in there on topographic illumination and strategies for its removal/minimization. Basically, the various methods can be grouped into those which are based on band ratios and those that are based on some kind of physical model. Band ratios are generally not as effective but have simplicity and fewer data requirements. That is, you don't even need a DEM or derived illumination surface to use band rationing. Have you ever noticed that the amount of topographic illumination is severely reduced in an index like the NDVI? It's because it's based on a type of band ratio. Slide 3 of this presentation shows why this works. Ultimately, if you choose this approach then your classification will be based on a series of band ratios (e.g. NIR / red) rather than the raw imagery.

Since you have a DEM and can therefore derive an illumination surface (somewhat like a hillshade image but controlled for sun direction and angle), then you can use a more sophisticated approach like the Cosine correction or one of its many derivatives. Other than the illumination surface (hillshade tool), you can perform the analysis using a raster calculator based workflow. It will likely require some experimentation with various parameters to get the best results. Good luck.

  • You used the word radiance in your tutorial. I converted the raw DN values to first radiance and then reflectance. Please suggest should I start topographic normalization after converting DN to radiance to TOA reflectance (i.e. ratio values) and if yes then do you have any another tutorial using opensource like QGIS for topographic normalization. Your short overview along with lab exercise is really helpful for me to build theoretical back ground.(If you have website address for downloading the lab data then mentioned it in your reply post please.) and what if I have not Land cover data.
    – Waseem Ali
    Commented Oct 1, 2014 at 16:35
  • Just to clarify I am not the author of the tutorial. I simply linked to it. You want to contact them directly to see if they are willing to share the data. Commented Oct 1, 2014 at 16:39
  • Thanks anyway...any comments regarding the DN to radiance and then reflectance values in my previously mentioned comments.
    – Waseem Ali
    Commented Oct 1, 2014 at 16:59
  • 1
    @MalikWaseemAli Mather (2005 pg 116) states that many of the sensor calibration methods used to convert to reflectance values assume a flat surface, and therefore, I'd assume that means you should remove topographic illumination effects prior to the conversion to reflectance. Hope that helps. Commented Oct 1, 2014 at 17:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.