Next Article in Journal
Attention-Setting and Human Mental Function
Previous Article in Journal
Embedded Quantitative MRI T Mapping Using Non-Linear Primal-Dual Proximal Splitting
Previous Article in Special Issue
DRM-Based Colour Photometric Stereo Using Diffuse-Specular Separation for Non-Lambertian Surfaces
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Atmospheric Correction for High-Resolution Shape from Shading on Mars

Image Analysis Group, TU Dortmund University, Otto-Hahn-Str. 4, 44227 Dortmund, Germany
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
J. Imaging 2022, 8(6), 158; https://doi.org/10.3390/jimaging8060158
Submission received: 19 March 2022 / Revised: 24 May 2022 / Accepted: 28 May 2022 / Published: 1 June 2022
(This article belongs to the Special Issue Photometric Stereo)

Abstract

:
Digital Elevation Models (DEMs) of planet Mars are crucial for many remote sensing applications and for landing site characterization of rover missions. Shape from Shading (SfS) is known to work well as a complementary method to greatly enhance the quality of photogrammetrically obtained DEMs of planetary surfaces with respect to the effective resolution and the overall accuracy. In this work, we extend our previous lunar shape and albedo from shading framework by embedding the Hapke photometric reflectance model in an atmospheric model such that it is applicable to Mars. Compared to previous approaches, the proposed method is capable of directly estimating the atmospheric parameters from a given scene without the need for external data, and assumes a spatially varying albedo. The DEMs are generated from imagery of the Context Camera (CTX) onboard the Mars Reconnaissance Orbiter (MRO) and are validated for clear and opaque atmospheric conditions. We analyze the necessity of using atmospheric compensation depending on the atmospheric conditions. For low optical depths, the Hapke model without an atmospheric component is still applicable to the Martian surface. For higher optical depths, atmospheric compensation is required to obtain good quality DEMs.

1. Introduction

The topography of planetary surfaces provides essential information for a wide field of applications. For example, geomorphologic analysis requires high-resolution Digital Elevation Models (DEMs), but the analysis of hyper-spectral data also benefits greatly from accurate DEMs. To correct hyper-spectral data for photometric effects and thermal emission, a detailed DEM and, in particular, accurate slopes are vital. Furthermore, the planning of rover missions relies on DEMs to assess landing sites and possible hazards associated with steep terrain. In recent years the interest in rover missions to Mars, in particular, has again increased significantly. In 2021, both the National Aeronautics and Space Agency’s (NASA’s) Perseverance Rover and the Chinese National Space Agency’s (CNSA’s) Zhurong rover successfully landed on the Martian surface. The Rosalind Franklin rover of the European Space Agency (ESA) was planned to be launched to Mars in 2022, but has been postponed to a later date. The Martian surface is covered by a thin and non-negligible atmosphere that increases the model complexity of intensity-based reconstruction methods. This study contributes in two ways. First, it adopts the previous framework of Grumpe and Wöhler [1], which was developed for Lunar DEM generation, and tailors it to Martian conditions. Therefore, the Hapke reflectance model is combined with an atmospheric model, yielding a state-of-the-art Shape from Shading (SfS) procedure. The relevant parameters can either be completely retrieved from the image or supplied from independent atmospheric measurements. Secondly, we investigate the performance of the procedure depending on the atmospheric conditions and parameter choices. This step has largely been neglected by previous studies on intensity-based Martian 3D-reconstruction and is crucial to evaluate the performance of SfS on Mars.

1.1. DEM Generation for Planetary Surfaces

In general, there are three major methodological approaches that are used to generate DEMs of planetary surfaces, i.e., ranging techniques, photogrammetric approaches and shading-based methods. Laser-altimetry samples the surface with laser pulses and the time-of-flight of the photons is translated into range measurements. The resulting DEMs have a high vertical fidelity and an extensive coverage of the planet is achieved. However, the lateral resolution is limited due to a comparatively coarse sampling of the surface (e.g., LOLA: 59 m/pix [2], MOLA: 463 m/pix [3]). Photogrammetric approaches, or stereo vision, use two or more images taken from different perspectives to infer a DEM, usually based on bundle adjustment. These methods do not require any physical reflectance model and are known to yield a good absolute height estimate. The state-of-the-art frameworks commonly employed in the planetary community are the Ames Stereo Pipeline [4] and BAE Systems’ SOCET SET® [5]. Both rely on blockmatching to obtain tie-points for the bundle-adjustment procedure. Extensive regions of the planets are covered by regolith, which naturally appears textureless. The lack of texture may cause mismatching, which yields a variety of reconstruction artifacts such as spikes, holes where no matches could be generated and stair-like structures termed pixel-locking [6]. These stereo artifacts effectively lower the resolution of the DEM to several times below the pixel resolution.
Shading-based methods require a reflectance model to connect radiance measurements and surface gradients. They also need proper initialization to ensure convergence. This additional effort is justified by obtaining a DEM of pixel level resolution with a very accurate reconstruction of slopes and heights and the elimination of stereo artifacts, especially in textureless areas (e.g., [7]). In order to enhance the quality of DEMs, recent approaches have successfully combined low resolution DEMs from photogrammetry and laser-altimetry with SfS, among others, on either the Moon (e.g., [1,8,9,10]), Mercury (e.g., [11]) or on Mars (e.g., [12,13,14,15,16,17,18]). The rationale is that the low resolution DEM provides a good absolute height estimate and SfS is used to refine the surface such that the whole procedure combines the advantages of both approaches.
Recently, various works have explored machine-learning techniques to directly infer a relationship between measured image intensities and surface height (e.g., [19,20,21]). These approaches are purely data-driven and do not incorporate physical information. However, the training procedures implicitly learn the atmospheric conditions present in the training data, but the atmospheric influence has not been explicitly investigated in these works. Consequently, machine-learning approaches will also benefit from investigating the influence of the atmosphere on the reconstruction.

1.2. Shape from Shading in Planetary Remote Sensing

Galileo Galilei stated that surfaces that are tilted away from the sun appear darker and parts that face the sun appear brighter [22].This is probably the first time that surface shading was used to analyze the topography of a planetary body, and it has been used ever since. With the rise of more rigorous physical approaches and an increase in computational power, numerous approaches have been developed that use illumination geometry and shading to quantify the surface slope and topography, primarily of the Moon. In planetary science, these techniques are often termed photoclinometry, and the earliest approaches are given by Rindfleisch [23], Wildey [24], and Kirk [25]. A highly recognized technique from the computer vison community is the SfS method of Horn [26], which allows for the integrated recovery of slopes and heights. The surface reconstruction problem is encoded in terms of variational calculus and hence it is solved by minimizing a functional that penalizes the deviations between the shaded surface and the input image. To ensure integrability of the estimated surface, an additional regularization term is introduced. Further constraints were introduced by Shao et al. [27] to elastically tie the surface to a low frequency constraint surface, which improves the absolute vertical fidelity. Grumpe and Wöhler [1] generalized the variational approach and introduced a formalism to concurrently estimate the surface heights and the local reflectance properties in terms of the Hapke reflectance model, i.e., the albedo. Other recent approaches, which share many structural similarities, are, for example Wu et al. [9], Jiang et al. [18], and Alexandrov and Beyer [10]. Wu et al. [9] and Alexandrov and Beyer [10] use LRO-NAC images of the Moon and make use of the Lunar-Lambert model. The latter method additionally allows for multiple images. Jiang et al. [18] adopt the algorithm of Grumpe and Wöhler [1] and use the Mars-specific reflectance model and the Mars ReCo algorithm from Ceamanos et al. [28] to estimate the reflectance and atmospheric parameters.

1.3. Shape from Shading Applied to Mars

SfS has been applied to the Martian surface for forty years, and over time, different approaches of an increasing level of sophistication have been presented. This section provides a brief review of previous approaches for SfS applied to Mars and points out the methodical challenges and open questions addressed by this paper.
Previous approaches primarily differ in the reflectance model, the specific implementation of the SfS algorithm and the dataset that determines the actual resolution. Early works applied photoclinometry to Mariner 9 images [24] and SfS to Viking imagery [12,13]. Dorrer et al. [29] and Dorrer et al. [14] employ SfS to refine stereo DEMs, which are derived from the High-Resolution Stereo Camera (HRSC) onboard the Mars Express orbiter [30]. O’Hara and Barnes [16] propose the Large Deformation Optimization Shape from Shading (LDO-SfS) technique for recovering the surface shape without initialization. All approaches use simple reflectance models such as Lambert or Oren–Nayar [31], and mostly assume a constant albedo, if any, and do not model any atmospheric effects (e.g., [16]). Gehrke [15] is the first to address atmospheric effects on Mars in the context of surface reconstruction. The work combines facet stereo vision with SfS, applied to HRSC imagery. The Lunar-Lambert model is used for radiometric modeling, and the optical depth of the atmosphere is estimated from two HRSC images acquired under different observation angles.
Jiang et al. [18] were the first to propose a scheme for an integrated stereo and SfS approach on CTX images (up to 5 m/pix) with atmospheric compensation. They employ their previous reflectance model [28] to build a thorough physical reflectance and atmospheric model based on additional multi-angle CRISM measurements to estimate the model parameters. Compared to the photogrammetric reconstruction, the DEM results show improvement and are consistent with a sparse set of MOLA points. In a subsequent publication, Douté et al. [32] extend their approach to work with HiRISE imagery; due to the lack of validation data, the Isotropic Undecimated Wavelet Transform (IUWT) is employed for a consistency-check.
Despite the overall viability and adequate results of SfS on Mars, we identify two methodological challenges and one open question related to atmospheric compensation. First, all previous works, and most recently the approach of Jiang et al. [18], assume constant albedo throughout the scene. If a more sophisticated area with locally varying albedo is examined, Jiang et al. [18] perform clustering and divide the scene into multiple regions with constant albedo. Even though algorithms for SfS with locally varying albedo exist (e.g., Wu et al. [9] and Grumpe and Wöhler [1]), they have not yet been fully explored for Mars. Secondly, modeling the atmosphere remains challenging and largely unexplored. Many studies have simply neglected atmospheric effects and Gehrke [15] only estimated the optical depth. The approach of Jiang et al. [18] requires external data to estimate the parameters of the reflectance model and the atmospheric model. Significant additional processing is required for obtaining the image parameters. Due to the lack of such data, Jiang et al. [18] assume globally averaged parameters. In general, it would be beneficial to directly estimate the atmospheric parameters from the image data such that no external information is necessary. Thirdly, Jiang et al. [18] employed an atmospheric model for their SfS implementation, but did not provide any further analysis of the influence of atmospheric conditions on the reconstruction results. In fact, they utilized images acquired under extremely clear atmospheric conditions with an optical depth of τ 0.16 (G20_025904_2209_XN_40N102W), τ 0.08 (B20_017600_1538_XN_26S183W), and τ 0.19 (B21_017786_1746_XN_05S222W), as can be retrieved from the maps of Montabone et al. [33]. Hess et al. [7] combined an atmospheric model with the SfS procedure from Grumpe and Wöhler [1] and Grumpe et al. [8]. They provided a short comparison with and without an atmospheric model for the first scene from Jiang et al. [18] (G20_025904_2209_XN_40N102W). Even the model without atmospheric compensation produced good results. However, none of the previous works have analyzed the influence of atmospheric modeling on SfS results for varying atmospheric conditions. Therefore, it remains unclear whether the effort of atmospheric compensation is always necessary and how the SfS procedure performs under increasing atmospheric opacity.
This work addresses these methodical challenges and the open question. The atmospherically compensated shape and albedo from shading approach extending on Grumpe and Wöhler [1] is outlined. The method employs Bayesian optimization for atmospheric parameter estimation. Further, this work aims to investigate whether external atmospheric parameters from, e.g., Montabone et al. [33] or Montabone et al. [34] are necessary or if these parameters can be directly retrieved from the scene. In order to systematically analyze the influence of varying atmospheric conditions on the performance of Martian SfS, three images of the same region as in Hess et al. [7] and Jiang et al. [18], but with good ( τ 0.16 ), medium ( τ 0.61 ), and bad ( τ 0.94 ) atmospheric conditions [33,34] are used.

2. Methods

The core idea of Shape from Shading (SfS) is to use the shading information of a given surface to infer its shape or, more rigorously, a radiance image I is used to estimate the surface shape, which can be represented by a scalar potential z. The SfS reconstruction task comes with four requirements, which are (1) a radiance image I, (2) a task-specific reflectance model R, (3) a reconstruction algorithm and (4) a low-frequency initialization of the surface. For Mars, radiance images acquired by the Mars Reconnaissance Orbiter (MRO) serve as the shading input I (Section 2.1). Our newly devised Martian reflectance model R maps surface gradients to reflectance values and thus links the shape to the shading of the surface (Section 2.2). Further, location and observation time specific model parameters are estimated, which is crucial for the accurate description of the planet’s photometric behavior. The atmospheric parameters are retrieved in a one-shot estimation with Bayesian optimization. The surface reconstruction problem is essentially ill-posed because a surface’s gradient field with two components as well as the single-scattering albedo are estimated from a single radiance image using the SfS algorithm of Grumpe and Wöhler [1] (Section 2.3). The shape of the surface and the albedo are updated in each of the pyramid levels until the SfS in the final pyramid level is carried out on full resolution images. The regularization requires a stereo-derived DEM as a low frequency constraint that is also used to estimate the atmospheric parameters once before the hierarchical SfS scheme. The full procedure is outlined in Section 2.4.

2.1. Datasets

The Mars Reconnaissance Orbiter (MRO) [35] carries, among other sensors, two cameras that are suited for SfS due to their high resolution and the range of usual observation angles. The High Resolution Imaging Science Experiment (HiRISE) [36] narrow angle camera captures images of selected target sites with a resolution of 25 cm/pix at best. The Context Camera (CTX) [37] contextualizes HiRISE imagery [36] at 5 m/pix resolution at best. CTX imagery covers the whole planet and many sites have been mapped by multiple images such that stereo reconstruction is possible. HiRISE only sparsely maps the planet and, often, there is no available stereo pair. Before processing, the raw data are calibrated to the reflectance factor I / F with ISIS3 [38]. The initial stereo DEMs and the HiRISE DEM for validation are calculated using the Ames stereo pipeline [4]. Additionally, the dust optical depth maps of Montabone et al. [33] and Montabone et al. [34], which are based mainly on data from the Mars climate sounder also onboard the Mars Reconnaissance Orbiter, can be used.

2.2. Reflectance Model

The reflectance model links the surface geometry to the radiance acquired by the sensor and, hence, serves as the crucial element of the SfS method. To model the reflectance properties of planet Mars, a photometric model for planetary surfaces (Section 2.2.1) is combined with an atmospheric model (Section 2.2.2).

2.2.1. Photometric Models for Planetary Surfaces

Shepard [39] gives an overview of photometric models in planetary remote sensing. The simplest but crudest approximation is to assume an isotropic surface and apply Lambert’s reflectance model, as done by Dorrer and Zhou [13] and Hartt and Carlotto [12].
The empirical Lunar-Lambert model is a weighted superposition of Lambert’s law and the Lommel–Seeliger law with an additional phase function to address anisotropy, and was originally tailored to the Lunar surface [40]. Wu et al. [9] and Alexandrov and Beyer [10] use the Lunar-Lambert model for the Moon and Lohse et al. [41] and Gehrke [15] adopt it to Mars. The models of Shkuratov et al. [42] and Hapke (summarized in Hapke [43]) rely on a more rigorous derivation. They are advantageous since they take physical properties into account and are proven to work well for particulate materials. The Hapke model, especially, has sound quantitative support and can be regarded as the standard model for planetary photometry. Nevertheless, some shortcomings are discussed by Shepard and Helfenstein [44] and Shkuratov et al. [45].
In the earth remote sensing community, the semi-empirical kernel method is commonly employed to approximate the bi-directional distribution function (BRDF) of a surface by a weighted superposition of kernels [46]. These kernels are chosen from a catalog according to the scene type under investigation. Jiang et al. [18] combine Ross-Thick and Li-Sparse (RTLS) kernels for Mars as described by Ceamanos et al. [28]. The performance of this method was compared to the Hapke model, showing a good agreement in common cases, but stronger deviations, especially under large incidence angles [28].
This approach relies on the Hapke model as the de-facto standard of photometric planetary analysis, which has successfully been employed for SfS [1,8]. Several formulations of the Hapke model exist. The Anisotropic Multiple Scattering Approximation (AMSA) of the Hapke model is given by:
r AMSA ( μ 0 , μ , g ) = w 4 π μ 0 μ 0 + μ { p ( g , λ ) B SH ( g ) + M ( μ 0 , μ ) } B CB ( g ) .
The model is a function of a variety of photometric and geometric parameters. The main parameter is the single-scattering albedo w. Additionally, the opposition effect is modeled with the terms B S H ( g ) denoting the Shadow Hiding Opposition Effect (SHOE), and B C B ( g ) , for the Coherent Backscatter Opposition Effect (CBOE). Both terms depend on two parameters each: one parameter for the strength of the opposition surge ( B S 0 / B C 0 ) and another parameter that describes the shape or width of the effect ( h s / h c ). In the model, multiple scattering within the medium is accounted for by the approximation M ( μ 0 , μ ) , which is given by:
M ( μ 0 , μ ) = L 1 ( μ 0 ) [ H ( μ ) 1 ] + L 1 ( μ ) [ H ( μ 0 ) 1 ] + L 2 [ H ( μ ) 1 ] [ H ( μ 0 ) 1 ] .
The geometry is defined by the cosines of the incidence and the emission angle μ 0 = c o s ( i ) and μ = c o s ( e ) , respectively. The angle g is termed the phase angle and is measured between the incoming light direction and the direction of the emitted light. The material dependency is addressed by the phase function p ( g ) and the single-scattering albedo w. The phase function can be expressed in terms of Legendre polynomials with the material specific Legendre coefficients b n :
p ( g , λ ) = 1 + n = 1 b n ( λ ) P n ( cos ( g ) ) .
Alternatively, the double-Henyey–Greenstein function can be used to approximate the phase function with only two material-specific parameters b and c:
p ( g ) = 1 + c 2 1 b 2 1 2 b cos ( g ) + b 2 3 / 2 + 1 c 2 1 b 2 1 + 2 b cos ( g ) + b 2 3 / 2 .
The Ambartsumian–Chandrasekhar H-function is defined as
H ( x ) = 1 + w 2 x H ( x ) 0 1 x x + x d x .
It is not analytically solvable, but viable approximations [43] exist:
H ( x ) = 1 w x r 0 + 1 2 r 0 x 2 ln 1 + x x 1
with
γ = 1 w
r 0 = 1 γ 1 + γ .
The remaining terms for L 1 and L 2 are defined by:
L 1 ( μ ) = 1 + n = 1 A n b n P n ( μ ) ,
L 1 ( μ 0 ) = 1 + n = 1 A n b n P n ( μ 0 ) ,
L 2 = 1 + n = 1 A n 2 b n .
The coefficient A n is calculated by evaluating the following definition
A 0 = 0
A n = ( 1 ) ( n + 1 ) / 2 n 1 · 3 · 5 n 1 · 2 · 4 ( n + 10 ) , n { 2 k | k N + } .

2.2.2. Atmospheric Model

Mars is encircled by a thin, but non-negligible atmosphere, which alters the radiance emerging from the planet’s surface. The mean surface pressure on Mars is approximately 6.3 hPa, but is highly variable compared to Earth [47]. The atmosphere consists almost entirely of CO2 (≈95%) [47], but the largest effect on the optical opacity of the atmosphere is caused by finely grained dust (effective radius approximately 1.4–1.7 μ m [48]). Especially during the latter part of the Martian year, winds faster than 30 m/s [49] can raise large amounts of dust, leading to a higher optical depth. The effects that arise from the presence of an atmosphere are addressed by embedding the reflectance model into an atmospheric model. The atmospheric model, which serves the purpose of accurate surface estimation, must be physically plausible and accurate, while staying at a manageable level of complexity. These requirements can be balanced by making a set of assumptions, which can roughly be grouped into either arising from the geometry of the atmospheric model or from the physical effects that govern the interaction between light and the atmosphere.
The Martian atmosphere can be modeled as a horizontally stratified layer on top of a flat planetary surface. The geometrical constraints for our atmospheric model are accompanied with three simplifying assumptions. (1) Because the region of interest is rather small compared to its distance to the orbiter and to the sun, we omit small angular changes and assume constant orbiter zenith angles and constant solar zenith angles. (2) Further, the topographical changes within the region of interest are small compared to the thickness of the atmosphere, which allows us to neglect them as well. (3) Unlike Earth, Mars usually does not exhibit strong weather changes on local scales and hence we can assume constant atmospheric parameters for our region of interest. If cases arise in which local weather events are present or very strong topographic changes occur, they may be addressed individually by dividing the region of interest into smaller segments. A sketch of the atmospheric slab model can be found in Figure 1.
The total radiation that arrives at the image sensor is, in principle, a superposition of reflected and scattered radiation and thermally emitted radiation. Because the spectral ranges of CTX (500–700 nm [37]) and HiRISE (400–1000 nm, more specifically, 550–850 nm for the red channel [36], exclusively used in this work) imagery are in the visible region, thermal contributions in the infrared range are not relevant. The reflected and scattered light of a planet I sensor which arrives at the sensor is commonly modeled [50] as the superposition of three contributing processes, i.e., directly reflected light I direct , reflected skylight I sky and path-scattered light I path
I sensor = I direct + I sky + I path .
The processes that govern the contributions are sketched in Figure 1 (right) and are outlined in the following paragraphs.
  • Directly Reflected
The Lambert–Beer law [51,52] states that the incoming light J TOA , which travels along a path S through the atmosphere with extinction E ( s ) , is attenuated exponentially. If the optical depth τ of the atmosphere is defined as the line integral of the extinction E evaluated along a line N normal to the surface, we need to divide by the cosine of the solar zenith angle μ s 0 to project it to the path of oblique illumination S. The top-of-atmosphere irradiance is denoted by J TOA and the irradiance that reaches the Martian surface J GND is given by
J GND = J TOA e S E ( s ) d s = J TOA e N E ( z ) d z μ s 0 = J TOA e τ μ s 0 .
The radiance J GND is reflected by the Martian surface and travels back to the orbiter’s image sensor along the line V under the orbiter zenith angle θ se . The cosine of this angle is denoted as μ s . En route, the light is attenuated a second time, such that I direct becomes
I direct = J TOA e τ 1 μ s 0 + 1 μ s r ( μ 0 , μ , g ) .
  • Skylight
Parts of the incoming radiance J TOA are scattered by the atmosphere and act as a diffuse source of illumination, termed skylight. The skylight J TOA ζ illuminates the Martian surface diffusely and is reflected into the direction of the sensor. This process can be directly modeled by employing the hemispherical-directional reflectance r hd , which links diffuse illumination to a collimated detector:
I sky = J TOA ζ r hd ( θ i , θ e , g ) e τ μ s .
The factor ζ describes the fraction of light that is actually scattered by the atmosphere to serve as diffuse skylight. The factor is obtained empirically in the parameter estimation step of our method. Following Nicodemus [53] and Hapke [43], the hemispherical-directional reflectance can be obtained by integrating the bi-directional reflectance r over the upper half sphere:
r hd ( θ e ) = θ e π / 2 ϕ π / 2 r ( θ i , θ e , g ) μ sin ( θ i ) d ϕ d θ i .
The bi-directional reflectance r can be implemented by Hapke’s model (Equation (1)). It is feasible to assume that the narrow peaks of the opposition effects have a neglectable contribution to the whole integral over the upper half sphere. Therefore, we can set B SH = 1 and B CB = 1 and arrive at a simpler formulation of Hapke’s model. The integral then evaluates to
r hd ( μ ) = 1 γ H ( μ ) + n = 1 b n { P n ( μ ) + A n H ( μ ) 1 } × { w 2 k = 0 n / 2 ( 1 ) k ( 2 n 2 k ) ! ( n k ) ! ( n 2 k ) ! k ! 2 n · [ μ n 2 k + 1 ( ( l o g ( μ ) l o g ( μ + 1 ) ) · ( 1 ) n 2 k ) + j = 0 n 2 k ( μ ) j n 2 k + 1 j ] + A n 1 H ( μ ) γ A n w 2 1 μ l n 1 + μ μ } .
  • Path-Scattered
Finally, some parts of the light are scattered by the atmosphere into the direction of the sensor due to “Rayleigh scattering and aerosol and particulate Mie scattering and [it] is reasonably assumed to be constant over the entire scene” [50]. Thus, we state
I path = χ J TOA .

2.2.3. Full Model and Parameter Estimation

Summarizing the components (Equations (16), (17) and (20)) yields the full atmospheric model:
r M = I sensor J TOA = e τ μ s 0 r d ( θ i , θ e , g , w ) + ζ r hd ( θ i , θ e , g , w ) e τ μ s + χ .
The full reflectance model r M depends on 16 parameters summarized in Table 1, which can be grouped into three distinct sets, i.e., geometric, atmospheric and material parameters. To accurately perform SfS, it is crucial to correctly obtain the reflectance parameters for a given scene and avoid interdependencies between parameters. The parameter determination is done in three ways. One set of parameters is given by a priori knowledge and, therefore does not need to be estimated. The second set of parameters is determined using a one-shot estimation based on the initial DEM and the image (see Section 2.2.4 for details). These are the atmospheric parameters in particular. The remaining geometric and material parameters are iteratively updated throughout the SfS method.
  • Geometric
The geometric parameters μ s 0 and μ s describe the cosine of the sun zenith angle and the orbiter’s zenith angle. Given the small angle approximation, they can be assumed to be constant over the entire image and are inferred from the ancillary data of the CTX or HiRISE imagery. The geometric parameters μ , μ 0 and g are derived from the illumination vector, the observation vector and the normal vector of a pixel of the DEM. All three parameters require a DEM, but the parameters are also the input for the reflectance model, which is actually used to estimate the DEM. Due to this coupling, the geometric parameters μ , μ 0 and g, as well as the albedo w, are estimated during the iterative shape and albedo from shading procedure (Section 2.3).
  • Material
The single-scattering albedo w is the most important material parameter and describes the ratio of reflected and incoming light that interacts with a single particle. It is generally assumed that the albedo varies locally, and hence it is estimated pixel-wise within the iterative shape and albedo from shading procedure. The initial albedo w 0 is assumed to be constant over the entire image and estimated once before the SfS procedure. Johnson et al. [54] retrieved Hapke’s single-scattering albedo w for different surface materials from pancam measurements of the Opportunity rover. In the red wavelength range for the CTX camera (500–700 nm) and the HiRISE camera (550–850 nm), the albedo is in the interval 0.35 w 0.85 . Laboratory measurements of Martian dust analogs (HWMK919) even yield albedos of up to w = 0.95 in the crucial wavelength range [55]. Thus, physically plausible albedo values on Mars are somewhere in the broad interval of 0.35 w 0.95 . The phase function p ( g ) describes the phase-angle dependent scattering behavior of particles and can be approximated by the double-lobed Henyey–Greenstein function. This function depends on the backscattering parameter b and the asymmetry parameter c, which are related by the so-called hockeystick relation [56]. The parameters b and c are located on this curve depending on the material. However, as done in previous work (e.g., [1]), there is a working assumption to equip the phase function with constant parameters. For the Moon, we used globally averaged b = 0.21 and c = 0.7 from Warell [57]. For Mars, Fernando et al. [58] set b = 0.3 and 0.6 c 1.0 for various materials observed by the pancam of Opportunity and Spirit. Johnson et al. [54] found slightly smaller values: c 0.5 . A globally averaged phase function based on CRISM and OMEGA observations was determined by Vincendon [59], who found b = 0.12 and c = 0.6 . Given these data, we set c = 0.6 and adopt b = 0.12 . Fernando et al. [58] also determined the roughness for various Martian materials, as seen by Spirit’s pancam. The unweighted average roughness of these materials is θ ¯ = 14 . 4 . Vincendon [59] derived a global roughness of θ ¯ = 17 . For this study, we omit the roughness to be able to compare the model with and without atmospheric compensation, because the roughness is not considered in the hemispherical-directional reflectance.
  • Atmospheric
The optical depth τ and the weights ζ for the diffuse illumination and χ for the path scattered radiance are assumed to be constant over the entire image and the estimation is performed once before the SfS algorithm is carried out. The optical depth of the Martian atmosphere undergoes seasonal variations and is usually in the range of 0.3 τ 0.7 [60]. The pancam of Opportunity rover reported values in the range of 0.43 τ 0.53 at its exploration site [60] and the 880 nm channel of the Spirit rover camera encountered values around τ = 0.3 [61] for roughly a quarter of the Martian year. During the dust storm season later in the year, the optical depth rises well above τ 1 and may reach levels up to τ 3 [61], such that the atmosphere becomes opaque. The region of interest investigated in this work is at a higher latitude than the rovers, and the optical depth is usually lower compared to the equator [33]. For a reasonable reconstruction, we set 0.1 τ 3 as boundaries. The weight ζ is approximately the relative importance of the hemispherical reflected light compared to the directly reflected radiance. We do not expect the hemispherical reflected light to be stronger than 20% of the directly reflected light. Consequently, we set ζ to be between 0 and 0.2 . In contrast to ζ , χ is an additive term. In the case of a global dust storm, almost all received radiance can be attributed to path scattered radiance—the surface is invisible. In most cases, however, it should only be a minor factor compared to the total radiance, which is in the order of 3 × 10 2 to 6 × 10 2 . Therefore, we expect χ to be smaller than 2 × 10 2 .

2.2.4. One-Shot Parameter Estimation

The atmospheric parameters and the initial mean albedo w 0 are assumed to be constant over the scene and are estimated once before the SfS method and are not updated in the SfS scheme. Then, the parameters are adjusted such that the rendered image matches the measured I / F data from the CTX or HiRISE instrument. These atmospheric parameters that best reconstruct the image data are used throughout the SfS. The resulting albedo serves as a global initialization, which is then refined locally within the SfS algorithm. Some challenges were encountered when devising a scheme for parameter retrieval and, as follows, the solutions to these challenges form the final scheme:
Firstly, pixel-locking is a stereo artifact that yields stair-like structures at slopes, e.g., at crater walls. Consequently, the gradient of these areas oscillates between a value that is either too steep or too flat compared to the real slope. The surface reflectance model depends on the surface inclination towards the sun, which is derived from the gradients of the DEM. If the reflectance takes oscillating gradients, it predicts an oscillating reflectance, which is not observed on the planet. To mitigate this effect, a Gaussian filter with a standard deviation of 2 is applied to the initial DEM in MATLAB® such that the stairs are smoothed out and the gradient becomes oscillation-free.
Secondly, the problem is ill-posed. Changes in the observed I / F value can originate from atmospheric effects, albedo changes or changes in the surface slope. For example, choosing a lower albedo or higher optical depth can darken the overall scene. The model relies on the assumption that the scene is described by constant atmospheric parameters and that the albedo changes are of lower spatial frequency. Most of the variations in brightness are explained by the shape of the surface. To disentangle these effects, it is best to use many different data points to cover the variations in the model. This is achieved by sampling areas with significant slope variations. Nonetheless, albedo changes can account for a change in I / F . To improve the parameter retrieval, it is best to sample areas with nearly constant albedo.
This also means that the parameters cannot be obtained entirely automatically. Experience and prior knowledge about the formation and the atmospheric conditions of the scene at time of acquisition are necessary. Physically reasonable boundaries for the parameters need to be chosen to constrain the optimization procedure. To address the given challenges, the following scheme for parameter retrieval is devised:
(1)
The initial stereo DEM is filtered with a Gaussian filter to suppress pixel-locking;
(2)
An I / F image is rendered from the smoothed, downsampled DEM using the combined atmospheric and reflectance model;
(3)
Training profiles are sampled, which should:
(a)
not cross severe stereo artefacts such as spikes and holes,
(b)
cover enough variations of slopes (e.g., shadows, as well as bright facets oriented towards the sun),
(c)
have a constant albedo. This is seen if the image has brightness variations which are not correlated with slope variations;
(4)
A Bayesian optimization algorithm in MATLAB® (bayesopt) is used to impose constraints on the parameters and to avoid terminating in a local minimum (e.g., [62,63,64]).

2.3. Shape from Shading

SfS uses the shading of an object to infer its shape. It is commonly formulated as an optimization problem, but using one 2D image to estimate a 3D shape is essentially ill-posed (e.g., [25,26]). Including information from a lower resolution DEM can help constrain the procedure (e.g., [27]). The model includes three regularization terms [1], namely, the integrability error and the deviation of absolute heights [27] and gradients of the DEM from the initial DEM compared at a lower frequency. Choosing appropriate weights for these regularization terms is essential for the procedure to converge. The parameters are listed in Table 2. The values of τ S f S and δ are chosen such that the weighted errors are of a similar order of magnitude as the intensity error. The weight for the integrability error is chosen such that it is the smallest value possible without the procedure to diverge. In this way, most details are reconstructed, and the resulting surface does not become too smooth. The technique is described by Grumpe and Wöhler [1] and Grumpe et al. [8]. A summary can be found in Appendix A.

2.4. Full Framework

The complete procedure is summarized in Figure 2. The initial data product from the CTX or HiRISE image pair is calibrated using ISIS3 ((1) in Figure 2). The images are calibrated to spectral radiance and both images of a pair are projected to the same simple-cylindrical map projection. With ISIS3, the orbiter and sun position can be retrieved with the campt command. These meta-data are used to calculate the vectors pointing to the orbiter ( v ) and to the sun ( s ) for each pixel. The radiance images are then used to generate the stereo DEM using the Ames stereo pipeline ((2) in Figure 2). Based on the low-pass filtered stereo DEM and the calibrated images, the atmospheric parameters ( τ , ζ , χ ) are estimated with Bayesian optimization ((3) in Figure 2). One ISIS3 calibrated radiance image and the initial DEM are reduced to a Laplacian pyramid representation. In this study, the procedure starts at the third pyramid level, which corresponds to 1/8th of the full resolution. In the next iteration, the resulting SfS DEM from the 3rd pyramid level is enlarged to 1/4th of the full resolution and is used as the initial DEM. The low frequency component of the albedo (Gaussian filter width σ ) is estimated using the combined atmospheric and reflectance model ((4) in Figure 2) based on the surface gradients and the illumination and viewing conditions. The resulting albedo and the previously calculated atmospheric parameters are then used for the reflectance modeling in the SfS framework of Grumpe et al. [8] ((5) in Figure 2). The regularization constraints have to be weighted with hand chosen parameters. Depending on the choice of these regularization parameters the SfS algorithm converges faster or slower. If the regularization parameters are chosen poorly or the radiative transfer model is inadequate, the SfS might diverge. After convergence, the resulting DEM is then fed back into the procedure, serving as an initialization for the next higher pyramid level representation, except for the refinement at full image resolution. After applying SfS at the full resolution of the image, the refined DEM is the final result.

3. Results and Discussion

We carried out the following experiments to investigate the influence of the atmospheric conditions on the reconstruction procedure. We selected three CTX images for different atmospheric conditions listed in Table 3 for a region in the northeast of Alba Patera. The images were selected based on the corresponding dust optical depth (DOD) according to Montabone et al. [33] and Montabone et al. [34] at the region of interest at the time the images were taken. The DOD values from 9.3 μ m were converted to the visible range by applying the factor 2.6 [33]. Therefore, these values can be seen as a general reference value, but are associated with significant uncertainties (see also, [33,34]). The images selected this way are displayed in Figure 3. It can be seen that the image for the good atmospheric conditions is significantly brighter compared to the other two images and shows higher contrast. This dichotomy is highlighted when plotting the histogram of the radiance values of the different images (see Figure 4). Visually, the difference between the CTX images K13_058554_2232_XN_43N103W and K13_058475_2232_XN_43N103W is small, but in the histogram, it can be seen that the image K13_058475_2232_XN_43N103W for τ = 0.94 corresponds to a higher optical depth, meaning it is generally darker and exhibits lower contrast.
We limited the region of interest to the area where a HiRISE stereo pair is available to obtain a DEM that can be considered a ground truth reference because of the higher resolution of the HiRISE images. The stereo DEMs are calculated using the Ames stereo pipeline [4]. The CTX stereo DEM that is used as an initialization at Laplacian pyramid level 3 is filtered with a Gaussian low pass filter ( σ = 2 ) to remove the strongest stereo artifacts and is shown in Figure 5. We used the initial DEM at full resolution, but filtered, to estimate the atmospheric parameters in Section 3.1. The HiRISE DEM is reduced to CTX resolution. Nonetheless, stereo artifacts are clearly visible in the shaded and color-coded DEM in Figure 5, especially at the slope in the west towards the lowest parts in the center and the north. Therefore, we selected profiles in the southern and eastern parts of the image, marked by the red lines in Figure 5. These profiles cover a variety of terrain, but are not affected as much by stereo artifacts. An offset is individually fitted for all different models and profiles to minimize the absolute deviation from the HiRISE ground truth.
The quality of the results is crucially dependent on the weight of the integrability error ( γ ), as described in Section 2.3. Therefore, we will analyze two values of γ , which we determine by using the heuristic described in Section 2.3 once for the AMSA model and once for the model with atmospheric compensation.
All images are co-registered to image G20_025970_2217_XN_41N102W, and for evaluation, all images are subsequently co-registered to the HiRISE stereo DEM. We used a piece-wise linear transformation instead of a projective transformation because the disparities due to the different perspectives seem to be smaller for the piece-wise linear transformation. The selected profiles for evaluation are also not strongly affected by possible differences in perspective. However, these differences would strongly influence the measured RMSE. Therefore, we limit our analysis to the selected profiles.
Thus, we define image G20_025970_2217_XN_41N102W to have good atmospheric conditions (see Section 3.2), image K13_058554_2232_XN_43N103W to have medium atmospheric conditions (see Section 3.3) and image K13_058475_2232_XN_43N103W to have bad atmospheric conditions (see Section 3.4). In Section 3.1, the atmospheric parameters are calculated once using the fixed optical depth from the maps of Montabone et al. [33] and Montabone et al. [34] and once with freely adaptable optical depth.

3.1. Parameter Estimation

The radiative transfer modeling relies on the reflectance model of Hapke [43] and the atmospheric model introduced in Section 2.2.2. For the atmospheric model (AMSA ATM), three parameters must be determined that are assumed to be constant over the image. For the three images, we carried out the procedure outlined in Section 2.2.4 using the profiles shown in Figure A1 (Appendix B).
The first image G20_025970_2217_XN_41N102W represents excellent atmospheric conditions and is thus considered a reference image for the parameter determination. We use the value for τ from Montabone et al. [33] to determine the other parameters, namely w 0 , ζ and χ . The so determined mean single-scattering albedo is then used for the other images because the albedo should not change between the observations, and in order to remove mathematical dependencies between the optical depth and the single-scattering albedo. The resulting parameters are listed in Table 4. The fit between the model and the measured radiance values is displayed in Figure 6. The red surface represents the model for all possible normal vectors in the DEM. The x- and y-axes represent the x- and y-component of the surface normal vectors, respectively. The orientation of the surface is dependent on the illumination and viewing directions. However, all three images are taken under similar viewing and illumination conditions because the Mars Reconnaissance Orbiter’s orbit is sun-synchronous. The shape of the surface is defined by the parameters of the model. If τ , ζ and χ are equal to zero, the modeled radiance values above 90° incidence angle (shadows) becomes zero, making it equal to the Hapke model without atmospheric compensation. The larger ζ and χ become, the brighter the shadows become. The higher τ becomes, the darker the overall image becomes.
We reduced the 3D representation to a 2D representation for the other two images. Because of the observation geometry of the scene, the main variation of the model is along the x-component of the surface normal vector ( n x ). Therefore, we plot I/F dependent on n x , as seen in Figure 7. Because there is some dependence on y, for the 2D representation, we omit all measured values for which the surface normal vector has an inclination of above 1° and below −1° in y-direction. Furthermore, we plot the model for +1° and −1° inclination in the y-direction as the dashed lines.
The parameter values for the second image K13_058554_2232_XN_43N103W with medium atmospheric conditions are calculated once with a fixed value of τ = 0.61 and once with a free optical depth. The respective best fit values for the parameters are listed in Table 4, and the modeled and measured radiance values as described in the previous paragraph are displayed in Figure 7. Because the overall brightness is lower in these images, the total RMSE is also generally smaller. Figure 7 shows that the two models are very similar, but for τ = 0.61 , the contrast is even further reduced compared to the free estimate of 0.49. Similarly, for the image K13_058475_2232_XN_43N103W, the estimated optical depth of 0.59 is smaller compared to the parameter from Montabone et al. [34] ( τ = 0.94 ). The quality of the fit for fixed τ appears to be inferior because the model becomes very flat. This is also visible in the RMSE of 0.00106 compared to the 0.00079 for the optimization with free τ (see Table 4).

3.2. Good Atmospheric Conditions

For the first image G20_025970_2217_XN_41N102W, taken at a time with a low optical depth, the models with atmospheric compensation and the simple AMSA model are very similar, as can be seen in Figure 6, i.e., the shadows are estimated to be almost zero for the AMSA ATM model as well. The resulting DEMs for the same γ of 1 × 10 3 are shown in Figure 8. Qualitatively, no difference between the two color-coded DEMs can be observed. The shading with a fixed albedo overlaid on the color-coded DEM looks sharp and shows the small features that are also visible in the image. The visible quality of the DEM arguably exceeds the HiRISE stereo DEM, where stereo artifacts still pose a problem even when reduced to CTX resolution.
When investigating the profiles in Figure 9 and Figure 10 for heights and slopes, respectively, both are almost identical. Compared to the HiRISE ground truth, a similar level of detail is visible in the profiles, especially highlighted by the slopes. Some slopes, however, seem to be exaggerated by the SfS procedure. There appears to be a mismatch between the absolute heights of the ground truth and the initial DEM in column 1200. This mismatch is also visible in the absolute heights of the SfS results. The RMSE values are similar between the atmospheric and simple AMSA model (see Table 5), but the model with an atmospheric term consistently performs slightly better.

3.3. Medium Atmospheric Conditions

The second image represents medium atmospheric conditions. According to the maps of Montabone et al. [34], the optical depth corresponds to τ = 0.61 . We applied SfS for all combinations of γ = 3 × 10 3 or γ = 3 × 10 4 and for the model with atmospheric compensation τ = 0.61 or τ = 0.49 . The value γ = 3 × 10 3 was determined by selecting the smallest value for which the AMSA model did not diverge and γ = 3 × 10 4 , similarly, for the AMSA ATM model. The RMSE values for the examined profiles for all combinations are listed in Table 6.
For γ = 3 × 10 4 , the simple AMSA model diverges almost entirely, such that the changes are discarded and the previous level Laplacian pyramid representation is carried over to the next higher pyramid level. Therefore, the error of the AMSA DEM is almost identical to the error of the initial DEM. Otherwise, both the model with an atmospheric compensation term and the simple AMSA model did not improve the absolute heights. The slopes improve for the model with an atmosphere for both values of γ in the case of column 1200, and only for γ = 3 × 10 4 in the case of row 820. For this image, the optical depth of 0.61 produces consistently better results compared to τ = 0.49 .
The resulting color-coded DEMs for γ = 3 × 10 3 and the fixed τ = 0.61 are displayed in Figure 11. The AMSA DEM appears to be blurred compared to the initial DEM. Additionally, some artifacts are visible in the top left. Small details are visible, but the overall shape of the DEM seems to be distorted. For the AMSA ATM DEM created using the atmospherically compensated reflectance model, small details are generally visible. Some details are less pronounced compared to the good atmospheric conditions, e.g., the small crater in the western rim of the central basin. The DEMs for the AMSA ATM model with γ = 3 × 10 4 appear to be sharper in general (see Figure A7).
The profiles of the absolute heights (Figure 12) show that the AMSA DEM on a large scale has been flattened. According to the slopes (Figure 13), small details are still reconstructed, but are less pronounced. In contrast, the atmospheric model stays close to the initial DEM and small details are reconstructed. However, the small crater around pixel 1150 in row 820 is not reconstructed, and the large channel around pixel 1300 is not as deep as expected by the HiRISE ground truth. The slope at the eastern edge of the image is also too flat. Otherwise, a similar level of detail as the HiRISE ground truth can be achieved, as illustrated by the slopes. In column 1200, the main features are all represented in the SfS with atmospheric correction DEM.

3.4. Bad Atmospheric Conditions

Generally, the results for the bad atmospheric conditions are comparable to the previous image. The detailed results are listed in Table 7. Similar to the previous image, the AMSA model did diverge for γ = 3 × 10 4 , and for γ = 3 × 10 3 , the DEM has become too flat. For the model with an atmospheric correction, the errors are generally smaller for τ = 0.59 compared to the fixed value of τ = 0.94 . This is in contrast to the previous image, where the fixed optical depth produced better results.
Figure 14 shows the DEMs for γ = 3 × 10 4 and τ = 0.59 . The AMSA DEM looks like the initial DEM because it diverged, and the initial DEM was kept. Visually, the AMSA ATM DEM looks slightly sharper than the DEM with γ = 3 × 10 3 for the previous image. Small details are recovered.
When investigating the absolute height profiles in Figure 15, it can be seen that some of the features are exaggerated, but the small crater, the channel and the slope in the east are again slightly too flat. Nonetheless, even for these poor conditions, a high level of detail can be reconstructed. The slopes for the profile in column 1200 (see Figure 16) are generally accurate for the atmospherically compensated SfS. Furthermore, the slopes in row 820 are accurate and detailed except for the high slopes in the areas mentioned above.

