Abstract
We tackle a novel problem of detecting background grids in hand-drawn cadastral maps. Grid extraction is necessary for accessing and contextualizing the actual map content. The problem is challenging since the background grid is the bottommost map layer that is severely occluded by subsequent map layers. We present a novel automatic method for robust, bottom-up extraction of background grid structures in historical cadastral maps. The proposed algorithm extracts grid structures under significant occlusion, missing information, and noise by iteratively providing an increasingly refined estimate of the grid structure. The key idea is to exploit periodicity of background grid lines to corroborate the existence of each other. We also present an automatic scheme for determining the ‘gridness’ of any detected grid so that the proposed method self-evaluates its result as being good or poor without using ground truth. We present empirical evidence to show that the proposed gridness measure is a good indicator of quality. On a dataset of 268 historical cadastral maps with resolution \(1424\times 2136\) pixels, the proposed method detects grids in 247 images yielding an average root-mean-square error (RMSE) of 5.0 pixels and average intersection over union (IoU) of 0.990. On grids self-evaluated as being good, we report average RMSE of 4.39 pixels and average IoU of 0.991. To compare with the proposed bottom-up approach, we also develop three increasingly sophisticated top-down algorithms based on RANSAC-based model fitting. Experimental results show that our bottom-up algorithm yields better results than the top-down algorithms. We also demonstrate that using detected background grids for stitching different maps is visually better than both manual and SURF-based stitching.
Similar content being viewed by others
Notes
Drawn on top of the grid layer.
We denote our complete grid extraction pipeline by the same name.
References
Fan, K.-C., Liu, C.-H., Wang, Y.-K.: Segmentation and classification of mixed text/graphics/image documents. Pattern Recognit. Lett. 15(12), 1201–1209 (1994)
Kim, N.W., Lee, J., Lee, H., Seo, J.: Accurate segmentation of land regions in historical cadastral maps. J. Vis. Commun. Image Rep. 25(5), 1262–1274 (2014)
Heikkonen, J., Mantynen, M.: A computer vision approach to digit recognition on pulp bales. Pattern Recognit. Lett. 17(4), 413–419 (1996)
Nishida, H.: An approach to integration of off-line and on-line recognition of handwriting. Pattern Recognit. Lett. 16(11), 1213–1219 (1995)
Saabni, R., Asi, A., El-Sana, J.: Text line extraction for historical document images. Pattern Recognit. Lett. 35, 23–33 (2014)
Nagy, G.: Disruptive developments in document recognition. Pattern Recognit. Lett. 79, 106–112 (2016)
Group, W.B.: Pakistan–Punjab Land Records Management and Information Systems Project (English). Technical report, World Bank Group (2017). http://documents.worldbank.org/curated/en/488611499886532325/. Accessed 16 Dec 2022
Leyk, S.: Segmentation of colour layers in historical maps based on hierarchical colour sampling. In: Ogier, J.-M., Liu, W., Lladós, J. (eds.) Graphics Recognition. Achievements, Challenges, and Evolution, pp. 231–241. Springer, Berlin (2010)
Chen, H.-H., Chuang, W.-N., Wang, C.-C.: Vision-based line detection for underwater inspection of breakwater construction using an ROV. Ocean Eng. 109, 20–33 (2015)
Garai, A., Biswas, S., Mandal, S., Chaudhuri, B.B.: Automatic rectification of warped bangla document images. IET Image Proc. 14(1), 74–83 (2020)
Khade, R., Jariwala, K., Chattopadhyay, C., Pal, U.: A rotation and scale invariant approach for multi-oriented floor plan image retrieval. Pattern Recognit. Lett. 145, 1–7 (2021)
Arias, J.F., Lai, C.P., Surya, S., Kasturi, R., Chhabra, A.: Interpretation of telephone system manhole drawings. Pattern Recognit. Lett. 16(4), 355–369 (1995)
Samet, H., Soffer, A.: Marco: map retrieval by content. IEEE Trans. Pattern Anal. Mach. Intell. 18(8), 783–798 (1996)
Samet, H., Soffer, A.: MAGELLAN: map acquisition of geographic labels by legend analysis. Int. J. Doc. Anal. Recognit. 1(2), 89–101 (1998)
Santos, R., Ohashi, T., Yoshida, T., Ejima, T.: Filtering and segmentation of digitized land use map images. Int. J. Doc. Anal. Recognit. 1(3), 167–174 (1998)
Li, L., Nagy, G., Samal, A., Seth, S., Xu, Y.: Integrated text and line-art extraction from a topographic map. Int. J. Doc. Anal. Recognit. 2(4), 177–185 (2000)
Dhar, D.B., Chanda, B.: Extraction and recognition of geographical features from paper maps. Int. J. Doc. Anal. Recognit. 8(4), 232–245 (2006)
Chiang, Y.-Y., Knoblock, C.A.: A general approach for extracting road vector data from raster maps. Int. J. Doc. Anal. Recognit. 16(1), 55–81 (2013)
Tam, K.Y., Lay, J.A., Levy, D.: Automatic grid segmentation of populated chessboard taken at a lower angle view. In: 2008 Digital Image Computing: Techniques and Applications, pp. 294–299. IEEE (2008)
Czyzewski, M.A., Laskowski, A., Wasik, S.: Chessboard and chess piece recognition with the support of neural networks (2017). arXiv preprint arXiv:1708.03898
Duda, R.O., Hart, P.E.: Use of the hough transformation to detect lines and curves in pictures. Technical report, SRI International Menlo Park CA AI Center (1971)
Zheng, Y., Li, H., Doermann, D.: A model-based line detection algorithm in documents. In: International Conference on Document Analysis and Recognition, pp. 44–48. IEEE (2003)
Zheng, Y., Li, H., Doermann, D.: Background line detection with a stochastic model. In: Conference on Computer Vision and Pattern Recognition Workshop, vol. 3, pp. 23–23. IEEE (2003)
Chen, J., Lopresti, D.: Model-based ruling line detection in noisy handwritten documents. Pattern Recognit. Lett. 35, 34–45 (2014)
Fischler, M.A., Bolles, R.C.: Random sample consensus: a paradigm for model fitting with applications to image analysis and automated cartography. Commun. ACM 24(6), 381–395 (1981)
Khan, S., Aslam, A., Ahmad, S., Rehan, A., Gul, A., Alam, U., Naqvi, H., Bukhari, Z., Iqbal, I., Sherdil, K.: Mapping Rural Pakistan: Bottlenecks and Solutions. International Growth Centre, London (2011)
Gonzalez, R.C., Woods, R.E.: Digital Image Processing, 3rd edn. Prentice-Hall Inc, USA (2006)
Zuiderveld, K.: Contrast limited adaptive histogram equalization. Graphics gems 474–485 (1994)
von Gioi, R.G., Jakubowicz, J., Morel, J.-M., Randall, G.: LSD: a fast line segment detector with a false detection control. IEEE Trans. Pattern Anal. Mach. Intell. 32(4), 722–732 (2010)
Akinlar, C., Topal, C.: EDLines: a real-time line segment detector with a false detection control. Pattern Recognit. Lett. 32(13), 1633–1642 (2011)
Hamid, N., Khan, N.: LSM: perceptually accurate line segment merging. J. Electr. Imaging 25(6), 061620 (2016)
Bay, H., Tuytelaars, T., Van Gool, L.: SURF: speeded up robust features. In: European Conference on Computer Vision, pp. 404–417. Springer (2006)
Acknowledgements
This research has been supported by HEC-NRPU Grant 8329 titled ‘DoCMap: Digitization of Cadastral Maps.’ The original formulation of RANSAC version R1 was developed by Hafee Atyub.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendix: Algorithms
Appendix: Algorithms
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Iftikhar, T., Khan, N. Background grid extraction from historical hand-drawn cadastral maps. IJDAR (2023). https://doi.org/10.1007/s10032-023-00457-4
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s10032-023-00457-4