Geographic Object-Based Image Analysis for Small Farmlands using Machine Learning Techniques on Multispectral Sentinel-2 Data


  • Najam Aziz Department of Computer Systems Engineering, University of Engineering & Technology, Peshawar, 25120 Pakistan
  • Nasru Minallah National Center for Big Data & Cloud Computing (NCBC), University of Engineering & Technology Peshawar, 25120 Pakistan
  • Muhammad Hasanat Department of Computer Systems Engineering, University of Engineering & Technology, Peshawar, 25120 Pakistan
  • Muhammad Ajmal Department of Agricultural Engineering, University of Engineering & Technology Peshawar, 25120 Pakistan



Classification, Geospatial Analysis, GEOBIA, Landcover, Segmentation, Sentinel-2


This study intends to classify the land cover of an area especially small farmlands using object-based image analysis (OBIA) method and evaluates the performance of a supervised classifier. Multi-spectral Sentinel-2 imagery which is freely available is used and four supervised classifiers are applied to it. The study area was divided into four major classes namely Urban, Wheat, Tobacco and Other Vegetation with varying accuracy values. The imagery was first resampled to 10 m spatial resolution and then NDI45 is layer stacked to it. A widely used MRS technique is used for delineating the objects in the imagery. Finally, classification is done through four supervised classifiers k-Nearest Neighbour (kNN), Bayes classifier, Decision Tree (DT), and Random Forest (RF). The accuracy was evaluated through a confusion matrix. The results show that Sentinel-2 imagery is capable of producing thematically detailed land cover maps via the Geographic Object-Based Image Analysis (GEOBIA) approach with accuracies of k-NN 95%, Bayes classifier 88%, DT 81% and RF 79%.


P.T. Noi, and M. Kappas. Comparison of random forest, k-nearest neighbor, and support vector machine classifiers for land cover classification using Sentinel-2 imagery. Sensors 18(1): 18 (2018).

X. Zhang, G. Chen, W. Wang, Q. Wang, and F. Dai. Object-based land-cover supervised classification for very-high-resolution UAV images using stacked denoising autoencoders. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing 10(7): 3373-3385 (2017).

X. Zhang, Q. Wang, G. Chen, F. Dai, K. Zhu, Y. Gong, and Y. Xie. An object-based supervised classification framework for very-high-resolution remote sensing images using convolutional neural networks. Remote Sensing Letters 9(4): 373-382 (2018).

J. Böhler, M. Schaepman and M. Kneubühler. Crop classification in a heterogeneous arable landscape using uncalibrated UAV data. Remote Sensing 10(8): 1282 (2018).

B. Watkins and A. Van Niekerk. A comparison of object-based image analysis approaches for field boundary delineation using multi-temporal Sentinel-2 imagery. Computers and Electronics in Agriculture 158: 294-302 (2019).

D. Chabot, C. Dillon, A. Shemrock, N. Weissflog and E. P. Sager. An object-based image analysis workflow for monitoring shallow-water aquatic vegetation in multispectral drone imagery. ISPRS International Journal of Geo-Information 7(8): 294 (2018).

S. Georganos, T. Grippa, S. Vanhuysse, M. Lennert, M. Shimoni, S. Kalogirou, and E. Wolff. Less is more: Optimizing classification performance through feature selection in a very-high-resolution remote sensing object-based urban application. GIScience & Remote Sensing 55(2): 221-242 (2018).

H.M. Rizeei, B. Pradhan, and M.A. Saharkhiz. Urban object extraction using Dempster Shafer feature-based image analysis from worldview-3 satellite imagery. International Journal of Remote Sensing 40(3): 1092-1119 (2019).

A. Tassi and M. Vizzari. Object-oriented lulc classification in google earth engine combining snic, glcm, and machine learning algorithms. Remote Sensing 12(22): 3776 (2020).

T. Blaschke, C. Burnett and A. Pekkarinen. Image segmentation methods for object-based analysis and classification. In Remote sensing image analysis: Including the spatial domain (pp. 211-236) Springer, Dordrecht (2004).

R. Pu, S. Landry and Q. Yu. Object-based urban detailed land cover classification with high spatial resolution IKONOS imagery. International Journal of Remote Sensing 32(12): 3285-3308 (2011).

M. Stammler, T. Stevens, and D. Hölbling. Geographic object‐based image analysis (GEOBIA) of the distribution and characteristics of aeolian sand dunes in Arctic Sweden. Permafrost and Periglacial Processes 34(1): 22-36 (2023).

N. Islam, M.M. Rashid, S. Wibowo, C.Y. Xu, A. Morshed, S.A. Wasimi, and S.M. Rahman. Early weed detection using image processing and machine learning techniques in an Australian chilli farm. Agriculture 11(5): 387 (2021).