3.5. Discussion

Under good atmospheric conditions, i.e., small values of τ , the atmospheric correction model does not have a perceivable effect. This behavior is illustrated by the fact that the DEMs constructed with the AMSA and the AMSA ATM model, respectively, are largely identical for the first image.
There is a discrepancy between the HiRISE stereo and the CTX stereo DEM, which served as an initialization and constraint for our SfS scheme. Because these low frequency differences cannot be corrected by the SfS, this effect propagates to the results as well. Both DEMs are created with the same method using the Ames stereo pipeline, but are derived from different data sets. This mismatch could be due to several reasons. Kirk et al. [65] evaluated the differences of stereo DEMs based on HiRISE and CTX images and found that vertical precision depends on the image noise as well as illumination and terrain roughness for different image resolutions. We have thoroughly co-registered the DEMs, but there might still be small differences that could contribute to the deviations of absolute heights. Another factor that might influence the vertical accuracy of the stereo DEMs are the SPICE-kernels and the map projection step in ISIS. For example, small inaccuracies in the positioning of the camera can lead to systematically different height estimates.
The behavior of our DEM construction system changes for moderate atmospheric conditions. The reconstruction algorithm using the AMSA model without atmospheric correction does not converge. In contrast, the AMSA ATM model recovers a level of topographic detail that is similar to the HiRISE ground truth DEM. We run the procedure with a fixed τ taken from Montabone et al. [34] and estimate τ directly from the scene. The estimated τ is slightly smaller compared to the value from Montabone et al. [34], but is still consistent with medium atmospheric conditions. The quality of the resulting DEMs is almost the same given the RMSEs and the visual inspection. This highlights the robustness of the procedure against slight variations of the optical depth. Rather, the selection of γ appears to have a larger impact on the level of detail recovered.
Under bad atmospheric conditions with further increasing optical depth, the AMSA model without atmospheric correction does not lead to a meaningful solution. Again, the AMSA ATM model yields a DEM that still shows a remarkable level of detail given the challenging atmospheric conditions. The optical depth estimated by the AMSA ATM model ( τ = 0.59 ) is smaller than the value of Montabone et al. [34] ( τ = 0.94 ). However, the optical depth directly estimated from the image data produces a measurably better DEM for this image. In general, the AMSA ATM model can estimate the atmospheric parameters directly from the image data without the need for external measurements.
These results have general implications for intensity-based Martian 3D-reconstruction. A reconstruction procedure without explicit atmospheric modeling might be a viable approximation for excellent atmospheric conditions, as the influence of the atmosphere can largely be neglected. For increasing optical depth, atmospheric modeling is necessary. We found that the atmospheric parameters can be directly estimated from the scene. Some recent 3D-reconstruction approaches employ machine learning (ML), which is entirely data-driven. Consequently, the ML model has to learn the entire relationship between image intensity and heights (or slopes), which also encompasses atmospheric influence. Our study implies that the ML practitioner should either limit the training and application to images taken only under good atmospheric conditions, or aim for a dataset that adequately captures imagery with various optical depths.
The proposed combined model of surface reflectance and atmosphere has proven to be suitable for reconstructing the surface of Mars and bears several advantages compared to earlier methods. The model parameters have a physical representation and can be interpreted intuitively. Surface reflectance is modeled with the widely used and state-of-the-art Hapke model [43], in contrast to simpler models such as Lambert or Oren–Nayar (e.g., [13,14,16]) employed in earlier approaches. The single scattering albedo is not assumed to be constant, but rather is updated throughout the SfS scheme accounting for local albedo variations present on Mars. The atmospheric parameters can be estimated directly from the image data instead of using complicated retrieval algorithms relying on external data sets.

4. Conclusions

In this study, we describe a framework for the Shape from Shading based construction of DEMs of the Martian surface using CTX images. Our method is based on the Hapke AMSA model [43], which is enhanced by a correction of atmospheric effects that takes into account the optical depth of the atmosphere, the influence of surface illumination by the bright sky and the path-scattered component leading to a largely uniform intensity background (AMSA ATM model). The atmospheric parameters can be estimated from the image data alone using Bayesian optimization without the need to refer to external data sources. The optical depth values estimated by our method are mostly comparable with those independently measured in Montabone et al. [33] and Montabone et al. [34]. For a clear, dust-free atmosphere, the difference between the DEMs constructed with the AMSA ATM model and with the simple AMSA model is negligible. For a more dust-laden atmosphere leading to moderate or bad atmospheric conditions, the reconstruction with the AMSA model without atmospheric correction does not show a reasonable convergence behavior, so no well-defined DEM can be obtained. In contrast, the AMSA ATM model yields a high-resolution DEM, which shows a similar level of detail as the image for all considered atmospheric conditions. Consequently, the developed AMSA ATM model allows for the construction of high-resolution DEMs across a broad range of atmospheric conditions on Mars.

Author Contributions

Conceptualization, K.W., C.W., M.H. and M.T.; methodology, K.W., M.H. and M.T.; software, M.H. and M.T.; validation, M.T., K.W. and M.H.; formal analysis, M.H. and M.T.; writing—original draft preparation, K.W., M.H. and C.W.; writing—review and editing, C.W., K.W., M.T. and M.H.; visualization, M.H. and M.T.; supervision, K.W. and C.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

We thank NASA and JPL for making available all of the data used in this study. Additionally, we want to thank USGS, NASA and the open source community for their contributions to ISIS and the Ames stereo pipeline used in this work.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Here we briefly review the method given by Grumpe and Wöhler [1]. The normal vector of a surface facet is defined as
n = 1 p 2 + q 2 + 1 p q 1
where p and q are the partial derivatives of the DEM z with respect to the x and y directions, i.e., the rows and the columns of an image:
p = z x and q = z y .
The objective function can be formulated as a weighted sum of several error terms:
E total = E I + λ E int + τ a E absolute + δ E gradient .
E total primarily penalizes the deviation between modeled reflectance using the estimated DEM and the reflectance image I captured by the orbiter:
E I = 1 2 x y ( R ( p , q ) I ) 2 d x d y .
Further, the integrability of the estimated vector field is enforced by requesting
E int = 1 2 x y z x p 2 + z y q 2 d x d y .
The absolute error term
E absolute = 1 2 x y ( f Gauss ( z ) f Gauss ( z DTM ) ) 2 d x d y
elastically pins the DEM to the absolute heights given by a low-resolution constraint DEM. Finally, the relative depth error term
E gradient = 1 2 x y f lp ( p ) f lp z DEM x 2 + f lp ( q ) f lp z DEM y 2 d x d y
imposes a further constraint that the low frequency component of the gradients of the initial DEM align with the low frequency component of the estimated gradients.
To obtain the surface z, the error E total has to be minimized. This is done with an iterative relaxation approach that means that, alternately, either the variables p u , v n + 1 and q u , v n + 1 are updated, assuming that the solution z u , v n is known, or the solution z u , v n + 1 is updated given p u , v n and q u , v n . If z u , v n is given at time step n, the terms E I , E int , and E gradient are the only ones that depend on p and q, which can be optimized by deriving the error terms and solving for p and q:
p u , v ( n + 1 ) = z x | u , v ( n ) 1 γ R z x | u , v ( n ) , z y | u , v ( n ) I u , v R p | z x | u , v ( n ) , z y | u , v ( n ) ( n ) + δ γ g σ g r a d g σ g r a d * z x z D E M x
q u , v ( n + 1 ) = z y | u , v ( n ) 1 γ R z x | u , v ( n ) , z y | u , v ( n ) I u , v R p | z x | u , v ( n ) , z y | u , v ( n ) ( n ) + δ γ g σ g r a d g σ g r a d * z y z D E M y
If p and q are known at time step n, the terms E int and E absolute depend on the variable z. To find the optimal surface shape, calculus of variations must be employed, which yields a polynomial
c 2 z 2 + c 1 z + c 0 = 0
with
c 0 = τ ^ f 0 ( z ) f D T M ( z D T M ) · h c x 2 z h + h c y 2 z v h c x 2 h c y 2 · z x F l 2 h r z 2 r F r 2 h l z 2 l + f h ( z x ) z x 2 + z y 2 + + z y F d 2 h u z 2 u F u 2 h d z 2 d + f v ( z y ) z x 2 + z y 2 p x + q y
c 1 = τ ^ f 0 ( z ) f D T M ( z D T M ) · z x F r 2 h l F l 2 h r + z y F u 2 h d F d 2 h u z x 2 + z y 2 τ ^ F c z x F l 2 h r z 2 r F r 2 h l z 2 l + f h ( z x ) z x 2 + z y 2 τ ^ F c z y F d 2 h u z 2 u F u 2 h d z 2 d + f v ( z y ) z x 2 + z y 2 2 ( h c x 2 + h c y 2 ) h c x 2 h c y 2
c 2 = τ ^ F c z x F r 2 h l F l 2 h r + z y F u 2 h d F d 2 h u z x 2 + z y 2 .
The polynomial has two roots. The root closer to the initial DEM gives the final result for z.

Appendix B

Figure A1. Profiles selected for the Bayesian optimization to determine the atmospheric parameters and the mean albedo.
Figure A1. Profiles selected for the Bayesian optimization to determine the atmospheric parameters and the mean albedo.
Jimaging 08 00158 g0a1
Figure A2. Absolute heights for image K13_058554_2232_XN_43N103W (medium atmospheric conditions) not displayed in the main text.
Figure A2. Absolute heights for image K13_058554_2232_XN_43N103W (medium atmospheric conditions) not displayed in the main text.
Jimaging 08 00158 g0a2aJimaging 08 00158 g0a2b
Figure A3. Absolute heights for image K13_058475_2232_XN_43N103W (bad atmospheric conditions) not displayed in the main text.
Figure A3. Absolute heights for image K13_058475_2232_XN_43N103W (bad atmospheric conditions) not displayed in the main text.
Jimaging 08 00158 g0a3aJimaging 08 00158 g0a3b
Figure A4. Slopes for image K13_058554_2232_XN_43N103W (medium atmospheric conditions) not displayed in the main text.
Figure A4. Slopes for image K13_058554_2232_XN_43N103W (medium atmospheric conditions) not displayed in the main text.
Jimaging 08 00158 g0a4aJimaging 08 00158 g0a4b
Figure A5. Slopes for image K13_058475_2232_XN_43N103W (bad atmospheric conditions) not displayed in the main text.
Figure A5. Slopes for image K13_058475_2232_XN_43N103W (bad atmospheric conditions) not displayed in the main text.
Jimaging 08 00158 g0a5aJimaging 08 00158 g0a5b
Figure A6. Results for images K13_058554_2232_XN_43N103W and K13_058475_2232_XN_43N103W for the simple AMSA model without atmospheric compensation.
Figure A6. Results for images K13_058554_2232_XN_43N103W and K13_058475_2232_XN_43N103W for the simple AMSA model without atmospheric compensation.
Jimaging 08 00158 g0a6
Figure A7. Color-coded and shaded DEMs created with the atmospherically compensated method not displayed in the main text of the manuscript for image K13_058554_2232_XN_43N103W (medium atmospheric conditions).
Figure A7. Color-coded and shaded DEMs created with the atmospherically compensated method not displayed in the main text of the manuscript for image K13_058554_2232_XN_43N103W (medium atmospheric conditions).
Jimaging 08 00158 g0a7
Figure A8. Color-coded and shaded DEMs created with the atmospherically compensated method not displayed in the main text of the manuscript for image K13_058475_2232_XN_43N103W (bad atmospheric conditions).
Figure A8. Color-coded and shaded DEMs created with the atmospherically compensated method not displayed in the main text of the manuscript for image K13_058475_2232_XN_43N103W (bad atmospheric conditions).
Jimaging 08 00158 g0a8

