Next Article in Journal
Optimized Workflow Framework in Construction Projects to Control the Environmental Properties of Soil
Next Article in Special Issue
An Alternative Multi-Physics-Based Methodology for Strongly Coupled Electro-Magneto-Mechanical Problems
Previous Article in Journal
Quantifying Uncertainties in OC-SMART Ocean Color Retrievals: A Bayesian Inversion Algorithm
Previous Article in Special Issue
On a Class of Orthogonal Polynomials as Corrections in Lienard Differential System: Applications
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Identification of Highlighted Cells in Low-Variance Raster Data Application to Digital Elevation Models

by
Manuel Antonio Ureña-Cámara
and
Antonio Tomás Mozas-Calvache
*
Departamento de Ingeniería Cartográfica, Geodésica y Fotogrametría, University of Jaén, 23071 Jaén, Spain
*
Author to whom correspondence should be addressed.
Algorithms 2023, 16(6), 302; https://doi.org/10.3390/a16060302
Submission received: 5 May 2023 / Revised: 14 June 2023 / Accepted: 15 June 2023 / Published: 16 June 2023
(This article belongs to the Collection Feature Papers in Algorithms)

Abstract

:
This study describes a new algorithm developed to detect local cells of minimum or maximum heights in grid Digital Elevation Models (DEMs). DEMs have a low variance in digital levels due to the spatial continuity of the data. Traditional algorithms, such as SIFT, are based on statistical variance, which present issues to determine these highlighted cells. However, one of the main purposes of this identification is the use of these points (cells) to assess the positional accuracy of these products by comparing those extracted from the DEM with those obtained from a more accurate source. In this sense, we developed an algorithm based on a moveable window composed of variable sizes, which is displaced along the image to characterize each set of cells. The determination of highlighted cells is based on the absolute differences of digital levels in the same DEM and compared to those obtained from other DEMs. The application has been carried out using a great number of data, considering four zones, two spatial resolutions, and different definitions of height surfaces. The results have demonstrated the feasibility of the algorithm for the identification of these cells. Thus, this approach expects an improvement in traditional procedures. The algorithm can be used to contrast DEMs obtained from different sources or DEMs from the same source that have been affected by generalization procedures.

1. Introduction

