Effect of shadow removal by gamma correction in SMQT algorithm in environmental application

  • Seyed Mehdi Yavari
  • Hamid AmiriEmail author


Environmental data can be achieved from remote sensing. Shadows are main problems in achieving environmental data by remote sensing. In this research, an algorithm is proposed for preparing environmental data from shadow-covered objects. The proposed algorithm provides some information about digital number (DN) of shadow-covered objects by reducing the shadow effect. The successive mean quantization transform (SMQT) algorithm, gamma correction and combination of images form the basis of the proposed algorithm. SMQT algorithm eliminates gain and bias features by indicating the data structure. The data structure remains unchanged, and the differences between terrains are highlighted by compressing the dynamic range and stretching the histogram of the image in parts with different terrains of same DN. The output of the SMQT algorithm is a gray image. A new image is obtained by combining this image with the original image through HSV color space. In the second step, gamma correction is applied to the entire image according to brightness and contrast. But the gamma correction rate is not the same in all parts of an image. As a result, gamma correction should be done locally. However, local gamma correction and the use of a kernel of a specific dimension increase computation time. In addition, if there is a noise in the image, it will cause a significant deviation in the correction. To solve this problem, the output of SMQT algorithm is combined with the image obtained from gamma correction. Shadows in the input image cause the image histogram to be compressed in areas near zero. After performing the process in the study, the histogram was stretched and the maximum histogram reached from 190 to 250.