References

  1. Grumpe, A.; Wöhler, C. Recovery of elevation from estimated gradient fields constrained by digital elevation maps of lower lateral resolution. ISPRS J. Photogramm. Remote Sens. 2014, 94, 37–54. [Google Scholar] [CrossRef]
  2. Barker, M.; Mazarico, E.; Neumann, G.; Zuber, M.; Haruyama, J.; Smith, D. A new lunar digital elevation model from the Lunar Orbiter Laser Altimeter and SELENE Terrain Camera. Icarus 2016, 273, 346–355. [Google Scholar] [CrossRef] [Green Version]
  3. Neumann, G.A.; Rowlands, D.D.; Lemoine, F.G.; Smith, D.E.; Zuber, M.T. Crossover analysis of Mars orbiter laser altimeter data. J. Geophys. Res. Planets 2001, 106, 23753–23768. [Google Scholar] [CrossRef] [Green Version]
  4. Beyer, R.A.; Alexandrov, O.; McMichael, S. The Ames Stereo Pipeline: NASA’s Open Source Software for Deriving and Processing Terrain Data. Earth Space Sci. 2018, 5, 537–548. [Google Scholar] [CrossRef]
  5. Miller, S.; Walker, A. Further Developments of Leica Digital Photogrammetric Systems by Helava. In ACSM ASPRS ANNUAL CONVENTION; American Society of Photogrammetry & Remote Sensing: New Orleans, LA, USA, 1993; Volume 3, p. 256. [Google Scholar]
  6. Gehrig, S.; Franke, U. Stereovision for ADAS; Springer: Berlin/Heidelberg, Germany, 2016; pp. 495–524. [Google Scholar] [CrossRef]
  7. Hess, M.; Wohlfarth, K.; Grumpe, A.; Wöhler, C.; Ruesch, O.; Wu, B. Atmospherically Compensated Shape From Shading on the Martian Surface: Towards the Perfect Digital Terrain Model of Mars. ISPRS Int. Arch. Photogramm. Remote Sens. Spat. Inf. Sci. 2019, XLII-2/W13, 1405–1411. [Google Scholar] [CrossRef] [Green Version]
  8. Grumpe, A.; Belkhir, F.; Wöhler, C. Construction of lunar DEMs based on reflectance modelling. Adv. Space Res. 2014, 53, 1735–1767. [Google Scholar] [CrossRef]
  9. Wu, B.; Liu, W.C.; Grumpe, A.; Wöhler, C. Construction of pixel-level resolution DEMs from monocular images by shape and albedo from shading constrained with low-resolution DEM. ISPRS J. Photogramm. Remote Sens. 2018, 140, 3–19. [Google Scholar] [CrossRef]
  10. Alexandrov, O.; Beyer, R.A. Multiview Shape-From-Shading for Planetary Images. Earth Space Sci. 2018, 5, 652–666. [Google Scholar] [CrossRef]
  11. Tenthoff, M.; Wohlfarth, K.; Wöler, C. High Resolution Digital Terrain Models of Mercury. Remote Sens. 2020, 12, 3989. [Google Scholar] [CrossRef]
  12. Hartt, K.; Carlotto, M. A method for shape-from-shading using multiple images acquired under different viewing and lighting conditions. In Proceedings of the CVPR ’89: IEEE Computer Society Conference on Computer Vision and Pattern Recognition, San Diego, CA, USA, 4–8 June 1989; pp. 53–60. [Google Scholar] [CrossRef]
  13. Dorrer, E.; Zhou, X. Towards optimal relief Representation from Mars Imagery by Combination of DEM and Shape-from-Shading. In Proceedings of the ISPRS Commission IV Symposium on GIS-Between Visions and Applications, Stuttgart, Germany, 7–10 September 1998; Volume 32, pp. 156–161. [Google Scholar]
  14. Dorrer, E.; Mayer, H.; Haase, Y.; Ostrovskiy, A.; Renter, J.; Rentsch, M.; Reznik, S.; Neukum, G.; HRSC CO-Investigator Team. Verbesserung räumlicher Daten durch Shape from Shading. Photogramm. Fernerkund. Geoinf. PFG 2005, 9, 403–408. [Google Scholar]
  15. Gehrke, S. Geometric and Radiometric Modelling of the Martian Surface based on Object Space Matching and Photoclinometry. In Proceedings of the ISPRS Commission IV/7: Extraterrestrial Mapping, Beijing, China, 3–11 July 2008. [Google Scholar]
  16. O’Hara, R.; Barnes, D. A new shape from shading technique with application to Mars Express HRSC images. ISPRS J. Photogramm. Remote Sens. 2012, 67, 27–34. [Google Scholar] [CrossRef]
  17. Gupta, S.; Paar, G.; Muller, J.P.; Tao, Y.; Tyler, L.; Traxler, C.; Hesina, G.; Huber, B.; Nauschnegg, B. Fusion and Visualization of HiRISE Super-Resolution, Shape-from-Shading DTM with MER Stereo 3D Reconstructions. In Proceedings of the AGU Fall Meeting Abstracts, San Francisco, CA, USA, 15–19 January 2014; p. P41D-3955. [Google Scholar]
  18. Jiang, C.; Douté, S.; Luo, B.; Zhang, L. Fusion of photogrammetric and photoclinometric information for high-resolution DEMs from Mars in-orbit imagery. ISPRS J. Photogramm. Remote Sens. 2017, 130, 418–430. [Google Scholar] [CrossRef]
  19. Chen, Z.; Wu, B.; Liu, W.C. Mars3DNet: CNN-Based High-Resolution 3D Reconstruction of the Martian Surface from Single Images. Remote Sens. 2021, 13, 839. [Google Scholar] [CrossRef]
  20. Tao, Y.; Doute, S.; Muller, J.P.; Conway, S.J.; Thomas, N.; Cremonese, G. Ultra-High-Resolution 1 m/pixel CaSSIS DTM Using Super-Resolution Restoration and Shape-from-Shading: Demonstration over Oxia Planum on Mars. Remote Sens. 2021, 13, 2185. [Google Scholar] [CrossRef]
  21. Tao, Y.; Muller, J.P.; Xiong, S.; Conway, S.J. MADNet 2.0: Pixel-Scale Topography Retrieval from Single-View Orbital Imagery of Mars Using Deep Learning. Remote Sens. 2021, 13, 4220. [Google Scholar] [CrossRef]
  22. Galilei, G.; Van Helden, A. Sidereus Nuncius, Or the Sidereal Messenger; University of Chicago Press: Chicago, IL, USA, 1989. [Google Scholar]
  23. Rindfleisch, T. Photometric Method for Lunar Topography. Photogramm. Eng. 1966, 32, 262–277. [Google Scholar]
  24. Wildey, R.L. Generalized photoclinometry for Mariner 9. Icarus 1975, 25, 613–626. [Google Scholar] [CrossRef]
  25. Kirk, R.E.I. Thermal Evolution of a Differentiated Ganymede and Implications for Surface Features. II Hydromagnetic Constraints on Deep Zonal Flows in the Giant Planets. III A Fast Finite Element Algorithm for Two-Dimensional Photoclinometry. Ph.D. Dissertation, California Institute of Technology, Pasadena, CA, USA, 1987. [Google Scholar]
  26. Horn, B.K.P. Height and gradient from shading. Int. J. Comput. Vis. 1990, 5, 37–75. [Google Scholar] [CrossRef]
  27. Shao, M.; Chellappa, R.; Simchony, T. Reconstructing a 3-D depth map from one or more images. CVGIP Image Underst. 1991, 53, 219–226. [Google Scholar] [CrossRef]
  28. Ceamanos, X.; Douté, S.; Fernando, J.; Schmidt, F.; Pinet, P.; Lyapustin, A. Surface reflectance of Mars observed by CRISM/MRO: 1. Multi-angle Approach for Retrieval of Surface Reflectance from CRISM observations (MARS-ReCO). J. Geophys. Res. Planets 2013, 118, 514–533. [Google Scholar] [CrossRef] [Green Version]
  29. Dorrer, E.; Mayer, H.; Ostrovskiy, A.; Reznik, S.; Neukum, G.; HRSC Co-Investigator Team. De-and re-shading of Mars Express HRSC image data for homogenization of map relief shading. Int. Arch. Photogramm. Remote Sens. 2004, 35, 1299–1303. [Google Scholar]
  30. Gwinner, K.; Jaumann, R.; Hauber, E.; Hoffmann, H.; Heipke, C.; Oberst, J.; Neukum, G.; Ansan, V.; Bostelmann, J.; Dumke, A.; et al. The High Resolution Stereo Camera (HRSC) of Mars Express and its approach to science analysis and mapping for Mars and its satellites. Planet. Space Sci. 2016, 126, 93–138. [Google Scholar] [CrossRef]
  31. Oren, M.; Nayar, S.K. Generalization of Lambert’s Reflectance Model. In Proceedings of the 21st Annual Conference on Computer Graphics and Interactive Techniques, SIGGRAPH’94, Orlando, FL, USA, 24–29 July 1994; ACM: New York, NY, USA, 1994; pp. 239–246. [Google Scholar] [CrossRef]
  32. Douté, S.; Conway, S.; Massé, M. Small Scale Topographical Characterization of Jezero Crater Region, Mars. In Proceedings of the 50th Lunar and Planetary Science Conference, The Woodlands, TX, USA, 18–22 March 2019; p. 2132. [Google Scholar]
  33. Montabone, L.; Forget, F.; Millour, E.; Wilson, R.; Lewis, S.; Cantor, B.; Kass, D.; Kleinböhl, A.; Lemmon, M.; Smith, M.; et al. Eight-year climatology of dust optical depth on Mars. Icarus 2015, 251, 65–95. [Google Scholar] [CrossRef] [Green Version]
  34. Montabone, L.; Spiga, A.; Kass, D.M.; Kleinböhl, A.; Forget, F.; Millour, E. Martian year 34 column dust climatology from mars climate sounder observations: Reconstructed maps and model simulations. J. Geophys. Res. Planets 2020, 125, e2019JE006111. [Google Scholar] [CrossRef] [Green Version]
  35. Zurek, R.W.; Smrekar, S.E. An overview of the Mars Reconnaissance Orbiter (MRO) science mission. J. Geophys. Res. Planets 2007, 112, E05S01. [Google Scholar] [CrossRef] [Green Version]
  36. McEwen, A.S.; Eliason, E.M.; Bergstrom, J.W.; Bridges, N.T.; Hansen, C.J.; Delamere, W.A.; Grant, J.A.; Gulick, V.C.; Herkenhoff, K.E.; Keszthelyi, L.; et al. Mars reconnaissance orbiter’s high resolution imaging science experiment (HiRISE). J. Geophys. Res. Planets 2007, 112, E05S02. [Google Scholar] [CrossRef] [Green Version]
  37. Malin, M.C.; Bell, J.F., III; Cantor, B.A.; Caplinger, M.A.; Calvin, W.M.; Clancy, R.T.; Edgett, K.S.; Edwards, L.; Haberle, R.M.; James, P.B.; et al. Context camera investigation on board the Mars Reconnaissance Orbiter. J. Geophys. Res. Planets 2007, 112, E05S04. [Google Scholar]
  38. Laura, J.; Acosta, A.; Addair, T.; Adoram-Kershner, L.; Alexander, J.; Alexandrov, O.; Alley, S.; Anderson, D.; Anderson, J.; Anderson, J.; et al. Integrated Software for Imagers and Spectrometers. Available online: https://zenodo.org/record/6329951 (accessed on 20 February 2022).
  39. Shepard, M.K. Introduction to Planetary Photometry; Cambridge University Press: Cambridge, UK, 2017. [Google Scholar] [CrossRef]
  40. McEwen, A.S. Photometric functions for photoclinometry and other applications. Icarus 1991, 92, 298–311. [Google Scholar] [CrossRef]
  41. Lohse, V.; Heipke, C.; Kirk, R.L. Derivation of planetary topography using multi-image shape-from-shading. Planet. Space Sci. 2006, 54, 661–674. [Google Scholar] [CrossRef]
  42. Shkuratov, Y.; Starukhina, L.; Hoffmann, H.; Arnold, G. A Model of Spectral Albedo of Particulate Surfaces: Implications for Optical Properties of the Moon. Icarus 1999, 137, 235–246. [Google Scholar] [CrossRef]
  43. Hapke, B. Theory of Reflectance and Emittance Spectroscopy, 2nd ed.; Cambridge University Press: Cambridge, UK, 2012. [Google Scholar] [CrossRef]
  44. Shepard, M.K.; Helfenstein, P. A test of the Hapke photometric model. J. Geophys. Res. Planets 2007, 112, E03001. [Google Scholar] [CrossRef] [Green Version]
  45. Shkuratov, Y.; Kaydash, V.; Korokhin, V.; Velikodsky, Y.; Petrov, D.; Zubko, E.; Stankevich, D.; Videen, G. A critical assessment of the Hapke photometric model. J. Quant. Spectrosc. Radiat. Transf. 2012, 113, 2431–2456. [Google Scholar] [CrossRef]
  46. Wanner, W.; Li, X.; Strahler, A.H. On the derivation of kernels for kernel-driven models of bidirectional reflectance. J. Geophys. Res. Atmos. 1995, 100, 21077–21089. [Google Scholar] [CrossRef]
  47. Zurek, R.W. Understanding Mars and its atmosphere. Atmos. Clim. Mars 2017, 18, 3–19. [Google Scholar]
  48. Kahre, M.A.; Murphy, J.R.; Newman, C.E.; Wilson, R.J.; Cantor, B.A.; Lemmon, M.T.; Wolff, M.J. The Mars dust cycle. Atmos. Clim. Mars 2017, 18, 295. [Google Scholar]
  49. Haberle, R.M.; Clancy, R.T.; Forget, F.; Smith, M.D.; Zurek, R.W. The Atmosphere and Climate of Mars; Cambridge University Press: Cambridge, UK, 2017. [Google Scholar]
  50. Schowengerdt, R.A. Remote Sensing: Models and Methods for Image Processing; Elsevier: Amsterdam, The Netherlands, 2006. [Google Scholar]
  51. Bouguer, P. Essai D’optique sur la Gradation de la Lumière; Claude Jombert: Paris, France, 1729. [Google Scholar]
  52. Beer, A. Bestimmung der absorption des rothen lichts in farbigen flussigkeiten. Ann. Physik 1852, 162, 78–88. [Google Scholar] [CrossRef] [Green Version]
  53. Nicodemus, F.E. Reflectance nomenclature and directional reflectance and emissivity. Appl. Opt. 1970, 9, 1474–1475. [Google Scholar] [CrossRef]
  54. Johnson, J.R.; Grundy, W.M.; Lemmon, M.T.; Bell III, J.F.; Johnson, M.J.; Deen, R.G.; Arvidson, R.E.; Farrand, W.H.; Guinness, E.A.; Hayes, A.G.; et al. Spectrophotometric properties of materials observed by Pancam on the Mars Exploration Rovers: 1. Spirit. J. Geophys. Res. Planets 2006, 111, E02S14. [Google Scholar] [CrossRef] [Green Version]
  55. Johnson, J.R.; Sohl-Dickstein, J.; Grundy, W.M.; Arvidson, R.E.; Bell, J., III; Christensen, P.; Graff, T.; Guinness, E.A.; Kinch, K.; Morris, R.; et al. Radiative transfer modeling of dust-coated Pancam calibration target materials: Laboratory visible/near-infrared spectrogoniometry. J. Geophys. Res. Planets 2006, 111, E12S07. [Google Scholar] [CrossRef] [Green Version]
  56. Hapke, B. Bidirectional reflectance spectroscopy 7: The single particle phase function hockey stick relation. Icarus 2012, 221, 1079–1083. [Google Scholar] [CrossRef] [Green Version]
  57. Warell, J. Properties of the Hermean regolith: IV. Photometric parameters of Mercury and the Moon contrasted with Hapke modelling. Icarus 2004, 167, 271–286. [Google Scholar] [CrossRef]
  58. Fernando, J.; Schmidt, F.; Pilorget, C.; Pinet, P.; Ceamanos, X.; Douté, S.; Daydou, Y.; Costard, F. Characterization and mapping of surface physical properties of Mars from CRISM multi-angular data: Application to Gusev Crater and Meridiani Planum. Icarus 2015, 253, 271–295. [Google Scholar] [CrossRef] [Green Version]
  59. Vincendon, M. Mars surface phase function constrained by orbital observations. Planet. Space Sci. 2013, 76, 87–95. [Google Scholar] [CrossRef] [Green Version]
  60. Petrova, E.; Hoekzema, N.; Markiewicz, W.; Thomas, N.; Stenzel, O. Optical depth of the Martian atmosphere and surface albedo from high-resolution orbiter images. Planet. Space Sci. 2012, 60, 287–296. [Google Scholar] [CrossRef]
  61. Lemmon, M.T.; Wolff, M.J.; Bell, J.F.; Smith, M.D.; Cantor, B.A.; Smith, P.H. Dust aerosol, clouds, and the atmospheric optical depth record over 5 Mars years of the Mars Exploration Rover mission. Icarus 2015, 251, 96–111. [Google Scholar] [CrossRef] [Green Version]
  62. Snoek, J.; Larochelle, H.; Adams, R.P. Practical bayesian optimization of machine learning algorithms. Adv. Neural Inf. Process. Syst. 2012, 25, 1–9. [Google Scholar]
  63. Bull, A.D. Convergence rates of efficient global optimization algorithms. J. Mach. Learn. Res. 2011, 12, 2879–2904. [Google Scholar]
  64. Gelbart, M.A.; Snoek, J.; Adams, R.P. Bayesian optimization with unknown constraints. arXiv 2014, arXiv:1403.5607. [Google Scholar]
  65. Kirk, R.L.; Fergason, R.L.; Redding, B.; Galuszka, D.; Smith, E.; Mayer, D.; Hare, T.M.; Gwinner, K. Evaluating stereo dtm quality at jezero crater, mars with hrsc, ctx, and hirise images. Int. Arch. Photogramm. Remote Sens. Spat. Inf. Sci. 2020, 43, 1129–1136. [Google Scholar] [CrossRef]