Digital Elevation Models (DEMs) are widely used to represent terrain topography (Digital Terrain Models (DTMs)) and other surfaces (Digital Surface Models (DSMs)), including those features related to the biosphere, anthroposphere, etc. [1]. From a geomatic point of view, DEMs represent height values using raster and vector models. Raster DEMs are based on grids, composed of a regular array of cells, including heights, as an attribute (this model is commonly referred to as 2.5D data because it only supports a single z-value for each planimetric location in a specific column and row), while vector DEMs are based on 3D surfaces composed of meshes derived from a set of 3D points. The raster model considered in this study can be managed using images that represent height as digital levels of pixels determined by a given bit-depth capacity (e.g., ArcGIS Pro uses 32-bit depth in grids [2]. These values can be obtained from a single sample point or the average measurements representing the height values of a given area (e.g., the area covered by the pixel). In any case, the values of adjacent cells are highly correlated because these surfaces represent elements with a physical continuity (e.g., terrain), where drastic changes are not common (except in cases of steep slopes, such as gorges, cliffs, etc.). Therefore, we must consider a low variance in this data, at least in a close environment. This aspect is very important when we are detecting points (e.g., using point detection algorithms) in grid DEMs because the location of a specific point can be influenced by its surroundings.
The height values contained in DEMs are derived from measurements that are characterized by a certain level of accuracy that is influenced by acquisition and processing errors. The ISO 19157 standard [3,4] defines five elements of data quality, including positional accuracy, which is related to the location of features. In this context, positional accuracy has three sub-elements: absolute or external accuracy, relative or internal accuracy, and gridded data position accuracy. These are related to the closeness of the reported coordinate values, relative positions, and gridded data positions to values accepted as true, respectively [3]. This aspect implies that the assessment of the positional accuracy of any cartographic product must include a comparison of data (absolute or relative positions), with respect to other independent datasets that are considered true values. The accuracy of these reference datasets should be at least three times higher than that of the product to be assessed [5]. In the case of DEMs, positional accuracy has been widely analyzed in the literature [6], considering error causes and consequences and the methodologies developed to assess them [7,8], by considering several aspects (data model, data acquisition, accuracy measures, etc.). In addition, some standards [9,10,11,12], published during the last decade by several institutions, have described the procedures to carry out this assessment. These studies have traditionally considered vertical accuracy without considering the effect of horizontal accuracy. It is unusual to include a report about horizontal accuracy [6,7], although there are some studies that have analyzed the impact of horizontal errors on the accuracy of DEMs, proposing an improvement in the final vertical accuracy after correcting them [13].
Although there are recent initiatives proposing the use of surfaces to check DEMs [14], most of the studies developed until now are based on a comparison of a set of checkpoints, whose coordinates are obtained from a more accurate independent source, and using some measures (e.g., Root Mean Squared Error (RMSE)) to describe the deviations with respect to the value that is considered true. These checkpoints are usually well-defined points that are selected and measured manually. As an example, the ASPRS standard [12] indicates that well-defined points should be easily visible or recoverable on the ground, on the independent source of higher accuracy, and on the product itself. This supposes that checkpoints should contain certain characteristics that make them geometrically particular, avoiding other points that are not so easily identifiable. Most of the studies that have analyzed the accuracy of DEMs used checkpoints based on Ground Control Points (GCPs), which are obtained in the field using surveying techniques, such as Global Navigation Satellite Systems (GNSS). The use of GCPs influences their distribution because they are usually located in accessible areas in order to reduce field costs. To avoid the use of GCPs, this study focuses on the use of another, more accurate DEM as a reference. The use of this reference adds another issue related to the differences in the spatial resolutions between the reference DEM and the destination DEMs and their repercussions on the identification of checkpoints.
The manual selection and measurement of checkpoints supposes a great deal of time and cost effort for any affected project, depending on, for example, the sample size of the points to be used. In addition, this manual selection is conditioned by the operator’s experience. We must consider that two different operators will select different checkpoints following their own criteria, causing a certain bias. The use of an automatic procedure will avoid this problem because the selection will follow certain criteria, giving the process greater repeatability.
Considering the aspects described previously, an automatic procedure to determine checkpoints from both sources (to be assessed and referenced) is desirable. The use of an automatic procedure will provide a cost reduction and an improvement in the assessment due to the increase in the sample size by covering the DEM with a larger density of checkpoints. In addition, the automatization would remove the biases caused by operators. On the other hand, this assessment should analyze both vertical and horizontal accuracies in order to study the influence of the horizontal discrepancies in height values. In this study, we propose the possibility of using a set of checkpoints obtained directly from both sources and, more specifically, from two DEMs (the one to be assessed and the reference one). To achieve this objective, it is necessary to develop a new methodology that allows the automatic detection of homologous points from both sources but also considers the characteristics of DEMs (spatial continuity, low variance, etc.) and the necessity of using well-defined points. As mentioned previously, the ASPRS standard [12] establishes some conditions applicable to checkpoints to be used in the positional accuracy assessment. These checkpoints must be clearly identifiable, both vertically and horizontally. Therefore, these aspects must be taken into account when developing this automatic procedure.
The automatic detection of homologous points contained in several images has been extensively studied during the last few decades. Several procedures based on point detectors have been described for their use in computer vision and photogrammetry, such as the Scale Invariant Feature Transform (SIFT) [15] and the Speeded Up Robust Features (SURF) [16]. Some recent studies have compared these detectors [17,18], and some applications have been performed with DEMs based on these algorithms, such as those oriented to the registration of several datasets [19,20]. Although these algorithms are focused on obtaining interest points that are common to several images, and these homologous points could be used to compare their coordinates, most of them are not suitable for a positional accuracy assessment because they cannot be assumed as well-defined points (considering the conditions indicated by the standards). Obviously, some of them could meet the requirements. This implies that a filtering procedure should be included to discriminate between those well-defined points, but this suggests an increase in the computing time. In this sense, a strategy based on the detection of highlighted points carried out from the beginning of the procedure, aimed at obtaining well-defined points, should be more effective.

1.1. Statistical Characterization of DEMs

One of the assumptions of this study is the low variance of the data represented in DEMs, and as a consequence, there is a need to develop a new methodology that considers this aspect to detect the highlighted points to be used in accuracy assessment procedures. To contrast this assumption, we have developed a preliminary analysis comparing the statistics of several images representing DEMs with other real images, such as those commonly used with the SIFT algorithm. In this regard, we used 12 official DEMs related to 3 cartographic sheets obtained from an official institution in Spain, which are more specifically described in Section 3 of this document, and 904 images obtained from the Image Matching Challenge PhotoTourism (IMC-PT) 2020 dataset [21]. These images are shared to both train and evaluate new strategies for image matching and, more specifically, to obtain dense and accurate 3D reconstructions from large collections of images based on the SIFT algorithm. Considering these datasets, we developed a statistical description based on the normalized values of the mean and the standard deviation of the digital levels of each image. The results are shown in Figure 1, where the graph displayed in Figure 1a shows the statistics of the mean values, and Figure 1b shows those related to the standard deviations. In the case of IMC-PT, the median value of all the means is close to 0.5 (Figure 1a), while the average standard deviation is higher than 0.3 (Figure 1b). On the other hand, the DEMs show a similar median value of the means of all the images with respect to the other dataset (Figure 1a), although this value is highly conditioned by the relief of the zones analyzed. However, the average standard deviation is lower than 0.2 and shows less variability (Figure 1b). This reduced data dispersion confirms that DEMs have a lower variance than the IMC-PT images analyzed and a lack of outlier values. Consequently, this aspect should be considered in point detection procedures because of its possible influence on feature identification. Interestingly, this lack of outliers indicates that an algorithm based on variance should have poor results and low highlighted point identification.

1.2. Objectives of This Study

Taking into account the aspects described previously, the main objective of this study involves the development of a new methodology to automatically detect the homologous points from two DEMs (to be assessed and reference) that are suitable to assess the positional accuracy (vertical and horizontal) of the dataset to be analyzed. This implies that points must be well-defined, both on the sources and on the ground (following the ASPRS standard [12]). As a secondary goal, the procedure should allow us to increase the sample size of the points, improving the results given by the manual procedures. Another goal is related to the analysis of those parameters needed to execute the procedure and their relationships with the data characteristics, such as the spatial resolution of both DEMs.
This paper is structured as follows: First, a description of the proposed methodology is outlined, including the algorithm used to achieve the main objective of this study. After that, a description of the data used in the application of this methodology is given. Subsequently, a summary of the main results obtained after this application is given, including a discussion of the results and their impact on quality assessment, considering those aspects that affect the proposed methodology. Finally, the main conclusions of this study and future works will be presented.

2. Methodology

The methodology is designed to face the two main issues in DEMs. The first issue is the low variance mentioned in the previous section. The second issue is a general difference, both in scale and position. The latter requires further explanation. Different DEMs may describe the same zones of the surface of the Earth with different resolutions of each cell. This affects not only to the number of cells of the image but the digital levels that represents the height of the DEM.
Following the description in the previous paragraph, the methodology is divided into two phases:
  • Preprocessing: This phase is designed to determine general differences in scale, position, and rotation (rigid transformation).
  • Determination of homologous points (keypoints): This is the main process of the proposed method. It determines the points with the same characteristics in both DEMs using an increasing and rotating ring and a set of pixels surrounding the selected one with a known Manhattan distance for comparison inside a predefined search window.
The preprocessing phase, due to low variance, is achieved using an Iterative Closest Point (ICP) algorithm following the ideas of Fitzgibbon [22] and Sahillioglu and Kavan [23], among others. The last one was used to achieve a difference in the pixel spatial resolution, as was indicated in previous paragraphs. The points used to carry out this alignment between the two DEMs were a set of local maxima and minima with the following criteria: (i) the maximum or minimum must have a distance higher than the diagonal of the image divided by the number of the total local maxima and minima points detected; (ii) maxima and minimum must be absolute inside a defined zone; and (iii) maximum and minimum must be separated to obtain a match. With this approach, we first obtain a transformation to determine the original differences in scale, rotation, and position. We think that this approach is the most interesting because it isolates our proposed algorithm from knowledge about spatial information. However, a general transformation can be performed due to geoposition parameters of each DEM, which can allow us to test the results.
Once the preprocessing phase is finished, we determine a more precise match inside a defined area around a cell of the reference image projected into the tested image. The improvement in the keypoint position is achieved using the transformation parameters of the preprocessing phase (Figure 2a).
The main idea behind the matching is the use of Pearson chi-squared test value to determine if two rings are similar “enough” to be considered the same. Because this test is defined for two sets of data with the same length, as we consider a set of discrete cells, we can compare both rings. In addition, if we define a rotation direction of one of the rings and we match the number of cells of each ring by means of a simple interpolation (Figure 2b), rings with different orientations and different resolutions per pixel can be compared.
The proposed procedure is described as Algorithm 1. It is a general iterator in the reference image over the tested image using the transformation obtained in preprocessing and a zone around this position. Then, each ring inside this zone is tested against the original ring of the reference image using a rotation. From all of these rings, the maximum correlation coefficient is retrieved. Finally, if the value is greater than a chosen threshold, this match is selected.
Algorithm 1. Determine matched keypoints between two images.
Inputref_img: Image (Image with one band no restriction about datatype)
img: Image (Image with one band no restriction about datatype)
d: Distance of the ring in cell units
t: Transformation (General transformation from ref_img to img that has to be reversible)
s: Relation of scale between ref_img and img
minp: Minimum value of Pearson test to consider a keypoint
Outputl: List of matched keypoints
Pseudocodel = list()
for each cell(i,j) in img1
ring1 = getRing(i,j,d,ref_img)
i2, j2 = transform(i,j,t)
pbase, rotationbase = 0, 0
ibase, jbase = i2, j2
for each cell(ir2,jr2) in range([i2 − d × s,i2 + d × s], [j2 −d × s,j2 + d × s])
ring2 = getRing(ir2,jr2,img)
ring2scale = scale(ring2, len(ring1))
p = pearson(ring1,ring2scale)
r = 0
for each rotation in ring_perimeter
ring2rotated = rotate(ring2scale, rotation)
protated = pearson(ring1, ring2rotated)
if p < protated then
p = protated
r = rotation
if pbase < p then
ibase, jbase = ir2,jr2
pbase, rotationbase = p, r
if pbase >= minp then
l.add((i,j),(ibase,jbase),(pbase,rotationbase))
return l
With regard to the theorical time, it is close to order O(n4). However, some improvements can be applied, for example, because the rotation of the ring, which is a linear element, is only a translation in the offset of the initial index of the element. On the other hand, the rings can be read in a cached way in the tested image side because the comparison of each ring is applied various times, one for each pixel of the reference image inside the possible matching zone. With these two changes, the theorical time can be reduced. Moreover, if we consider that correlation test has several sums that are not affected by rotation, only the crossed products between the ring from the tested image and the reference image are calculated in the order defined by rotation.
The final approach of the proposed algorithm is to recalculate the initial transformation and determine the differences between transformed keypoints from reference image and their homologous points in tested image. These differences are considered local changes, while the transformation is considered the positional quality.
Finally, it is important to note that there are some parameters that define the goodness of the keypoints’ definition. First, the comparison ring distance, because of its low variance, can be defined by several rings. The other parameter is the minimum value of correlation test; in this case, a very high value greater than 0.9 is recommended, because of the low variance of DEM data. With regard to the other parameters, like scale between DEMs or the test zone maximum search distance, they are defined using the preprocessing phase, so they have fixed default values. However, maximum search distance can be modified if both DEMs are extremely different.

3. Description of Datasets

The datasets selected to test the proposed methodology were composed of three types of DEMs related to four cartographic sheets of about 30 km × 19 km (Figure 3). These 12 DEMs are produced and published by the Instituto Geográfico Nacional of Spain [24]. The main properties of these datasets are shown in Table 1, including spatial resolution, dimensions, maximum and minimum heights, and mean slope. Thus, we selected two DTMs with different spatial resolutions (25 and 5 m) and one DSM (spatial resolution of 5 m) from each zone. The selection of the zones was related to their relief. Our aim was to cover all possible cases from flat to mountainous areas (one flat: 1034; two intermedium: 946 and 1008; one mountainous: 1027). In this sense, we selected zones characterized by low to high elevations and slopes (Table 1). We have to note that the difference in spatial resolution (25 vs. 5 m) supposes a small reduction in the height variability and mean slope.
The selection of datasets considering two different spatial resolutions (DETM25 and DTM05), representing the same terrain surface, focused on contrasting the capacity of our method in these cases and determining the influence of this basic aspect of gridded data. In this sense, we selected a differential factor of five between their resolutions, which is a high value considering the purpose of quality assessments. In addition, we also wanted to analyze the feasibility of our approach to detect homologous points when the represented surfaces include important differences. For instance, the DTM05 uniquely represents the surface of the terrain while the DSM05 also includes other elements such as vegetation, constructions, etc. These elements could hide possible terrain points to be used, reducing the number of detected points.

4. Results and Discussion

The results section is structured in two parts. The first section shows the results of applying a standard algorithm to obtain the homologous points, SIFT, in each DEM. The second part shows the results obtained by the algorithm proposed in this paper.

4.1. Results of SIFT

In order to test the improvements to our methodology to determine the homologous points in two DEMs versus standard keypoint matching algorithms, we propose the use of the SIFT algorithm [15]. Because the algorithm is extensively described and programmed in several environments, we have applied the algorithm using the OpenCV [25]. The results are shown in Table 2 using the standard values proposed by Lowe [15], without limits in the number of feature detections (octaves = 3; contrast threshold = 0.03; sigma of Gaussian = 1.6; edge threshold = 10). In addition, Table 3 shows the matching results obtained from the SIFT BFMatcher algorithm from OpenCV [25]. First, it is important to note that not all keypoints can be used in the search of homologous pixels between two DEMs of the same zone. With respect to the results, the comparison between DTM25 and DSM05 or DTM05 has a scale near 0.2 that reflects the difference in resolution of the pixel indicated in Section 3, while the comparison between DSM05 and DTM05 has a scale similar to 1. In addition, the precision of the transformation is good when the number of the match is low, which could represent a great dispersion in the keypoints’ results and distribution.

4.2. Results of the Proposed Algorithm

With regard to the results of the algorithm, it was tested on the DEMs presented in Section 3. Moreover, the parameters used were limited to a distance of 1 and a minimum correlation of 0.9995. Following these restrictions, the results are shown in Figure 4, Figure 5 and Figure 6 and Table 4.
After reviewing the correlation values (see Figure 4) a great number of pixels that matched between both DEMs were observed; in fact, the majority of pixels from the DEM with the smaller size were obtained, and the number was always greater than 80%. In addition, most of the pixels were close to 1, except for zones 1008 and 1027 between DEMs of different resolutions.
On the other hand, Figure 5 shows the pixel distance along each axis with different colors for the pixels in the image (not the reference image). A first look reveals that the match between DTM05 and DSM05 only had a maximum distance of 2 pixels, but the distance between DTM25 and the others was up to 10 pixels. These values are defined by the initial scale from the first transformation. Additionally, the graphics indicate a difference between each axis. Following this, the blue axis (horizontal) is closer to a normal distribution with zero, which should mean that the displacement of the matching in this direction is near to zero as well. However, the red axis (vertical) has a different distribution; in this case, the majority of the matched pixels are within the limits of the search window. For this reason, there is supposed to be a great displacement between the matched DEMs on this axis.
Finally, we composed both displacements at a distance expressed in the pixels of the image. The rotation between rings was not considered due to their values being zero in almost all cases, which is explained by the fact that all the DEMs have the same orientation. The composed distance is featured in Figure 6, which presents two different results. The comparison between DSM05 and DTM05 has similar distance values, between two and three pixels. However, between DTM25 and the other DEMs, the distance is around ten pixels, which is two multiplied by the difference in scale of the DEMs. For this reason, both comparisons show a similar result.
With regard to the specific cells that were matched between the DEMs, the images in Figure 7 can be used as an example. In this figure, the red pixels represent cells that have a correlation coefficient better than 0.99. The first idea that we want to highlight is the difference in the matched cells; zone 946 has a smaller number of highlighted cells because there are great differences between MDT and MDS, even with the same spatial resolution. These differences are the expected results because height changes are focused on zones with vegetation and buildings. On the other hand, zone 1027 has a high number of matched cells, which we consider a good result because the DEMs are in areas with low vegetation or even bare ground. The results in Figure 7 also highlight riverside vegetation, for example, in the zoomed areas of zones 1027 and 1034. Moreover, vegetation areas, like the zoomed part of zone 1008, have been detected and discarded as highlighted cells for matching both DEMs.
To end this section, the results of the matching process are shown in Table 4. As we can see, the matched keypoints show almost no rotation and a scale that is almost equal to the scale of definition of the DEMs, which are one between DTM05 and DSM05 and five between DTM25 and the other two. The number of keypoints used for this calculation is more than 500,000 points in the lower cases, and the precision is near the distance of Figure 6 for transformations between DTM05 and DSM05 and five times higher between DTM25 and DSM05 or DTM05.

4.3. Discussion

In view of the results shown in this study in Section 4.1 and Section 4.2, we could state that the proposed algorithm has some advantages and a few drawbacks with respect to standard feature extraction algorithms like SIFT [15] in the case of DEMs.
First, our approach has demonstrated great potential for obtaining large sets of keypoints (homologous points) from two DEMs with low variance. In this sense, the proposed algorithm allows us to determine a more robust matching and transformation between two images.
Second, we have proved that the algorithm is capable of matching two DEMs regardless of their differences in resolution and geographical areas. This has been achieved by the use of a two-step process: first, a general ICP alignment [22,23], and then, a fine alignment by means of the keypoints. The final alignment allows us to use a variable-sized ring that can be used to analyze different levels of generalization for DEMs, as we have shown between DTM05 and DTM25.
Third, the large set of keypoints determined by the proposed algorithm allows us to obtain a general transformation between DEMs to define a global quality assessment. In addition, we can analyze the local differences among matched keypoints to determine small changes between DEMs. This will allow us to detect changes in zones for multitemporal studies.
Finally, the set of keypoints will be used in all the quality control assessment standards, like ASPRS [12], allowing us to fit the sample requirements of this standard. Moreover, the value of the Pearson correlation of each keypoint match can be used to weigh or filter the points of the desired sample. Furthermore, keypoint matching can allow us to obtain a horizontal quality control assessment for DEMs.
On the other hand, the algorithm has a few drawbacks. We highlight that the proposed methodology is time-consuming, especially in the fine matching procedure. Even using the improvements indicted in the methodology sections, it takes several hours to obtain the correlation in the worst cases (MDT05 vs. MDS05), using one threading processing under Python 3.10. For this reason, we have reimplemented using PyOpenCL 1.2 and tile overlapping in a i7-8550U CPU with an integrated GPU UHD 620. With this implementation, using the 24 computing units for GPU processing, the algorithm has been boosted and is able to be used to compare the two larger DEMS (MDS05 vs. MDT05) in a maximum of 300 s.
The second drawback that we detected is related to the necessity of a preprocessing alignment between the DEMs. However, the last procedure can be avoided in cases of well-defined DEMs, which include a transformation between the geographical and image coordinates. In this case, the fine matching can help determine the quality of the transformation.

5. Conclusions

This study has presented a new algorithm to obtain and match keypoints in low-variance images like DEMs. Our results have demonstrated the feasibility of matching DEMs with different resolutions, different variances, and a large set of keypoints. This will allow us to apply different quality control assessments to large samples. Moreover, the large sets of matched keypoints can determine the changing zones by displacement. In addition, the zones with missing keypoints could define great changes between the DEMs. Both types of information can be used for multitemporal studies.
The algorithm has been tested using large sets of data (DEMs), with differences in variance, resolutions, slopes, and other height descriptors, which has confirmed the viability of the proposed methodology. Moreover, all the used data are publicly available and can be checked by any other researcher.
Our future work will focus on improving the initial alignment using other keypoints with enrichment descriptors of pixels surpassing the proposed local maxima and minima and checking the different approaches for testing, like multirings and other zone matching descriptors that will be defined using simulations based on known deformations to test the accuracy of these changes.

Author Contributions

Conceptualization, M.A.U.-C. and A.T.M.-C.; methodology, M.A.U.-C. and A.T.M.-C.; software, M.A.U.-C.; validation, M.A.U.-C.; formal analysis, M.A.U.-C.; investigation, M.A.U.-C. and A.T.M.-C.; resources, M.A.U.-C. and A.T.M.-C.; data curation, M.A.U.-C.; writing—original draft preparation, M.A.U.-C. and A.T.M.-C.; writing—review and editing, M.A.U.-C. and A.T.M.-C.; visualization, M.A.U.-C. and A.T.M.-C.; supervision, M.A.U.-C. and A.T.M.-C.; project administration, M.A.U.-C. and A.T.M.-C.; funding acquisition, M.A.U.-C. and A.T.M.-C. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

All DEMs data is available at IGN Spain website [24].

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Guth, P.L.; Van Niekerk, A.; Grohmann, C.H.; Muller, J.P.; Hawker, L.; Florinsky, I.V.; Gesch, D.; Reuter, H.I.; Herrera-Cruz, V.; Riazanoff, S.; et al. Digital elevation models: Terminology and definitions. Remote Sens. 2021, 13, 3581. [Google Scholar] [CrossRef]
  2. ArcGIS Pro. Bit Depth Capacity for Raster Dataset Pixels. Available online: https://pro.arcgis.com/en/pro-app/latest/help/data/imagery/bit-depth-capacity-for-raster-dataset-cells.htm (accessed on 8 March 2023).
  3. ISO 19157; Geographic Information. Data Quality. ISO: Geneva, Switzerland, 2013.
  4. ISO 19157-1; Data Quality. Part 1: General Requirements. ISO: Geneva, Switzerland, 2023.
  5. Höhle, J.; Potuckova, M. Assessment of the Quality of Digital Terrain Models; European Spatial Data Research: Amsterdam, The Netherlands, 2011. [Google Scholar]
  6. Fisher, P.F.; Tate, N.J. Causes and consequences of error in digital elevation models. Prog. Phys. Geogr. 2006, 30, 467–489. [Google Scholar] [CrossRef]
  7. Mesa-Mingorance, J.L.; Ariza-López, F.J. Accuracy assessment of digital elevation models (DEMs): A critical review of practices of the past three decades. Remote Sens. 2020, 12, 2630. [Google Scholar] [CrossRef]
  8. Polidori, L.; El Hage, M. Digital elevation model quality assessment methods: A critical review. Remote Sens. 2020, 12, 3522. [Google Scholar] [CrossRef]
  9. American Society of Civil Engineers. Map Uses, Scales and Accuracies for Engineering and Associated Purposes; American Society of Civil Engineers, Committee on Cartographic Surveying, Surveying and Mapping Division: New York, NY, USA, 1983. [Google Scholar]
  10. FGDC-STD-007; Geospatial Positioning Accuracy Standards, Part 3. National Standard for Spatial Data Accuracy. Federal Geographic Data Committee: Reston, VA, USA, 1998.
  11. American Society for Photogrammetry and Remote Sensing. ASPRS accuracy standards for large-scale maps. Photogramm. Eng. Remote Sens. 1990, 56, 1068–1070. [Google Scholar]
  12. American Society for Photogrammetry and Remote Sensing. ASPRS Positional Accuracy Standards for Digital Geospatial Data. Photogramm. Eng. Remote Sens. 2015, 81, 277. [Google Scholar]
  13. Guan, L.; Pan, H.; Zou, S.; Hu, J.; Zhu, X.; Zhou, P. The impact of horizontal errors on the accuracy of freely available Digital Elevation Models (DEMs). Int. J. Remote Sens. 2020, 41, 7383–7399. [Google Scholar] [CrossRef]
  14. Mozas-Calvache, A.T. Positional accuracy assessment of Digital Elevation Models and 3D vector datasets using check-surfaces. ISPRS Int. J. Geo-Inf. 2023; submitted. [Google Scholar]
  15. Lowe, D.G. Object Recognition from Local Scale-Invariant Features. In Proceedings of the International Conference on Computer Vision, Kerkyra, Greece, 20–27 September 1999; pp. 1150–1157. [Google Scholar]
  16. Bay, H.; Ess, A.; Tuytelaars, T.; Van Gool, L. Speeded-up robust features (SURF). Comput. Vis. Image Underst. 2008, 110, 346–359. [Google Scholar] [CrossRef]
  17. Moghimi, A.; Celik, T.; Mohammadzadeh, A.; Kusetogullari, H. Comparison of keypoint detectors and descriptors for relative radiometric normalization of bitemporal remote sensing images. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2021, 14, 4063–4073. [Google Scholar] [CrossRef]
  18. Mousavi, V.; Varshosaz, M.; Remondino, F. Using information content to select keypoints for UAV image matching. Remote Sens. 2021, 13, 1302. [Google Scholar] [CrossRef]
  19. Aguilar, F.J.; Aguilar, M.A.; Fernandez, I.; Negreiros, J.G.; Delgado, J.; Perez, J.L. A new two-step robust surface matching approach for three-dimensional georeferencing of historical digital elevation models. IEEE Geosci. Remote Sens. Lett. 2012, 9, 589–593. [Google Scholar] [CrossRef]
  20. Li, T.; Hu, Y.; Liu, B.; Jiang, L.; Wang, H.; Shen, X. Co-registration and residual correction of digital elevation models: A comparative study. Cryosphere Discuss. 2022, 1–22, in review. [Google Scholar]
  21. Image Matching Challenge PhotoTourism 2020 Dataset. Available online: https://www.cs.ubc.ca/~kmyi/imw2020/data.html (accessed on 8 March 2023).
  22. Fitzgibbon, A.W. Robust registration of 2D and 3D point sets. Image Vis. Comput. 2003, 21, 1145–1153. [Google Scholar] [CrossRef]
  23. Sahilioglu, Y.; Kavan, L. Scale-Adaptive ICP. Graph. Models 2021, 116, 101113. [Google Scholar] [CrossRef]
  24. Instituto Geográfico Nacional. Centro de Descargas. Available online: https://centrodedescargas.cnig.es/CentroDescargas/ (accessed on 8 March 2023).
  25. OpenCV. Open Source Computer Vision Library. 2023. Available online: https://opencv.org/ (accessed on 7 April 2023).
Figure 1. Statistics of datasets IMC-PT and DEMs: (a) mean values; (b) standard deviations.
Figure 1. Statistics of datasets IMC-PT and DEMs: (a) mean values; (b) standard deviations.
Algorithms 16 00302 g001
Figure 2. Methodology proposed in this study: (a) workflow; (b) example of the procedure for obtaining two sets of pixels to correlate. The acronyms are as follows: DV: Digital value of pixel; n: number of cells in the ring; d: distance in pixels from the center of the ring in the reference image; D: distance of the search window in pixels in the search image; n: number of pixels of the ring of distance d; n’: number of pixels of the ring of distance d’; f: relation between approximate pixel spatial resolution from reference image and search image.
Figure 2. Methodology proposed in this study: (a) workflow; (b) example of the procedure for obtaining two sets of pixels to correlate. The acronyms are as follows: DV: Digital value of pixel; n: number of cells in the ring; d: distance in pixels from the center of the ring in the reference image; D: distance of the search window in pixels in the search image; n: number of pixels of the ring of distance d; n’: number of pixels of the ring of distance d’; f: relation between approximate pixel spatial resolution from reference image and search image.
Algorithms 16 00302 g002
Figure 3. DEMs used in the application of the proposed methodology.
Figure 3. DEMs used in the application of the proposed methodology.
Algorithms 16 00302 g003
Figure 4. Frequency of correlation coefficient values for all the zones and all comparisons.
Figure 4. Frequency of correlation coefficient values for all the zones and all comparisons.
Algorithms 16 00302 g004
Figure 5. Distances in rows and columns of the matched keypoints (red: vertical; blue: horizontal).
Figure 5. Distances in rows and columns of the matched keypoints (red: vertical; blue: horizontal).
Algorithms 16 00302 g005
Figure 6. Total distance of matched keypoints.
Figure 6. Total distance of matched keypoints.
Algorithms 16 00302 g006
Figure 7. Examples of correlation coefficients greater than 0.99 (red colored zones) for the four tested zones. The DEMs were DTM05 compared with DSM05. The background is the orthophoto map of Spain (IGN of Spain) [24].
Figure 7. Examples of correlation coefficients greater than 0.99 (red colored zones) for the four tested zones. The DEMs were DTM05 compared with DSM05. The background is the orthophoto map of Spain (IGN of Spain) [24].
Algorithms 16 00302 g007
Table 1. Main characteristics of the DEMs used in this study.
Table 1. Main characteristics of the DEMs used in this study.
DEMZoneResolution (m)Rows/ColumnsMin./Max. (m)Mean Slope (%)DEM-ID
DTM25946251189/759271/130714DTM25-0946
DTM0555937/3785266/141415DTM05-0946
DSM0555935/3783266/141718DSM05-0946
DTM251008251197/758422/159119DTM25-1008
DTM0555975/3785422/158921DTM05-1008
DSM0555973/3783419/158925DSM05-1008
DTM251027251194/750741/345443DTM25-1027
DTM0555963/3743745/345546DTM05-1027
DSM0555960/3741746/345548DSM05-1027
DTM251034251218/784−1/4085DTM25-1034
DTM0556081/3911−2/4066DTM05-1034
DSM0556079/3908−2/4058DSM05-1034
Table 2. Number of keypoints obtained from SIFT algorithm.
Table 2. Number of keypoints obtained from SIFT algorithm.
DEM-ID#Keypoints
DTM25-094611
DTM05-09469
DSM05-09468
DTM25-100840
DTM05-100845
DSM05-100841
DTM25-102727
DTM05-102727
DSM05-102727
DTM25-103422
DTM05-103424
DSM05-103423
Table 3. Matching results of the SIFT algorithm ( σ ^ 0 2 is the variance of the mean square adjustment between both DEMS).
Table 3. Matching results of the SIFT algorithm ( σ ^ 0 2 is the variance of the mean square adjustment between both DEMS).
DEM-ID 1DEM-ID 2#Keypoints for MatchingMean Scale (X/Y) σ ^ 0 2
DSM05-0946DTM05-094661.0020524619.185842889
DSM05-0946DTM25-094680.2005788050.406204984
DTM05-0946DTM25-094680.2006553450.257664539
DSM05-1008DTM05-1008400.99979805243.72951535
DSM05-1008DTM25-1008290.17330169440.81601968
DTM05-1008DTM25-1008330.182126235995.761413
DSM05-1027DTM05-1027270.9999769111.831542813
DSM05-1027DTM25-1027180.1901692762007.481743
DTM05-1027DTM25-1027180.1901375431996.775669
DSM05-1034DTM05-1034200.9997921793.298975751
DSM05-1034DTM25-1034180.201131872636.0208014
DTM05-1034DTM25-1034190.2000289570.061698366
Table 4. Matching results of the proposed algorithm ( σ ^ 0 2 is the variance of the mean square adjustment between both DEMS).
Table 4. Matching results of the proposed algorithm ( σ ^ 0 2 is the variance of the mean square adjustment between both DEMS).
DEM-ID 1
(Reference)
DEM-ID 2Mean Scale (X/Y)Rotation σ ^ 0 2
DSM05-0946DTM05-09461.00000771−0.0002732992.9712019
DTM25-0946DSM05-09464.999898850.00046066743.7015771
DTM25-0946DTM05-09464.99976919−0.00184764542.6738983
DSM05-1008DTM05-10081.00001888−0.0003483522.98831609
DTM25-1008DSM05-10084.99759005−0.00026185344.5912646
DTM25-1008DTM05-10084.99858267−0.0010532840.2658607
DSM05-1027DTM05-10270.99997725−4.98485 × 10−52.56474212
DTM25-1027DSM05-10274.99907199−0.0146298749.0939488
DTM25-1027DTM05-10274.99895135−0.01607288946.0422685
DSM05-1034DTM05-10340.999996010.0006554662.6222421
DTM25-1034DSM05-10344.998976570.0024636552.7526375
DTM25-1034DTM05-10344.999306890.00916137550.3271811
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Ureña-Cámara, M.A.; Mozas-Calvache, A.T. Identification of Highlighted Cells in Low-Variance Raster Data Application to Digital Elevation Models. Algorithms 2023, 16, 302. https://doi.org/10.3390/a16060302

AMA Style

Ureña-Cámara MA, Mozas-Calvache AT. Identification of Highlighted Cells in Low-Variance Raster Data Application to Digital Elevation Models. Algorithms. 2023; 16(6):302. https://doi.org/10.3390/a16060302

Chicago/Turabian Style

Ureña-Cámara, Manuel Antonio, and Antonio Tomás Mozas-Calvache. 2023. "Identification of Highlighted Cells in Low-Variance Raster Data Application to Digital Elevation Models" Algorithms 16, no. 6: 302. https://doi.org/10.3390/a16060302

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop