Object-Oriented Building Contour Optimization Methodology for Image Classification Results via Generalized Gradient Vector Flow Snake Model
Abstract
:1. Introduction
- (1)
- This study adopts an object-oriented optimization strategy to reduce the interference from adjacent objects. The single building image after clipping can make the optimization focused on the building, reduce the impact of other adjacent objects, and greatly decrease the amount of calculations.
- (2)
- An improved GGVF snake model is designed by automatically obtaining the initial contour and constraint edge map. The initial contour is modified from the classification results, and the constraint edge map is extracted effectively via the improved Canny detector and Hough transformation. The proposed method is not limited by the building shape and size and has strong robustness.
2. Methodology
2.1. GGVF Snake Model
2.2. Objected-Oriented GGVF Initial Contour Acquirement
2.3. GGVF Constraint Edge Map Extraction
2.3.1. Adaptive Canny Edge Detection
2.3.2. Line Segments Detection and Optimization Based on PPHT
Line Segments Extraction by PPHT
Line Segments Fitting
Algorithm 1 Line fitting |
1: Input Lset_1 = and Lset_2=. |
2: For each in Lset_1 |
3: Ltemp= |
4: For each in Lset_2 |
5: If (Ltemp and are not the same and meet the fitting conditions) |
6: Ltemp = Fitting(Ltemp, ) |
7: Delete from Lset_1 |
8: Delete from Lset_2 |
9: End |
10: Add Ltemp to Lremain |
11: End |
12: Output Lremain |
Removing Building Roof Line Segments
Complementing the Incomplete Building Constraint Edge Map
2.4. GGVF Force Field Computation
3. Experiments Results
3.1. Datasets and Experimental Strategy
3.1.1. Dataset Description
3.1.2. Accuracy Indexes
3.2. Comparison of Experimental Results
3.2.1. Effectiveness Evaluation for Different Initial Results
3.2.2. Comparison with Other Contour Optimization Methods
4. Discussion
4.1. The Positive Effect of Improved Automatic Canny Detector
4.2. The Positive Effect of Constructing Constraint Line Segments Based on PPHT
4.3. Overall Comparison Analysis
4.4. Comparisons of Time Complexity
5. Conclusions
Author Contributions
Funding
Acknowledgments
Conflicts of Interest
References
- Gao, X.; Wang, M.; Yang, Y.; Li, G. Building Extraction From RGB VHR Images Using Shifted Shadow Algorithm. IEEE Access 2018, 6, 22034–22045. [Google Scholar] [CrossRef]
- Wang, Z.; Du, B.; Zhang, L.; Zhang, L.; Jia, X. A Novel Semisupervised Active-Learning Algorithm for Hyperspectral Image Classification. IEEE Trans. Geosci. Remote Sens. 2017, 55, 3071–3083. [Google Scholar] [CrossRef]
- Chen, M.; Wu, J.; Liu, L.; Zhao, W.; Tian, F.; Shen, Q.; Zhao, B.; Du, R. DR-Net: An Improved Network for Building Extraction from High Resolution Remote Sensing Image. Remote Sens. 2021, 13, 294. [Google Scholar] [CrossRef]
- Wang, Z.; Du, B.; Guo, Y. Domain Adaptation With Neural Embedding Matching. IEEE Trans. Neural Netw. Learn. Syst. 2020, 31, 2387–2397. [Google Scholar] [CrossRef]
- Dey, E.K.; Awrangjeb, M.; Stantic, B. Outlier Detection and Robust Plane Fitting for Building Roof Extraction from LiDAR Data. Int. J. Remote Sens. 2020, 41, 6325–6354. [Google Scholar] [CrossRef]
- Dong, Y.; Liang, T.; Zhang, Y.; Du, B. Spectral–Spatial Weighted Kernel Manifold Embedded Distribution Alignment for Remote Sensing Image Classification. IEEE Trans. Cybern. 2021, 51, 3185–3197. [Google Scholar] [CrossRef] [PubMed]
- Lee, D.S.; Shan, J.; Bethel, J.S. Class-Guided Building Extraction from Ikonos Imagery. Photogramm. Eng. Remote Sens. 2003, 69, 143–150. [Google Scholar] [CrossRef] [Green Version]
- Albers, B.; Kada, M.; Wichmann, A. Automatic Extraction and Regularization of Building Outlines from Airborne Lidar Point Clouds. Int. Arch. Photogramm. Remote Sens. Spatial Inf. Sci. 2016, XLI-B3, 555–560. [Google Scholar] [CrossRef] [Green Version]
- Sampath, A.; Shan, J. Building Boundary Tracing and Regularization from Airborne Lidar Point Clouds. Photogramm. Eng. Remote Sens. 2007, 73, 805–812. [Google Scholar] [CrossRef] [Green Version]
- Partovi, T.; Bahmanyar, R.; Kraus, T.; Reinartz, P. Building Outline Extraction Using a Heuristic Approach Based on Generalization of Line Segments. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2017, 10, 933–947. [Google Scholar] [CrossRef]
- Ding, Y.; Feng, F.; Li, J.; Hu, Y.; Cui, W. Right-Angle Buildings Extraction from High-Resolution Aerial Image Based on Multi-stars Constraint Segmentation and Regularization. Acta Geod. Cartogr. Sin. 2018, 47, 1630–1639. [Google Scholar] [CrossRef]
- Kwak, E.; Habib, A. Automatic Representation and Reconstruction of DBM from LiDAR Data Using Recursive Minimum Bounding Rectangle. ISPRS J. Photogramm. Remote Sens. 2014, 93, 171–191. [Google Scholar] [CrossRef]
- Feng, M.; Zhang, T.; Li, S.; Jin, G.; Xia, Y. An Improved Minimum Bounding Rectangle Algorithm for Regularized Building Boundary Extraction from Aerial LiDAR Point Clouds with Partial Occlusions. Int. J. Remote Sens. 2020, 41, 300–319. [Google Scholar] [CrossRef]
- Chang, J.; Wang, S.; Yang, Y.; Gao, X. Hierarchical Optimization Method of Building Contour in High-Resolution Remote Sensing Images. Chin. J. Las. 2020, 47, 249–262. [Google Scholar] [CrossRef]
- Kass, M.; Witkin, A.; Terzopoulos, D. Snakes: Active Contour Models. Int. J. Comput. Vis. 1988, 1, 321–331. [Google Scholar] [CrossRef]
- Peng, J.; Liu, Y.C. Model and Context-driven Building Extraction in Dense Urban Aerial Images. Int. J. Remote Sens. 2005, 26, 1289–1307. [Google Scholar] [CrossRef]
- Ahmadi, S.; Zoej, M.J.V.; Ebadi, H.; Moghaddam, H.A.; Mohammadzadeh, A. Automatic Urban Building Boundary Extraction from High Resolution Aerial Images Using an Innovative Model of Active Contours. Int. J. Appl. Earth Obs. Geoinf. 2010, 12, 150–157. [Google Scholar] [CrossRef]
- Liasis, G.; Stavrou, S. Building Extraction in Satellite Images Using Active Contours and Colour Features. Int. J. Remote Sens. 2016, 37, 1127–1153. [Google Scholar] [CrossRef]
- Akbulut, Z.; Özdemir, S.; Acar, H.; Karsli, F. Automatic Building Extraction from Image and LiDAR Data with Active Contour Segmentation. J. Indian Soc. Remote Sens. 2018, 46, 2057–2068. [Google Scholar] [CrossRef]
- Xu, C.; Prince, J.L. Generalized Gradient Vector Flow External Forces for Active Contours. Signal Process. 1998, 71, 131–139. [Google Scholar] [CrossRef] [Green Version]
- Matas, J.; Galambos, C.; Kittler, J. Robust Detection of Lines Using the Progressive Probabilistic Hough Transform. Comput. Vis. Image Underst. 2000, 78, 119–137. [Google Scholar] [CrossRef]
- Xu, C.; Prince, J.L. Snakes, Shapes, and Gradient Vector Flow. IEEE Trans. Image Process. 1998, 7, 359–369. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Qin, L.; Zhu, C.; Zhao, Y.; Bai, H.; Tian, H. Generalized Gradient Vector Flow for Snakes: New Observations, Analysis, and Improvement. IEEE Trans. Circuits Syst. Video Technol. 2013, 23, 883–897. [Google Scholar] [CrossRef]
- Liu, H.; Jezek, K.C. Automated Extraction of Coastline from Satellite Imagery by Integrating Canny Edge Detection and Locally Adaptive Thresholding Methods. Int. J. Remote Sens. 2004, 25, 937–958. [Google Scholar] [CrossRef]
- Turker, M.; Koc-San, D. Building Extraction from High-Resolution Optical Spaceborne Images Using the Integration of Support Vector Machine (SVM) Classification, Hough Transformation and Perceptual Grouping. Int. J. Appl. Earth Obs. Geoinf. 2015, 34, 58–69. [Google Scholar] [CrossRef]
- Anand, A.; Tripathy, S.S.; Kumar, R.S. An Improved Edge Detection Using Morphological Laplacian of Gaussian Operator. In Proceedings of the 2015 2nd International Conference on Signal Processing and Integrated Networks (SPIN), Noida, India, 19–20 February 2015; IEEE: Noida, India, 2015; pp. 532–536. [Google Scholar]
- Wang, J.; Yang, X.; Qin, X.; Ye, X.; Qin, Q. An Efficient Approach for Automatic Rectangular Building Extraction From Very High Resolution Optical Satellite Imagery. IEEE Geosci. Remote Sens. Lett. 2015, 12, 487–491. [Google Scholar] [CrossRef]
- Douglas, D.H.; Peucker, T.K. Algorithms for the Reduction of the Number of Points Required to Represent a Digitized Line or Its Caricature. Cartogr. Int. J. Geogr. Inf. Geovis. 1973, 10, 112–122. [Google Scholar] [CrossRef] [Green Version]
- Ji, S.; Wei, S.; Lu, M. Fully Convolutional Networks for Multisource Building Extraction From an Open Aerial and Satellite Imagery Data Set. IEEE Trans. Geosci. Remote Sens. 2019, 57, 574–586. [Google Scholar] [CrossRef]
- Wang, Z.; Du, B.; Tu, W.; Zhang, L.; Tao, D. Incorporating Distribution Matching into Uncertainty for Multiple Kernel Active Learning. IEEE Trans. Knowl. Data Eng. 2021, 33, 128–142. [Google Scholar] [CrossRef]
- Suzuki, S.; Abe, K. Topological Structural Analysis of Digitized Binary Images by Border Following. Comput. Vis. Graph. Image Process. 1985, 30, 32–46. [Google Scholar] [CrossRef]
- Kalbasi, M.; Nikmehr, H. Noise-Robust, Reconfigurable Canny Edge Detection and Its Hardware Realization. IEEE Access 2020, 8, 39934–39945. [Google Scholar] [CrossRef]
- Li, B.; Acton, S.T. Active Contour External Force Using Vector Field Convolution for Image Segmentation. IEEE Trans. Image Process. 2007, 16, 2096–2106. [Google Scholar] [CrossRef] [PubMed] [Green Version]
Test Image | Building Extracted Methods | CM/% | CR/% | F1/% | OA/% |
---|---|---|---|---|---|
#1 | SSDA | 97.25 | 98.38 | 97.81 | 95.72 |
Optimization results based on SSDA | 98.03 | 98.29 | 98.16 | 96.38 | |
TD-GGVF | 98.31 | 95.23 | 96.74 | 93.70 | |
Optimization results based on TD-GGVF | 99.03 | 97.51 | 98.26 | 96.59 | |
#2 | SSDA | 95.79 | 87.17 | 91.28 | 83.96 |
Optimization results based on SSDA | 92.95 | 94.84 | 93.89 | 88.48 | |
TD-GGVF | 88.72 | 96.44 | 92.42 | 85.91 | |
Optimization results based on TD-GGVF | 90.57 | 97.43 | 93.87 | 88.46 | |
#3 | SSDA | 92.97 | 94.36 | 93.66 | 88.07 |
Optimization results based on SSDA | 94.50 | 95.15 | 94.83 | 90.16 | |
TD-GGVF | 94.68 | 90.36 | 92.47 | 86.00 | |
Optimization results based on TD-GGVF | 92.24 | 94.05 | 93.14 | 87.16 | |
#4 | SSDA | 95.56 | 91.55 | 93.51 | 87.82 |
Optimization results based on SSDA | 96.73 | 93.36 | 95.01 | 90.50 | |
TD-GGVF | 93.79 | 94.71 | 94.25 | 89.13 | |
Optimization results based on TD-GGVF | 95.31 | 93.75 | 94.52 | 89.62 |
Test Image | Building Contour Optimization Method | CM/% | CR/% | F1/% | OA/% |
---|---|---|---|---|---|
#1 | DPSLA | 97.97 | 97.72 | 97.84 | 95.78 |
MCSR | 97.11 | 95.99 | 96.55 | 93.34 | |
The proposed | 98.03 | 98.29 | 98.16 | 96.38 | |
#2 | DPSLA | 96.20 | 86.58 | 91.13 | 83.72 |
MCSR | 94.76 | 88.50 | 91.53 | 84.38 | |
The proposed | 92.95 | 94.84 | 93.89 | 88.48 | |
#3 | DPSLA | 94.34 | 92.23 | 93.27 | 87.39 |
MCSR | 90.28 | 92.97 | 91.61 | 84.52 | |
The proposed. | 94.50 | 95.15 | 94.83 | 90.16 | |
#4 | DPSLA | 96.17 | 90.32 | 93.15 | 87.19 |
MCSR | 96.91 | 90.48 | 93.58 | 87.94 | |
The proposed | 96.73 | 93.36 | 95.01 | 90.50 |
Methods | Time Complexity | ||||
---|---|---|---|---|---|
First Step | Second Step | Third Step | Fourth Step | Total | |
The proposed | O(WlHl) | O( + WsHs) | O() | O() | O(WlHl + + + ) |
DPSLA [28] | O(WlHl) | O() | — | — | O(WlHl + ) |
MSCR [11] | O(WlHl) | O() | — | — | O(WlHl + ) |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Chang, J.; Gao, X.; Yang, Y.; Wang, N. Object-Oriented Building Contour Optimization Methodology for Image Classification Results via Generalized Gradient Vector Flow Snake Model. Remote Sens. 2021, 13, 2406. https://doi.org/10.3390/rs13122406
Chang J, Gao X, Yang Y, Wang N. Object-Oriented Building Contour Optimization Methodology for Image Classification Results via Generalized Gradient Vector Flow Snake Model. Remote Sensing. 2021; 13(12):2406. https://doi.org/10.3390/rs13122406
Chicago/Turabian StyleChang, Jingxin, Xianjun Gao, Yuanwei Yang, and Nan Wang. 2021. "Object-Oriented Building Contour Optimization Methodology for Image Classification Results via Generalized Gradient Vector Flow Snake Model" Remote Sensing 13, no. 12: 2406. https://doi.org/10.3390/rs13122406
APA StyleChang, J., Gao, X., Yang, Y., & Wang, N. (2021). Object-Oriented Building Contour Optimization Methodology for Image Classification Results via Generalized Gradient Vector Flow Snake Model. Remote Sensing, 13(12), 2406. https://doi.org/10.3390/rs13122406