Figure 1. Scheme of the atmospheric model. Left: geometric definitions. Right: atmospheric effects.
Figure 1. Scheme of the atmospheric model. Left: geometric definitions. Right: atmospheric effects.
Jimaging 08 00158 g001
Figure 2. The complete SfS scheme. Steps in the orange dashed box are executed for each pyramid level at, e.g., 1/16, 1/8, 1/4, 1/2 and at full resolution.
Figure 2. The complete SfS scheme. Steps in the orange dashed box are executed for each pyramid level at, e.g., 1/16, 1/8, 1/4, 1/2 and at full resolution.
Jimaging 08 00158 g002
Figure 3. Images of the region of interest inside of the crater northeast of Alba Patera.
Figure 3. Images of the region of interest inside of the crater northeast of Alba Patera.
Jimaging 08 00158 g003
Figure 4. Radiance distributions for the three selected CTX images. The higher the optical depth becomes, the darker the images and the lower the contrast.
Figure 4. Radiance distributions for the three selected CTX images. The higher the optical depth becomes, the darker the images and the lower the contrast.
Jimaging 08 00158 g004
Figure 5. Initial DEM based on CTX stereo image pair and ground truth DEM based on HiRISE stereo image pair. Red lines indicate the profiles that will be investigated in this work.
Figure 5. Initial DEM based on CTX stereo image pair and ground truth DEM based on HiRISE stereo image pair. Red lines indicate the profiles that will be investigated in this work.
Jimaging 08 00158 g005
Figure 6. The estimated best fit model with atmospheric parameters is displayed in red and the measured I/F values for the normal vectors based on the initial DEM are represented by the black dots. The x-axis represents the x-component of the normalized normal vector and the y-axis represents the y-component of the normalized normal vector based on the initial DEM. Line patterns in the black point cloud are the result of stereo artifacts in the initial DEM.
Figure 6. The estimated best fit model with atmospheric parameters is displayed in red and the measured I/F values for the normal vectors based on the initial DEM are represented by the black dots. The x-axis represents the x-component of the normalized normal vector and the y-axis represents the y-component of the normalized normal vector based on the initial DEM. Line patterns in the black point cloud are the result of stereo artifacts in the initial DEM.
Jimaging 08 00158 g006
Figure 7. 2D representations of the atmospheric model for the different parameters for the images K13_058554_2232_XN_43N103W and K13_058475_2232_XN_43N103W. The plots correspond to the planar intersection of the 3D representation (similar to Figure 6) and are created by omitting all points with a normal vector inclination of above 1° and below −1° in y-direction. The red line represents the model for n y = 0 .
Figure 7. 2D representations of the atmospheric model for the different parameters for the images K13_058554_2232_XN_43N103W and K13_058475_2232_XN_43N103W. The plots correspond to the planar intersection of the 3D representation (similar to Figure 6) and are created by omitting all points with a normal vector inclination of above 1° and below −1° in y-direction. The red line represents the model for n y = 0 .
Jimaging 08 00158 g007
Figure 8. Results for image G20_025970_2217_XN_41N102W (a) without and (b) with atmospheric compensation. Here, no difference between the two DEMs is visible in the colorcoded shaded DEM.
Figure 8. Results for image G20_025970_2217_XN_41N102W (a) without and (b) with atmospheric compensation. Here, no difference between the two DEMs is visible in the colorcoded shaded DEM.
Jimaging 08 00158 g008
Figure 9. Resulting absolute heights compared for the two profiles investigated for image G20_025970_2217_XN_41N102W.
Figure 9. Resulting absolute heights compared for the two profiles investigated for image G20_025970_2217_XN_41N102W.
Jimaging 08 00158 g009
Figure 10. Resulting slopes compared for the two profiles investigated for image G20_025970_2217_XN_41N102W.
Figure 10. Resulting slopes compared for the two profiles investigated for image G20_025970_2217_XN_41N102W.
Jimaging 08 00158 g010
Figure 11. Results for image K13_058554_2232_XN_43N103W (a) without and (b) with atmospheric compensation. The results for γ = 3 × 10 3 and, in the case of the SfS with atmospheric compensation, τ = 0.61 are shown.
Figure 11. Results for image K13_058554_2232_XN_43N103W (a) without and (b) with atmospheric compensation. The results for γ = 3 × 10 3 and, in the case of the SfS with atmospheric compensation, τ = 0.61 are shown.
Jimaging 08 00158 g011
Figure 12. Resulting absolute heights compared for the two profiles investigated for image K13_058554_2232_XN_43N103W. The comparison is between the results for γ = 3 × 10 3 and the fixed optical depth of τ = 0.61 .
Figure 12. Resulting absolute heights compared for the two profiles investigated for image K13_058554_2232_XN_43N103W. The comparison is between the results for γ = 3 × 10 3 and the fixed optical depth of τ = 0.61 .
Jimaging 08 00158 g012
Figure 13. Resulting slopes compared for the two profiles investigated for image K13_058554_2232_XN_43N103W ( γ = 3 × 10 3 and τ = 0.61 ).
Figure 13. Resulting slopes compared for the two profiles investigated for image K13_058554_2232_XN_43N103W ( γ = 3 × 10 3 and τ = 0.61 ).
Jimaging 08 00158 g013
Figure 14. Results for image K13_058475_2232_XN_43N103W (a) without and (b) with atmospheric compensation. The results for γ = 3 × 10 4 and, in the case of atmospheric compensation, τ = 0.59 are displayed.
Figure 14. Results for image K13_058475_2232_XN_43N103W (a) without and (b) with atmospheric compensation. The results for γ = 3 × 10 4 and, in the case of atmospheric compensation, τ = 0.59 are displayed.
Jimaging 08 00158 g014
Figure 15. Resulting slopes compared for the two profiles investigated for image K13_058475_2232_XN_43N103W ( γ = 3 × 10 4 and τ = 0.59 ).
Figure 15. Resulting slopes compared for the two profiles investigated for image K13_058475_2232_XN_43N103W ( γ = 3 × 10 4 and τ = 0.59 ).
Jimaging 08 00158 g015
Figure 16. Resulting slopes compared for the two profiles investigated for image K13_058475_2232_XN_43N103W ( γ = 3 × 10 4 and τ = 0.59 ).
Figure 16. Resulting slopes compared for the two profiles investigated for image K13_058475_2232_XN_43N103W ( γ = 3 × 10 4 and τ = 0.59 ).
Jimaging 08 00158 g016
Table 1. All physical and geometric parameters of the reflectance model and atmospheric model. The shadow hiding opposition effect and the coherent backscatter opposition effect are abbreviated as SHOE and CBOE, respectively.
Table 1. All physical and geometric parameters of the reflectance model and atmospheric model. The shadow hiding opposition effect and the coherent backscatter opposition effect are abbreviated as SHOE and CBOE, respectively.
GroupParameterDescriptionMethodResolutionValues
A PrioriOne-ShotIterativeConstantPixelwiseFixedRange
Geometrics μ 0 s Cosine of sun zenith
μ s Cosine of orbiter zenith
θ i Incidence angle
θ e Emission angle
gPhase angle
MaterialwSingle-scattering albedo 0.35 ≤ w ≤ 0.95
bBackscattering p ( g ) 0.12
cAsymmetry p ( g ) 0.6
B S 0 SHOE strength 3.1
h s SHOE shape 0.11
B C 0 CBOE strength 0
h c CBOE shape 0
θ ¯ Average roughness 0
Atmospheric τ Optical depth 0.1 τ 3.0
ζ contribution r hd ζ  0.2
χ Background illum. χ  0.02
Table 2. Parameters for the regularization terms of the Shape from Shading (SfS) scheme.
Table 2. Parameters for the regularization terms of the Shape from Shading (SfS) scheme.
SfS ParameterRegularization TermValue
γ Integrability ErrorChosen individually
τ S f S Absolute Heights Error 1 × 10 2
δ Gradients Error 1 × 10 2
σ Width of the Gaussian low pass10 pix
Table 3. CTX images used in this work. Dust Optical Depth (DOD) in the visible wavelength range from Montabone et al. [33] and Montabone et al. [34]. Region of interest: latitude 42.850° N to 42.95° N and longitude −102.89° E to −102.75° E. G20_025904_2209_XN_40N102W and G20_025970_2217_XN_41N102W were used for generating the initial stereo DEM. G20_025904_2209_XN_40N102W was not used for the SfS generation.
Table 3. CTX images used in this work. Dust Optical Depth (DOD) in the visible wavelength range from Montabone et al. [33] and Montabone et al. [34]. Region of interest: latitude 42.850° N to 42.95° N and longitude −102.89° E to −102.75° E. G20_025904_2209_XN_40N102W and G20_025970_2217_XN_41N102W were used for generating the initial stereo DEM. G20_025904_2209_XN_40N102W was not used for the SfS generation.
Image IDMYSOLDODPhase Angle
G20_025904_2209_XN_40N102W311410.26747.25°
G20_025970_2217_XN_41N102W311460.16031.45°
K13_058554_2232_XN_43N103W346110.61580.85°
K13_058475_2232_XN_43N103W346070.94566.94°
Table 4. Parameters obtained by Bayesian optimization in MATLAB® based on sample profiles in the three images with free and fixed values of τ . The fixed values are taken from Montabone et al. [33] and Montabone et al. [34]. For G20_025970_2217_XN_41N102W, τ is fixed and all other parameters are free. The resulting mean albedo w 0 from that image is 0.81, and is consequently used as a fixed mean albedo for the other images.
Table 4. Parameters obtained by Bayesian optimization in MATLAB® based on sample profiles in the three images with free and fixed values of τ . The fixed values are taken from Montabone et al. [33] and Montabone et al. [34]. For G20_025970_2217_XN_41N102W, τ is fixed and all other parameters are free. The resulting mean albedo w 0 from that image is 0.81, and is consequently used as a fixed mean albedo for the other images.
Product IDw τ ζ χ RMSE
G20_025970_2217_XN_41N102W ( τ fixed)0.810.160.001980.00430.0024
K13_058554_2232_XN_43N103W ( τ free)0.810.490.099830.011870.00084
K13_058554_2232_XN_43N103W ( τ fixed)0.810.610.0990.01210.00062
K13_058475_2232_XN_43N103W ( τ free)0.810.590.0990.01140.00079
K13_058475_2232_XN_43N103W ( τ fixed)0.810.940.11590.01990.00106
Table 5. Comparison of the Root Mean Square Errors (RMSEs) for the examined lines in the DEMs based on image G20_025970_2217_XN_41N102W. The HiRISE DEM is the reference DEM to which the other DEMs are compared to. The initial DEM is the CTX stereo DEM, which is refined with the AMSA or AMSA ATM model.
Table 5. Comparison of the Root Mean Square Errors (RMSEs) for the examined lines in the DEMs based on image G20_025970_2217_XN_41N102W. The HiRISE DEM is the reference DEM to which the other DEMs are compared to. The initial DEM is the CTX stereo DEM, which is refined with the AMSA or AMSA ATM model.
Row/ColumnModelOptical Depth γ RMSE HeightsRMSE Slopes
Row 820Initial--2.7042.111
AMSA- 1 × 10 3 3.5631.947
AMSA ATM0.16 1 × 10 3 3.2731.934
Column 1200Initial--12.4302.568
AMSA- 1 × 10 3 12.2301.819
AMSA ATM0.16 1 × 10 3 12.1841.787
Table 6. Comparison of the Root Mean Square Errors (RMSEs) for the examined lines in the DEMs based on image K13_058554_2232_XN_43N103W. γ = 3 × 10 3 is the best value for the AMSA model and γ = 3 × 10 4 is the best value for the AMSA ATM model determined by the heuristic described in Section 2.3.
Table 6. Comparison of the Root Mean Square Errors (RMSEs) for the examined lines in the DEMs based on image K13_058554_2232_XN_43N103W. γ = 3 × 10 3 is the best value for the AMSA model and γ = 3 × 10 4 is the best value for the AMSA ATM model determined by the heuristic described in Section 2.3.
Row/ColumnModelOptical Depth γ RMSE HeightsRMSE Slopes
Row 820Initial--2.7042.111
AMSA- 3 × 10 3 5.3702.499
AMSA- 3 × 10 4 2.6682.144
AMSA ATM0.49 3 × 10 3 3.9782.349
AMSA ATM0.61 3 × 10 3 3.6062.317
AMSA ATM0.49 3 × 10 4 4.2292.107
AMSA ATM0.61 3 × 10 4 4.0092.094
Column 1200Initial--12.4302.568
AMSA- 3 × 10 3 13.3083.084
AMSA- 3 × 10 4 12.5512.616
AMSA ATM0.49 3 × 10 3 13.3372.508
AMSA ATM0.61 3 × 10 3 13.2272.429
AMSA ATM0.49 3 × 10 4 13.0882.269
AMSA ATM0.61 3 × 10 4 13.0962.171
Table 7. Comparison of the Root Mean Square Errors (RMSEs) for the examined lines in the DEMs based on image K13_058475_2232_XN_43N103W. γ = 3 × 10 3 is the best value for the AMSA model and γ = 3 × 10 4 is the best value for the AMSA ATM model determined by the heuristic described in Section 2.3.
Table 7. Comparison of the Root Mean Square Errors (RMSEs) for the examined lines in the DEMs based on image K13_058475_2232_XN_43N103W. γ = 3 × 10 3 is the best value for the AMSA model and γ = 3 × 10 4 is the best value for the AMSA ATM model determined by the heuristic described in Section 2.3.
Row/ColumnModelOptical Depth γ RMSE HeightsRMSE Slopes
Row 820Initial--2.7042.111
AMSA- 3 × 10 3 6.7982.533
AMSA- 3 × 10 4 2.6592.143
AMSA ATM0.59 3 × 10 3 2.8822.182
AMSA ATM0.94 3 × 10 3 2.7092.129
AMSA ATM0.59 3 × 10 4 3.6922.040
AMSA ATM0.94 3 × 10 4 4.8932.523
Column 1200Initial--12.4302.568
AMSA- 3 × 10 3 13.2013.153
AMSA- 3 × 10 4 12.5612.619
AMSA ATM0.59 3 × 10 3 12.7742.356
AMSA ATM0.94 3 × 10 3 12.6412.454
AMSA ATM0.59 3 × 10 4 13.0682.075
AMSA ATM0.94 3 × 10 4 13.6402.449
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Hess, M.; Tenthoff, M.; Wohlfarth, K.; Wöhler, C. Atmospheric Correction for High-Resolution Shape from Shading on Mars. J. Imaging 2022, 8, 158. https://doi.org/10.3390/jimaging8060158

AMA Style

Hess M, Tenthoff M, Wohlfarth K, Wöhler C. Atmospheric Correction for High-Resolution Shape from Shading on Mars. Journal of Imaging. 2022; 8(6):158. https://doi.org/10.3390/jimaging8060158

Chicago/Turabian Style

Hess, Marcel, Moritz Tenthoff, Kay Wohlfarth, and Christian Wöhler. 2022. "Atmospheric Correction for High-Resolution Shape from Shading on Mars" Journal of Imaging 8, no. 6: 158. https://doi.org/10.3390/jimaging8060158

APA Style

Hess, M., Tenthoff, M., Wohlfarth, K., & Wöhler, C. (2022). Atmospheric Correction for High-Resolution Shape from Shading on Mars. Journal of Imaging, 8(6), 158. https://doi.org/10.3390/jimaging8060158

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