Shadow Gamma correction Remote sensing SMQT Environmental 



  1. Adeline, K. R. M., Chen, M., Briottet, X., Pang, S. K., & Paparoditis, N. (2013). Shadow detection in very high spatial resolution aerial images. ISPRS Journal of Photogrammetry and Remote Sensing,80, 21–38. Scholar
  2. Anoopa, S., Dhanya, V., & Kizhakkethottam, J. J. (2016). Shadow detection and removal using Tri-Class based thresholding and shadow matting technique. Procedia Technology, 24, 1358–1365.CrossRefGoogle Scholar
  3. Asadi, P., Amini Rad, H., & Qaderi, F. (2019). Comparison of Chlorella vulgaris and Chlorella sorokiniana pa.91 in post treatment of dairy wastewater treatment plant effluents. Environmental Science and Pollution Research. Scholar
  4. Azevedo, S. C., Silva, E. A., & Pedrosa, M. M. (2015). Shadow detection improvement using spectral indices and morphological operators in urban areas in high resolution image. The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences,7(3), 11–15. Scholar
  5. Azizpour, F., & Qaderi, F. (2019). Optimization, modeling and uncertainty investigation of phenolic wastewater treatment by photocatalytic process in cascade reactor. Environment, Development and Sustainability. Scholar
  6. Babanezhad, E., Amini Rad, H., Hosseini Karimi, S. S., & Qaderi, F. (2017). Investigating nitrogen removal using simultaneous nitrification–denitrification in transferring wastewater through collection networks with small-diameter pipes. Water Practice and Technology,12, 396–405. Scholar
  7. Babanezhad, E., Qaderi, F., & Salehi Ziri, M. (2018). Spatial modeling of groundwater quality based on using Schoeller diagram in GIS base: A case study of Khorramabad, Iran. Environmental Earth Sciences,77, 339. Scholar
  8. Barrow, H. G, & Tenenbaum, J. M. (1978). Recovering intrinsic scene characteristics from images. SRI international computer vision systems.Google Scholar
  9. Cho, S. B. (2014). Lens correction and gamma correction. Berlin: Springer. Scholar
  10. Ebrahimi Ghadi, M., Qaderi, F., & Babanezhad, E. (2018). Prediction of mortality resulted from NO2 concentration in Tehran by Air Q + software and artificial neural network. International Journal of Environmental Science and Technology. Scholar
  11. Faghih Nasiri, E., Yousefi Kebria, D., & Qaderi, F. (2018). An experimental study on the simultaneous phenol and chromium removal from water using titanium dioxide photocatalyst. Civil Engineering Journal,4(3), 585–593. Scholar
  12. Faghih Nasiri, E., Yousefi Kebria, D., & Qaderi, F. (2019). The degradation of phenol in water solution by immobilized TiO2 photocatalysis. Journal of Civil and Environmental Engineering (University of Tabriz; ISSN 2008-7918),48(93), 43–49.Google Scholar
  13. Finlayson, G. D., Drew, M. S., & Cheng, Lu. (2009). Entropy minimization for shadow removal. International Journal of Computer Vision,86(1), 35–57.CrossRefGoogle Scholar
  14. Finlayson, G. D., & Hordley, S. D. (2006). The removal of shadows from images. IEEE Transactions on Pattern Analysis and Machine Intelligence,28(1), 59–68.CrossRefGoogle Scholar
  15. Finlayson, G. D, Hordley, S. D, & Drew, M. S. (2002). Removing shadows from images. In ECCV ‘02 proceedings of the 7th European conference on computer vision-part IV (pp. 823–836).Google Scholar
  16. Ghilani, C. D. (2010). Adjustment computations: spatial data analysis (5th ed.). London: Wiley. ISBN 978-1-119-38598-1.Google Scholar
  17. Gonzalez, R. C., Woods, R. E, & Eddins, S. L. (2009). Digital image processing using MATLAB. Gatesmark Publishing.Google Scholar
  18. Huang, W., & Bu, M. (2014). Detecting shadows in high-resolution remote-sensing images of urban areas using spectral and spatial features. International Journal of Remote Sensing. Scholar
  19. Huang, J., Xie, W., & Tang, L. (2004) Detection and compensation for shadows in colored urban aerial images. In Intelligent control and automation, fifth world congress on intelligent control and automation (IEEE Cat. No. 04EX788) (pp. 3098–3100).Google Scholar
  20. Khalegh, R., & Qaderi, F. (2019). Optimization of the effect of nanoparticle morphologies on the cost of dye wastewater treatment via ultrasonic/photocatalytic hybrid process. Applied Nanoscience. Scholar
  21. Nilsson, M. (2012). SMQT-based tone mapping operators for high dynamic range images. In 8th International conference on computer vision theory and applications.Google Scholar
  22. Nilsson, M., Dahl, M., & Claesson, I. (2005) The successive mean quantization. In IEEE international conference on acoustics, speech, and signal processing.Google Scholar
  23. Oakley, J. P. (2009). Mitigation of atmospheric contrast degradation via image enhancement IEEE International Workshop on Imaging Systems and Techniques, IST 2009. Hong Kong. Scholar
  24. Pajoum Shariati, F., Qaderi, F., & Haeri, H. (2018). Using moving bed biofilm reactor including kaldness media in treatment of wastewater containing light component petroleum. Journal of Civil and Environmental Engineering (University of Tabriz; ISSN 2008-7918), 1–19.Google Scholar
  25. Qaderi, F., Asadi, P., Tamadoni, A., & Azizi, M. (2018a). Evaluation of sustainability of development in zone 22 of Tehran by ecological footprint method. Geography and Development Iranian Journal,16(50), 231–245. Scholar
  26. Qaderi, F., & Ayati, B. (2014). Comparison of MBBR and SBAR in treating toxic formaldehyde wastewater. Journal of Civil and Environmental Engineering,44(74), 99–106.Google Scholar
  27. Qaderi, F., Ayati, B., Ganjidoost, H., & Sarraf Mamoori, R. (2015a). Treatment of wastewater containing acid orange 7 using ozonation process and determination of the intermediate by-products. Journal of Water and Wastewater,26(2), 13–23.Google Scholar
  28. Qaderi, F., Ayati, B., & Ganjidoust, H. (2011). Role of moving bed biofilm reactor and sequencing batch reactor in biological degradation of formaldehyde wastewater. Journal of Environmental Health Science and Engineering,8, 295–306.Google Scholar
  29. Qaderi, F., Ayati, B., & Ganjidoust, H. (2012). Comparing the efficiency of MBBR and SBR in treating wastewater containing formaldehyde. Amirkabir Journal of Civil Engineering,43(2), 43–50.Google Scholar
  30. Qaderi, F., Ayati, B., Ganjidoust, H., & Sarraf-Mamoory, R. (2015b). Investigation of kinetic and intermediate products of acid orange 7 removal by hybrid ozonation/photocatalytic processes. Modares Journal of Civil Engineering,15(2), 79–89.Google Scholar
  31. Qaderi, F., & Babanezhad, E. (2017). Prediction of the groundwater remediation costs for drinking use based on quality of water resource, using artificial neural network. Journal of Cleaner Production,161, 840–849. Scholar
  32. Qaderi, F., Sayahzadeh, A. H., & Azizi, M. (2018b). Efficiency optimization of petroleum wastewater treatment by using of serial moving bed biofilm reactors. Journal of Cleaner Production,192, 665–677. Scholar
  33. Qaderi, F., Sayahzadeh, A. H., Azizpour, F., & Vosughi, P. (2018c). Efficiency modeling of serial stabilization ponds in treatment of phenolic wastewater by response surface methodology. International Journal of Environmental Science and Technology,16(8), 4193–4202. Scholar
  34. Qaderi, F., Sayahzadeh, A. H., & Ebrahimi Ghadi, M. (2019). Optimization of effective environmental parameters on Astrazon Red GTL removal by dominant species Bacillus and Aeromonas: in a concurrent culture study. Journal of Molecular and Cellular Research,32(1), 1–15.Google Scholar
  35. Ramesh, P. S., & Letitia, S. A. (2017). Novel approach for shadows detection and shadows removal from high-resolution satellite image. African Journal of Basic & Applied Sciences,9(4), 243–250.Google Scholar
  36. Rani, S., & Kumar, M. (2014). Contrast enhancement using improved adaptive gamma correction with weighting distribution technique. International Journal of Computer Applications. Scholar
  37. Salih, N. M., Kadhim, M., Mourshed, M., & Bray, M. T. (2015). Shadow detection from very high resolution satellite image using grabcut segmentation and ratio-band algorithms. The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences. Scholar
  38. Salvador, E., Cavallaro, A., & Ebrahimi, T. (2001). Shadow identification and classification using invariant color models. In IEEE international conference on, acoustics, speech, and signal processing (ICASSP’01) (pp. 1545–1548).Google Scholar
  39. Sasi, R. K., & Govindan, V. K. (2005). Shadow detection and removal from real images: State of art. In Proceedings. (ICASSP ‘05). IEEE international conference on acoustics, speech, and signal processing.Google Scholar
  40. Sh, Yeng Q., Tan, K. H., & Ahuja, Narendra. (2012). Shadow removal using bilateral filtering. IEEE Transactions on Image Processing,21(10), 4361–4368.CrossRefGoogle Scholar
  41. Shahtahmasebi, A. R., Yang, N., Wing, K., Moore, N., & Zangquan, Sh. (2013). Review of shadow detection and De-shadowing methods in remote sensing. Chinese Geographical Science,23(4), 403–442.CrossRefGoogle Scholar
  42. Sheikholeslami, Z., Yousefi Kebria, D., & Qaderi, F. (2018). Nanoparticle for degradation of BTEX in produced water: An experimental procedure. Journal of Molecular Liquids,246, 476–482. Scholar
  43. Sheikholeslami, Z., Yousefi Kebria, D., & Qaderi, F. (2019). Investigation of photocatalytic degradation of BTEX in produced water using γ-Fe2O3 nanoparticle. Journal of Thermal Analysis and Calorimetry. Scholar
  44. Singh, K. K. (2012). Shadow detection and removal from remote sensing images using NDI and morphological operators. International Journal of Computer Applications. Scholar
  45. Taghizadeh, M., Yousefi, Kebria D., & Qaderi, F. (2019). Benzene and toluene removal from saline water with coupled membrane process and nanophotocatalyst. Journal of Petroleum Research,27(10300695), 168–179.Google Scholar
  46. Tamadoni, A., & Qaderi, F. (2019). Optimization of soil remediation by ozonation for PAHs contaminated soils. Ozone Science and Engineering,41(5), 454–472. Scholar
  47. Tavakoli Moghadam, M., & Qaderi, F. (2019). Modeling of petroleum wastewater treatment by Fe/Zn nanoparticles using the response surface methodology and enhancing the efficiency by scavenger. Results in Physics,15, 102566–102576. Scholar
  48. Tosusu, B. (2010). Human identification for the management of memory impaired patients in elder care facilities. Massey university, school of engineering and advance technology.Google Scholar
  49. Wang, Z., Bovik, A. C., Sheikh, H. R., & Simoncelli, E. P. (2004). Image quality assessment: From error visibility to structural similarity. IEEE Transactions on Image Processing,13(4), 600–612. Scholar
  50. Yavari, S. M., & Qaderi, F. (2018). Determination of thermal pollution of water resources caused by Neka power plant through processing satellite imagery. Environment, Development and Sustainability. Scholar
  51. Zhu, Xia, Chen, Renwen, Xia, Huakang, & Zhang, Piaoyan. (2015). Shadow removal based on YCbCr color space. Neurocomputing,151, 252–258. Scholar
  52. Zhu, Sh, Guo, Zh, & Ma, L. (2012). Shadow removal with background difference method based on shadow position and edges attributes. EURASIP Journal on Image and Video Processing. Scholar

Copyright information

© Springer Nature B.V. 2019

Authors and Affiliations

  1. 1.Department of Remote Sensing and Geographical Information SystemsIslamic Azad University, Science and Research BranchTehranIran
  2. 2.Kish Institute of Science and Technology, School of EngineeringShiraz UniversityShirazIran

Personalised recommendations