H. Gao, L. He, Z.W. He and W.Q. Bai. Early landslide mapping with slope units division and multi-scale object-based image analysis—A case study in the Xianshui river basin of Sichuan, China. Journal of Mountain Science 19(6): 1618-1632 (2022).

S. Li, L. Xiong, G. Hu, W. Dang, G. Tang and J. Strobl. Extracting check dam areas from high‐resolution imagery based on the integration of object‐based image analysis and deep learning. Land degradation & development 32(7): 2303-2317 (2021).

Z. Ye, K. Yang, Y. Lin, S. Guo, Y. Sun, X. Chen and H. Zhang. A comparison between Pixel-based deep learning and Object-based image analysis (OBIA) for individual detection of cabbage plants based on UAV Visible-light images. Computers and Electronics in Agriculture 209: 107822 (2023).

G. Kaplan and U. Avdan. Object-based water body extraction model using Sentinel-2 satellite imagery. European Journal of Remote Sensing 50(1): 137-143 (2017).

F.B. Balcik, G. Senel, and C. Goksel. Greenhouse Mapping using Object Based Classification and Sentinel-2 Satellite Imagery. 8th International Conference on Agro-Geoinformatics (Agro-Geoinformatics) IEEE, pp. 1-5 (2019).

A. Novelli, M.A. Aguilar, A. Nemmaoui, F.J. Aguilar, and E. Tarantino. Performance evaluation of object based greenhouse detection from Sentinel-2 MSI and Landsat 8 OLI data: A case study from Almería (Spain). International journal of applied earth observation and geoinformation 52: 403-411 (2016).

T. Blaschke, Object based image analysis for remote sensing. ISPRS journal of photogrammetry and remote sensing 65(1): 2-16 (2010).

J.P. Arroyo-Mora, M. Kalacska, R. Soffer, G. Ifimov, G. Leblanc, E.S. Schaaf and O. Lucanus. Evaluation of phenospectral dynamics with Sentinel-2A using a bottom-up approach in a northern ombrotrophic peatland. Remote sensing of environment 216: 544-560 (2018).

F. Di Palma, F. Amato, G. Nolè, F. Martellozzo and B. Murgante. A SMAP supervised classification of landsat images for urban sprawl evaluation. ISPRS International Journal of Geo-Information 5(7): 109 (2016).

E. Hussain and J. Shan. Object-based urban land cover classification using rule inheritance over very high-resolution multisensor and multitemporal data. GIScience and Remote Sensing 53(2): 164-182 (2016).

S.A.P. Bentir, A.K.D. Balan, A.H. Ballado and J.B. Lazaro. Optimization of object—based image segmentation in classifying water region. In 3rd International Conference on Control and Robotics Engineering (ICCRE). IEEE, pp. 249-253 (2018).

M. Rana and S. Kharel. Feature Extraction for Urban and Agricultural Domains Using Ecognition Developer. International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences 42: 609-615 (2019).

C. Munyati. Optimising multiresolution segmentation: delineating savannah vegetation boundaries in the Kruger National Park, South Africa, using Sentinel 2 MSI imagery. International journal of remote sensing 39(18): 5997-6019 (2018).

J. Fethers. Remote Sensing of Eelgrass using Object Based Image Analysis and Sentinel-2 Imagery. M.Sc. Thesis, Aalborg University, Copenhagen, Denmark (2018).

L.A. Ruiz, J.A. Recio, P. Crespo-Peremarch and M. Sapena. An object-based approach for mapping forest structural types based on low-density LiDAR and multispectral imagery. Geocarto international 33(5): 443-457 (2018).

V. Lebourgeois, S. Dupuy, E. Vintrou, M. Ameline,S. Butler and A. Bégué. A combined random forest and OBIA classification scheme for mapping smallholder agriculture at different nomenclature levels using multisource data (simulated Sentinel-2 time series, VHRS and DEM). Remote Sensing 9(3): 259 (2017).

R.L. Lawrence, S.D. Wood and R.L. Sheley. Mapping invasive plants using hyperspectral imagery and Breiman Cutler classifications (RandomForest). Remote Sensing of Environment 100(3): 356-362 (2006).



How to Cite

Najam Aziz, Nasru Minallah, Muhammad Hasanat, & Muhammad Ajmal. (2024). Geographic Object-Based Image Analysis for Small Farmlands using Machine Learning Techniques on Multispectral Sentinel-2 Data. Proceedings of the Pakistan Academy of Sciences: A. Physical and Computational Sciences, 61(1).



Research Articles