1 Introduction

Image and topography data are some of the most important exploration data of planetary and deep space exploration, and are also the important basic for studying the internal structure and surface evolution history of terrestrial planets (Carr 2007; Ren et al. 2019). Due to the lack of prior knowledge and experience in the complexity of the Mars exploration environment, high-resolution optical cameras have always been important scientific payloads in international Mars exploration missions. As the first spacecraft to orbit another planet, Mariner 9 contributed greatly to the exploration of Mars. After the occurrence of dust storms on the planet for several months following its arrival, Mariner 9 successfully returned 7329 images over the course of its mission, which concluded in October 1972. These images covered 85% of Martian surface at resolutions from 1 kilometer per pixel to 100 meters per pixel (NASA 2011, 2019). The findings from the Mariner 9 mission underpinned the later Viking program. Then Viking 1& 2 returned images of the Martian surface with a spatial resolution of about 300 m. The first truly high-resolution images of Martian surface came from the Mars Orbiter Camera (MOC) on Mars Global Surveyor (MGS). MOC returned narrow angle images covered 5.45% of the Martian surface at better than 12 m/pixel, and ∼0.5% of the Mars at better than 3 m/pixel by the mission’s end (Malin et al. 1992, 2010). The High Resolution Imaging Science Experiment (HiRISE, McEwen et al. 2007, 2010) and the Context Camera (CTX, Malin et al. 2007) are two high resolution cameras on Mars Reconnaissance Orbiter (MRO) launched in 2005. HiRISE has 14 charge-coupled devices (CCDs), each with two output channels, and with multiple choices for pixel binning and number of Time Delay and Integration (TDI) lines, to provide detailed images of the Martian surface with an original spatial resolution of 0.25 to 1.3 m/pixel, in which 0.3 m is currently the highest spatial resolution of the Martian surface images (Lefort et al. 2009; Dundas et al. 2010; Bondarenko et al. 2014). CTX is intended to provide context images for data acquired by other MRO instruments, covering ∼9% of the Mars at 6 m/pixel, but the number of overlapping images (for stereo coverage, image mosaics, etc.) will reduce this percentage (Malin et al. 2007; Thomas et al. 2017). The High Resolution Stereo Camera (HRSC, Neukum and Jaumann 2004; Jaumann 2007) on the Mars Express mission and the Colour and Stereo Surface Imaging System (CaSSIS, Thomas et al. 2017) on ExoMars Trace Gas Orbiter (TGO) are high resolution cameras for European Space Agency (ESA)’ s Mars exploration mission. HRSC is unique in terms of its imaging principle, in that concomitant digital terrain models (DTMs) and multiple orthoimages can be derived based on its standard mode of operation, and in its specific geometric resolution. HRSC images obtained by its 9 color CCD line sensors mounted in parallel have almost achieved Mars global coverage, in which the spatial resolution of images covering 70% of the Martian surface reaches 10 ∼20 m, and the spatial resolution of images in 97% of the coverage area is better than 100 m (Gwinner et al. 2016). Moreover, an additional Super Resolution Channel (SRC) of HRSC can provide co-aligned images at approximately 5 times higher resolution (Oberst et al. 2008). CaSSIS is intended to acquire moderately high resolution (4.6 m/pixel) targeted images of the Mars at a rate of 10∼20 images per day from a roughly circular orbit 400 km above the surface, which can be comparable or superior to all currently operational orbiting cameras apart from HiRISE, and only MOC had superior resolution (Thomas et al. 2017).

Up to this time, high-resolution cameras for international Mars exploration missions have acquired significant numbers of images on the Martian surface, which have greatly enriched our understanding of the Mars (Keszthelyi et al. 2008; Oberst et al. 2008; Malin et al. 2010; McEwen et al. 2010; Thomas et al. 2017). However, the current high-resolution images of the Martian surface still have many challenges worthy of attention. For example, the coverage (especially stereo coverage) of high-resolution images at meter and sub-meter level is very limited. Simultaneously, HiRISE has absolute radiometric calibration challenges because of highly variable focal-plane temperatures (Delamere et al. 2010). HRSC has provided >90% global stereo and colour coverage, but the highly elliptical orbit and wide-angle optics result in >10 m/pixel scale at best. Also, HRSC images are acquired at different emission and phase angles per colour making generation of photometrically accurate colour products at best difficult (McCord et al. 2007). CaSSIS, which has a higher resolution, has just started its work for a short time and its final Mars coverage effect needs further evaluation. Therefore, in terms of data complementation, there are still a lot of work to do for the subsequent Mars exploration mission.

China’s first Mars exploration mission (Tianwen-1) has been successfully launched an orbiter and a rover (named as Zhurong) in July 2020 to conduct a global and comprehensive exploration of the Mars, and to carry out regional patrolling on the Martian surface (Ye et al. 2017). Mars morphology and geological structure is also one of its the main scientific objectives. In order to achieve this objective, a High Resolution Imaging Camera (HiRIC, Fig. 1) is mounted on Tianwen-1 Orbiter to obtain detailed optical images of interest areas on the Martian surface to study the surface topography and changes of the Mars, the identification of characteristic geomorphic units, as well as geological structure, such as landform of water, volcano, impact crater, erosion, etc. A comprehensive verification of the detection capability and performance of HiRIC on the ground facilitates the acquisition of high-quality images during its in-orbit operation.

Fig. 1
figure 1

HiRIC and its installation position on Tianwen-1 Orbiter

In this paper, an overview of HiRIC is introduced in Sect. 2; Sect. 3 designed special ground scientific verification experiments based on the in-orbit detection conditions of Tianwen-1 mission to comprehensively verify the detection capability and the performance of HiRIC; Sect. 4 analyzes the image quality according to the test results; Sect. 5 evaluates the actual detection capability of HiRIC during in-orbit operation. Finally, some proposals for in-orbit imaging strategy are given.

2 The Instrument

The HiRIC is one major payload of China’s Tianwen-1 mission. It adopts an Off-Axis Three-Mirror Astigmatic (TMA) optical system with a focal length of 4640 mm, a F-number of 12 and a Field of View (FOV) of 2° × 0.693°. In order to reduce the instrument weight, carbon-based material is widely used in the opto-mechanical structure which is in ultra-lightweight design (seen in Table 1, Meng et al. 2021).

Table 1 Specifications of HiRIC

HiRIC contains three linear- array TDI CCDs and two area- array Complementary Metal Oxide Semiconductors (CMOS) on one imaging focal plane to produce push-scan and frame imaging respectively (seen in Fig. 2). TDI CCDs can work in panchromatic and 4 spectral bands, including blue (B1), green (B2), red (B3), and near-infrared (B4), so that HiRIC can obtain both panchromatic and color images.

Fig. 2
figure 2

Distribution of HiRIC CCDs and CMOS detectors on the focal plane. The probe flight direction is from the FOV of −0.1° to +0.535°, and the TDI CCD integral direction is from the blue imaging area (B1) to the panchromatic imaging area. Coordinate system XYZ is the ground calibration coordinate system of HiRIC, in which the X-axis is parallel to the line array direction of CCDs, the Z-axis is perpendicular to the focal plane, and the Y-axis completes a right-handed system with the X-axis and Z-axis

The pixel number for the panchromatic band of each TDI CCD in the cross-scan direction is 6144 with a pixel size of 8.75 μm × 8.75 μm, while the pixel number for the color bands is 1536 with a pixel size of 35 μm × 35 μm. The maximum TDI integration levels for panchromatic and color bands are 96 and 64 respectively. Each two staggered CCDs are mechanically spliced with an overlap of about 116 pixels (design value) for panchromatic band so that the equivalent pixel number of the spliced TDI CCD is 18200, corresponding to a 9 km swath width at the altitude of 265 km. CMOS detectors are working in an electronic rolling imaging mode. The effective pixel number for each CMOS detector is 512 × 512 with a pixel size of 44 μm × 44 μm. Detailed radiometric and geometric calibration of the detectors has been carried out during the development of HiRIC (Meng et al. 2021).

The HiRIC is mainly used to obtain detailed optical images of interest areas on the Martian surface when the orbital altitude is changed between 265 km and 800 km and the solar elevation angle is greater than 10 ° (our goal is to image when the solar elevation angle is greater than 5 °). There are 4 working modes for HiRIC, including imaging, health checking, thermal controlling, and focusing, in which imaging (as shown in Table 2) is its main scientific exploration mode during in-orbit operation. It can be seen that HiRIC’s imaging mode has very flexible combination settings to meet different detection requirements. Because of the highest ground spatial resolution of 0.5 m on the Martian surface and the image swath width of 9 km, panchromatic band CCD push-scan imaging will be the default in-orbit detection mode for HiRIC, while other imaging mode like CMOS will hardly be used. Therefore, this paper will focus on the performance and detection capability of CCD detectors.

Table 2 Imaging modes of HiRIC

China’s first Mars mission can be divided into launch phase, Earth-Mars transfer phase, Mars capture orbit phase, Mars parking orbit phase, EDL (Entry, Descent, Landing) phase and scientific exploration phase (Li et al. 2021), in which scientific exploration phase includes relay and survey orbit and global reconnaissance orbit. HiRIC will begin its work in the Mars parking orbit with orbital altitudes of about 280 km and 59000 km at the periareon and apoareon, respectively, and an orbital period of about 2 days, when it will obtain stereo images of the primary candidate landing area (Meng et al. 2021). Global reconnaissance orbit phase is another working period for HiRIC, which is also a large elliptical orbit with orbital altitudes of about 265 km and 11932 km at the periareon and apoareon, respectively, an orbital inclination of 90° ± 5°, and an orbital period of 7.8 hours. Global reconnaissance orbit phase will last about 15 months after the rover Zhurong has conducted 90 sols of in-situ exploration on the Martian surface. As the probe orbital altitude varies between 265 km and 800 km, the operating distance range of HiRIC, the subsatellite velocity of the Tianwen-1 Orbiter will vary between approximately 4 km/s and 3 km/s. The variation of imaging distance and subsatellite velocity will affect the imaging quality of HiRIC, so the image motion compensation and focusing are very important for the HiRIC image effect.

On the other hand, since the fastest subsatellite velocity of the Tianwen-1 Orbiter is about 4 km/s at the altitude of 265 km (at the periareon), the data acquisition rate of HiRIC will reach the maximum of 1695.94 Mbps under the default imaging mode. HiRIC is planned to work about 30 s∼45 s per time so the maximum data volume will be 74.53 Gb. Over the course of one Martian year orbital exploration, the distance from Tianwen-1 Orbiter to the Earth will vary between 81 million and 394 million km, with designed data transmission rate to ground fluctuating between 2048 kbps and 128 kbps. Considering the visual conditions between the ground station and the Orbiter, the maximum data transmission time is just about 5∼6 hours per day. The data transmission capacity of Mars exploration is limited. Thanks to the 70-meter diameter antenna newly built in Wuqing by the Ground Research and Application System (GRAS, Wu et al. 2013; Liu et al. 2018) of Tianwen-1 mission, the actual data transmission rate is expected to nearly double the design number. Even so, the daily data transmission time is still difficult to meet the downlink demand of HiRIC raw detection data. Therefore, data compression of is necessary HiRIC images.

3 Image Quality Influencing Factors and Verification Experiments

As previously stated, HiRIC will normally use the panchromatic TDI CCD band for push-scan imaging during in-orbit operation, just like HiRISE, HRSC and other similar international Mars exploration cameras. There are many factors that affect the image quality of HiRIC, including image motion and defocusing related to the large elliptical orbit of Tianwen-1 Orbiter together with the orbit determination accuracy and platform attitude accuracy, the ground albedo of the Martian surface and solar elevation angle related to the imaging targets, image compression ratio related to the data transmission capability, as well as the radiometric calibration coefficients accuracy and the CCD stitching accuracy related to data processing, etc.

In order to guarantee the performance of HiRIC, the development department, Changchun Institute of Optics, Fine Mechanics and Physics, Chinese Academy of Sciences (CIOMP), carried out detailed design and analysis of its optical system, mechanical structure, detector, thermal control, in-orbit data processing, etc., and carried out a number of calibrations including geometric calibration, radiometric calibration, spectral calibration, color calibration, etc., in the laboratory before the mission (Meng et al. 2021). In this paper, we will conduct ground-based scientific validation tests using HiRIC product to comprehensively evaluate and validate its performance and detection capabilities in the context of the orbital characteristics of the mission and the actual in-orbit operating conditions of HiRIC, as well as to assess the correctness and validity of the calibration results in the laboratory. The results also can be used to guide the in-orbit detection strategy and data processing.

The ground scientific verification test was organized and implemented by the GRAS. The development department of HiRIC and other related institutions are participated. The qualification model and flight model of HiRIC, which has been calibrated by radiation calibration and geometric calibration was used in this test. Two types of experiments are formulated, including the laboratory simulation imaging experiments used for quantitative verification of image motion compensation (marked as A-1) and focusing effect (A-2), and the external field push-scan imaging experiments (B-1) used for simulating the imaging process of HiRIC and evaluating its detection capability and image quality. The details are as follows in Table 3.

Table 3 Scientific verification test for HiRIC

3.1 Laboratory Imaging Experiments

3.1.1 Image Motion Compensation Effect Evaluation Test

Image motion is a common phenomenon in linear array push-scan cameras. It will cause different degrees of degradation of the dynamic Modulation Transfer Function (MTF) of images during in-orbit operation due to the orbit determination accuracy, platform attitude accuracy, and fluctuations of the Martian surface, etc. Image motion is difficult to eliminate, but its magnitude can be controlled within a reasonable range by compensation. The image motion of HiRISE images is usually less than half of a pixel (Lee et al. 2001; McEwen et al. 2010) and for HRSC, an exposure time of 0.6 ms will be required to avoid the image motion.

The image motion of HiRIC can be divided into forward image motion (along the flight direction) and lateral image motion (perpendicular to the flight direction) (Wang 1998). During the in-orbit operation, the image motion compensation parameters, including imaging frequency and the drift angle, will be calculated based on the predicted orbital parameters of the Orbiter and the Martian surface topography, to compensate for the image motion mentioned above. The higher the TDI integration levels, the more stringent the requirements for the orbit determination accuracy. Because Tianwen-1 has a large elliptical orbit (265 × 11932 km for mission orbit) and its orbit determination accuracy is just several km s, the image motion compensation of HiRIC images will be severely influenced by the variable orbital altitude and orbit altitude measurement errors.

In the image motion compensation effect evaluation test, a spatial frequency grating with a spatial frequency of 57 lp/mm, the same as the Nyquist frequency of HiRIC (Meng et al. 2021), was driven by a rotating motor with an angular velocity of 80°/s ∼ 500°/s to simulate a dynamic imaging target in the orbital altitude range of 265 km ∼340 km relative to the HiRIC focal plane. HiRIC was placed in a vacuum tank and connected to this device via a collimator. The CCDs are aligned with the spatial frequency grating by an attitude adjustment platform and the target is imaged at an imaging frequency that matched the angular velocity of the rotating motor through the imaging control system (Seen in Fig. 3).

Fig. 3
figure 3

Schematic diagram of image motion compensation effect evaluation test

In order to comprehensively verify the image motion compensation effect of HiRIC, different working conditions are designed, including imaging frequency calculated by different methods (theoretical calculation and real-time calculation from orbital parameters), orbital parameters with different orbital altitude errors (1 km, 2 km and 3 km), different simulated orbital altitudes (265 km and 340 km), different TDI integration levels (96∼8), and so on. A total of 48 sequence images have been obtained to evaluate the image motion compensation effect of HiRIC. It should be noted that factors such as the production accuracy of the spatial frequency grating, assembly accuracy between HiRIC, rotating motor and collimator, will introduce errors to the test in addition to the design conditions.

3.1.2 Focusing Effect Evaluation Test

Unlike MRO and TGO, Tianwen-1 is designed as a large elliptical orbit with orbital altitudes of 265 km and 11932 km at the periareon and apoareon, respectively. To achieve clear imaging at different orbital altitudes, HiRIC has designed a focusing mirror (FM) for in-orbit focusing. A focusing mechanism is designed to control the FM to achieve this function (Meng et al. 2021), with a focusing stroke of 4 mm and a total focusing error of 4.7 μm. In fact, HiRIC’s focal plane has already been positioned on the ground according to a distance target of 500 km to accommodate the imaging quality requirement when the orbital altitude varies between 265 km and 800 km, i.e., to meet the working distance range of HiRIC. In-orbit focusing is only required in rare cases such as extended missions.

5 sequence images of a spatial frequency grating with a spatial frequency of 57 lp/mm, which is the same as the Nyquist frequency of HiRIC, have been obtained in the focusing effect evaluation test through a collimator. These images include clear images of the spatial frequency grating at a simulated orbital altitude of 500 km, corresponding defocused images at a simulated orbital altitude of 265 km and at infinity distance, and finally, images of the same target after focusing.

3.2 External Field Push-Scan Imaging Experiment

The purpose of external field push-scan imaging experiment is to verify the entire in-orbit detection process and data processing of HiRIC.

During the external field push-scan imaging experiment, HiRIC was placed horizontally on a turntable, which will be rotated clockwise (as viewed from the top of the turntable) according to the designed rotation angular velocity to simulate the in-orbit imaging process. The CCD Imaging commands for different operating conditions are generated according to the upload data format and sent to the camera through ground control system during the external field imaging test. Then the turntable will be rotated and HiRIC will image the far distance targets under the imaging commands. Images will be stored and transferred to the computer. Because the focal plane position of HiRIC has been set to be clearly visible to targets at a distance of 500 km, in order to obtain clear images of the remote target within a few kilometers, the focal plane of the HiRIC qualification model was adjusted backward by 6.1 mm after theoretical calculations in this test. A total of 68 sequence images, an amount of data of 393 Gb, have been obtained in this test. Images of this experiment can be used as reference for analyzing the quality of in-orbit images.

4 Image Quality Analysis

4.1 Image Motion Compensation Effect

As mentioned previously, a total of 48 sequence images of spatial frequency grating under different imaging conditions were obtained in this experiment. By calculating the dynamic MTF of these images, the image motion compensation effect of HiRIC was quantitatively evaluated. The results are recorded in Table 4.

Table 4 Dynamic MTF of HiRIC images in the image motion compensation effect test

From the results in the column of “Condition 1” in Table 4, It can be seen that when the motion speed of the imaging target, i.e., the rotation speed of the rotating motor, matches exactly with the theoretical imaging frequency of HiRIC, the average dynamic MTF of images obtained at different simulated orbital altitudes and TDI integration levels can reach more than 0.1. Since the static MTF of HiRIC images at Nyquist frequency is greater than 0.18, its theoretical dynamic MTF at can reach about 0.114, i.e., about 0.6325 times of the static MTF (Wang 1998). Considering a rotational error of about ±1% of the rotating motor used in the test, and the installation error between the target movement direction and the camera imaging direction, the dynamic MTF will be worse than the theoretical value. Therefore, the dynamic MTF of HiRIC images obtained in this experiment is greater than 0.1, which is within expectation, real and effective. This value will be used as the basis for comparison for subsequent experiments.

According to the results in the column of “Condition 2” in Table 4, the dynamic MTF of HiRIC images obtained at different simulated orbital altitudes and TDI integration levels can also reach an average of about 0.1 when the imaging frequency is calculated from the real-time orbital parameters without errors, which is consistent with the MTF value of images obtained at the theoretical imaging frequency. Therefore, the algorithm for the in-orbit image motion compensation of HiRIC is correct and valid.

However, the dynamic MTF of HiRIC images started to show different degrees of degradation after adding different magnitudes of orbital altitude errors to the orbital parameters because the imaging frequency no longer matched the motion speed of the imaging target. The results in the column of “Condition 3” and “Condition 4” in Table 4 show that, the greater the orbital altitude error, the greater the decline of dynamic MTF of HiRIC images obtained at the simulated orbital altitude of 265 km. It can be seen that when orbital altitude accuracy reaches 3 km, the dynamic MTF of HiRIC images at different simulated orbital altitudes and TDI integration levels degraded by more than 10%, and the corresponding image motion in the focal plane exceeded 0.5 pixels.

Combining the experience of HiRISE and HRSC, HiRIC requires the forward and lateral image motion in the focal plane should not exceed 1/2 pixel respectively after compensation, and the corresponding dynamic MTF decline should not exceed 10%. In order to ensure HiRIC meet the requirement of high resolution imaging, GRAS and CIOMP conducted another verification test on the image motion compensation effect using HiRIC flight model, which is listed in the column of “Condition 5” in Table 4. The test results show that when the orbital altitude error reaches 2 km, the dynamic MTF of HiRIC images obtained at different simulated orbital altitudes and TDI integration levels will also decline by an average of over 10%.

The image motion compensation effect evaluation test for HiRIC verifies the correctness and effectiveness of its in-orbit image motion compensation algorithm. The influence of different orbital altitude errors on the dynamic MTF of HiRIC images is evaluated. Compared with the image motion compensation effect of HiRISE and HRSC, HiRIC can obtain high quality images when the determination accuracy of orbital altitude is better than 2 km. During the Tianwen-1 mission, the orbital altitude accuracy of the Orbiter can be reach about 1.5 km, so the image motion compensation function of HiRIC can ensure that it obtains high-quality images.

4.2 Focusing Effect

A total of 5 sequence images have been obtained to evaluate the focusing effect of HiRIC by analyzing the static MTF of the images, as shown in Table 5.

Table 5 Static MTF of HiRIC images in the focusing effect test

In order to ensure the reliability and stability of the in-orbit imaging quality, the focal plane of HiRIC was positioned for an optimal imaging distance of 500 km. This focal plane position can adapt to the imaging requirements when the orbital altitude is changed between 265 and 800 km. According to the values in Table 5, the static MTF of images obtained at a simulated distance of 500 km is 0.205@57lp /mm (Nyquist frequency of HiRIC). According to the specification, HiRIC requires an average static MTF of ≥0.18@ 57lp/mm in the CCD imaging area. Therefore, the static MTF of HiRIC meets the design requirements.

When the target is defocusing, the static MTF of HiRIC images for the infinity distance and 265 km simulation targets are 0.199@ 57lp/mm and 0.201@ 57lp/mm, respectively, degraded by 2.92% and 1.95% according to the value of focus images. After focusing operation, the static MTF of HiRIC images for the same targets can be restored to the level of the images obtained at the optimal imaging distance of 500 km, which is 0.205@ 57lp/mm.

The results in this paper show that the focusing operation of HiRIC is effective. In May 2021, Tianwen-1 Orbiter has entered the relay and survey orbit, and HiRIC has acquired high-resolution images of the landing area, which shows that the focal plane position set on the ground can ensure the need to acquire high-quality images. Subsequently, we will choose whether to apply the focusing function or not according to the actual working condition of HiRIC in orbit, otherwise we plan to keep the current focal plane position unchanged.

4.3 Image Quality of the External Field Imaging Experiment

The feasibility and effectiveness of the in-orbit detection process of HiRIC is evaluated by the external field imaging experiment. Images of this experiment can be used as reference for analyzing the quality of in-orbit images. Here we evaluate the image quality of the external field imaging experiment through compression quality, radiation correction effect, and CCD splicing effect.

4.3.1 Data Compression Quality

Due to the huge data volume and the limited data transmission capability of Mars exploration mission, HiRIC images must be transmitted after compression.

HiRIC images are compressed using the JPEG2000 algorithm, which is currently recognized as the best compression algorithm in the field of still image compression. For remote sensing images, the recovered images obtained by JPEG2000 compression have richer feature details and textures, and better Peak Signal-to-Noise Ratio (PSNR) than other still image compression algorithms, such as SPIHT (Taubman and Marcellin 2001; Rabbani and Joshi 2002). The JPEG2000 algorithm first performs a discrete wavelet transform on the raw images, and then quantizes and entropy codes the transform coefficients (EBCOT) before forming the output bit stream. After the compressed image data is stored or transmitted, entropy decoding, inverse quantization, and inverse wavelet transform are performed to recover the image data.

Lossy compression will cause loss of image texture details and affect HiRIC image quality. An optimal image data compression ratio under the premise of ensuring the data transmission ability is very important for the image quality of HiRIC.

The main index of image data compression quality evaluation is PSNR, which is measured in decibels (dB). During the in-orbit operation, HiRIC performs data transmission with the Orbiter platform every 512 image lines. Under the compression mode, the images will be compressed in blocks at a minimum resolution of 384 pixels/line so that there will be a total of 16 types of compressed blocks, which recorded as “resolution 1∼16” with the pixel number of (384∗N) ∗512 (N = 1,2,3...16). In order to evaluate the data compression quality, 18 scene HiRIC panchromatic images in the external field imaging experiment which processed by compression and decompression were selected to analyze the PSNR (seen in Table 6).

Table 6 Compression test results

Typically, the values of PSNR, for lossy compression of an 8 bits bitdepth image, are between 30 and 50 dB and when the PSNR is greater than 40 dB, then the two images are indistinguishable (Welstead 1999; Manel et al. 2016). HiRIC offers 12-bits bitdepth, which is different from the classical 8-bits bitdepth images. It can be seen from the results that almost all the PSNRs of the test images under different compression ratios are always greater than 60 dB, even if compression ratio is greater than 6:1. One possible reason is that the digital numbers (DNs) of images obtained in the external field imaging test is low relative to those of the 12-bits bitdepth images, resulting in little variation between the pre- and post-compressed images which makes the PSNR too large. Due to the lack of sufficient research on the optimal PSNR of 12 bit quantized images, it is clear that PSNR is no longer an optimal measure of the compression quality of these images. Therefore, there are insufficient evidence to determine the optimal compression ratio of HiRIC images based on the PSNRs results.

PSNR is an objective indicator to evaluate the effect of image compression, but it is based on the error between corresponding pixels, that is, based on error-sensitive image quality evaluation. Because it is not fully applicable to 12-bit quantized images, PSNR maybe not be the best evaluation indicator for this experiment. In order to further analyze the reasonable compression ratio for HiRIC images during the in-orbit operation, an index named structural similarity (SSIM, Di and Liu 2006) is introduced here to quantitatively analyze the compression quality of images, together with PSNR.

SSIM is a measure of how similar two images are. It was first proposed by the Laboratory for Image and Video Engineering at the University of Texas at Austin, using two images, one uncompressed and undistorted and the other distorted. Like PSNR, SSIM is often used as an evaluation of image quality (Zhou et al. 2004). SSIM can quantify image quality degradation caused by processing such as data compression or by losses in data transmission. The value range is 0∼1, and when the two images are completely consistent, the SSIM value is equal to 1

Figure 4 reflect the effect of data compression on the similarity of HiRIC images. The SSIM values under every compression ratio are less than 1. On the other hand, when the compression ratio is greater than 6:1, the SSIM values show a rapid decline, and the similarity between images becomes worse. Combined with the PSNR analysis results, when the compression ratio is 6:1, the PSNR of the test images are greater than 60. Therefore, it is recommended that the compression ratio does not exceed 6:1 during the in-orbit operation to ensure the image quality.

Fig. 4
figure 4

SSIM values of HiRIC images at different compression ratios

4.3.2 Radiation Correction Effect

Radiation correction is the main content of HiRIC image data pre-processing to eliminate the inconsistency of each pixel’s response due to CCDs defects, and to avoid the pixel response non-uniformity (PRNU) in uniform illumination conditions.

The radiation correction is performed by a set of matrix coefficients for the DN value of each TDI CCD pixel, including the slope \(k\) and the intercept \(a\). These coefficients are given by the development department through radiation calibration in the laboratory, taking fully into account the radiation correction bias between the CCDs and the temperature dependence in dark conditions (Meng et al. 2021). The radiometric correction coefficients will be applied to the production of HiRIC scientific data products of Tianwen-1 mission in the PDS4 version format (Tan et al. 2021). This paper will focus on whether the application of the radiation correction coefficients meets the needs of scientific applications.

The HiRIC has 6144 pixels per CCD panchromatic image, divided into 4 output channels, 1536 pixels per channel (Meng et al. 2021). In order to evaluate the radiation calibration effect of HiRIC, a comparison of the images obtained in the external field imaging test before and after radiation correction is shown in Fig. 5. It can be seen that through the relative radiation correction, the consistency of the DN for different output channels has been improved, but there are still some grayscale deviations. The main reason is that the radiation calibration algorithm for the HiRIC qualification mode is not well adapted to the differences between CCDs output channels, and the correction of different luminance conditions is not perfect. On the other hand, the DN of the images obtained in the external field push-scan test is low as mentioned above, which will also cause the radiation calibration coefficient not suitable for the non-uniformity between images.

Fig. 5
figure 5

Radiation correction effect of HiRIC qualification model images. (a) is a mosaic of the 3 CCD images obtained in the external field push-scan test. (b) and (c) are images before and after radiation correction corresponding to the scene in the red box in (a). It can be seen that there are still some grayscale deviations between output channels

In response to the problems reflected in the external field imaging test, the algorithm of radiation calibration for HiRIC flight model was optimized. The values of the radiation correction coefficients \(k \) and \(a \) are calculated by the least squares fitting, while the calibration process is uniformly corrected for all out put channels of the three CCDs. Therefore, the radiation correction effect of images for the flight model can be significantly improved, and the correction uniformity can be increased by about 50% compared with the qualification mode. The relative radiation correction uncertainty of panchromatic images of HiRIC flight model is better than 3% (seen in Fig. 6).

Fig. 6
figure 6

Radiation correction effect of HiRIC flight model. (a) and (b) are the comparison of DNs for panchromatic band images under different luminance conditions before and after radiation correction. The relative radiation correction uncertainty is better than 3%

4.3.3 CCD Stitching Accuracy

In order to obtain a larger field of view and effective swath width, high resolution cameras are usually assembled using multiple staggered TDI CCDs in the same focus plane. For example, HiRISE has 14 CCDs and the staggered CCDs overlapped by \(48\pm 5\) pixels with adjacent CCDs in the same color band pass to provide an effective swath width of ∼20,048 pixels for the RED images, and ∼4,048 pixels for the blue-green and NIR images (McEwen et al. 2010).

HiRIC is also composed of three staggered TDI CCDs. Adjacent CCDs are assembled with an overlap of 116 pixels (panchromatic band). Because the images obtained during each integration period is not a continuous and complete scan line, but is divided into three separate records, the stitching accuracy between the three CCDs directly affects the quality of the final HiRIC images. Again, geometric calibration parameters such as the coplanarity of the staggered TDI CCDs, their parallelism and overlap dimensions have been rigorously calibrated in the laboratory by the development department (Meng et al. 2021). In this paper, the stitching of panchromatic images obtained in the external field imaging test was performed and the stitching accuracy was analyzed using the calibration results of the CCD stitching parameters of the HiRIC qualification model.

It can be seen from Fig. 7 that the stitched images are misaligned. The main reason is that the splicing of CCDs for HiRIC qualification model has not reached the optimal state. The flatness of the focal plane has a maximum deviation of about 1.9 pixels, and the collinearity of the focal plane has a maximum deviation of about 2.7 pixels which will cause the deviation of stitched images. On the other hand, factors such as camera’s attitude, the deviation of the drift angle control, and the change in the distance from the imaging target during the external field imaging test further exacerbate the deviation between stitched images.

Fig. 7
figure 7

Stitching results of HiRIC qualification model image. In the middle of the image, the overlapping part of the two CCDs, the scene appears obvious misaligned

In response to the problems reflected above, the CCD linear array stitching parameters were accurately measured during the calibration of HiRIC flight model. The calibration results are shown in Table 7.

Table 7 Calibration results of CCD splicing parameters for HiRIC flight model

It can be seen that the mechanical stitching accuracy of staggered CCDs on the focal plane of the HiRIC flight model is better than 0.00125 mm, which is corresponding to 0.15 pixels. The calibration accuracy (standard deviation) of the CCD mechanical stitching state is better than 1 μm, that is, 0.11 pixels, which meet the requirement of high resolution imaging quality of HiRIC.

The geometric calibration results in Table 7 are the actual measurements of the focal plane design installation layout in Fig. 2, which verifies the actual installation of HiRIC. In the subsequent scientific application process, in order to map HiRIC images to the cartographic systems for Mars, it is necessary to combine various information such as camera focal length, image principal point, HiRIC mounting parameters on the Orbiter, and the orbit and attitude of the Orbiter, in addition to stitching parameters, to establish a rigorous imaging geometry model of HiRIC.

5 Discussion

5.1 Estimated Detection Capability of HiRIC During in-Orbit Operation

In this paper, special experiments were designed to fully validate the in-orbit detection capability and performance of HiRIC. The main conclusions are as follows.

  • Through image motion compensation, the dynamic MTF of HiRIC images will not degrade by more than 10% when the orbital altitude accuracy of Tianwen-1 Orbiter is better than 2 km, and the corresponding forward (along the flight direction) and lateral (perpendicular to the flight direction) image motions of the imaging target in the focal plane will not exceed 0.5 pixels.

  • The focusing function of HiRIC meets requirements of high resolution imaging on the large elliptical orbit of Tianwen-1. In the planned imaging orbit altitude range of 265 km∼800 km, the static MTF of HiRIC images will not degrade by more than 3% due to defocusing.

  • The in-orbit detection process for HiRIC is effective and valid images can be obtained in external field imaging tests.

  • The PSNR of images in external field imaging tests processed by compression and decompression is greater than 60 db, even if the compression ratio is larger than 6:1. Considering that HiRIC images are 12-bit quantized, combined with the results of the analysis of the image structural similarity of images (SSIM), the compression ratio of HiRIC is not recommended to exceed 6:1 during in-orbit operation.

  • The radiation calibration method of HiRIC flight model has been adjusted through ground scientific verification test, and the uniformity of the radiation correction can be improved by about 50% over its qualification model.

  • Similarly, the geometric calibration method of HiRIC flight model has also been adjusted and the stitching accuracy can be better than 0.5 pixels (panchromatic band).

It can be seen that, the technical specifications of HiRIC meet the design requirements, and the performance status is stable, with the ability to obtain high resolution images of the Martian surface. It should be noted that, due to the limitations of ground test conditions, not all the factors that affect the imaging quality of HiRIC can be verified through experiments, such as the ground albedo of the Martian surface and the variation of the solar elevation angle which will affect the SNR of HiRIC images. For these factors, we performed a theoretical analysis of the influence situation.

For specific areas on the Martian surface, the higher the ground albedo and the greater the solar elevation angle, the higher the SNR of HiRIC images. According to the results of OMEGA on the Mars Express and Compact Reconnaissance Imaging Spectrometer (CRISM) on the MRO, the bolometric albedo variation on the Martian surface ranges from 0.08 to 0.35 (Vincendon et al. 2015). Based on this background, simulations were performed to calculate the SNR and corresponding optimal TDI integration levels of HiRIC images at different orbital altitudes, ground albedos, and solar elevation angles. Results show that for the case where the ground albedo varies from 0.05 to 0.30, the imaging condition of HiRIC image SNR greater than 100 can be satisfied by setting different TDI integration levels (32∼ 96) when the solar elevation angle is greater than 15° (seen in Table 8). According to the orbit design of Tianwen-1 mission, HiRIC will carry out detection near the periareon, i.e., in the orbital altitude range of about 265 km∼ 800 km, and the solar altitude angle will always remain greater than 15° during this orbital segment. Therefore, ground albedo and solar elevation angle can meet the requirement of image quality and detection capability of HiRIC after determining the imaging targets and imaging epoch.

Table 8 Calibration results of CCD splicing parameters for HiRIC flight model

5.2 Proposals for in-Orbit Imaging Strategy

The results of these experiments showed that the performance status of HiRIC meets the requirements of obtaining high resolution images on the Martian surface. However, the actual in-orbit imaging process of HiRIC will be more complicated and challenged. HiRIC will not start its work until Mars parking orbit phase of Tianwen-1 mission (Wu et al. 2013), when it will obtain stereo images of the candidate landing site for terrain reconstruction to support the safe landing of the “ZhuRong” rover and its scientific detection on the Martian surface. Then, HiRIC will image areas of interest on the Martian surface together with the 8 Martian landing sites of international Mars exploration missions in the scientific exploration phase (Kirk et al. 2008; Golombek et al. 2012; Fergason et al. 2017).

HiRIC has only one effective imaging linear array (staggered by three TDI CCDs) with a swath width of only 9 km@265 km so that the Orbiter needs to adjusted its attitude in yaw and pitch direction to realize stereo coverage on the Martian surface by multiple imaging. Therefore, it is also crucial to formulate the in-orbit imaging strategy based on the actual situation of the mission.

The landing area of Tianwen-1 mission is 150 km (north-south, or along the latitude direction) × 60 km (east-west, or along the longitude direction), as shown in Fig. 8. As previously stated, HiRIC uses panchromatic band CCD push-scan imaging as the default detection mode, and the imaging swath width is 9 km@265 km. In order to complete the stereo imaging of the landing area, the HiRIC needs to image the same area of the landing area along the north-south direction by means of multi-tracks stereo, with 2 angles from the forward- and backward- view, and the imaging baseline-height ratio ≥ 0.4, i. e., the forward- and backward- view pitch angle of the Orbiter should be 11.31°; in addition, the image overlap coverage along the east-west direction should be no less than 15%, therefore, 9 imaging strips were designed according to the HiRIC swath width to achieve full coverage of the landing area with stereo images. As a result, a total of at least 18 images are needed for our mission (forward- and backward- view images are needed for the same area in Fig. 8 to obtain stereo images). The adjustment ranges of yaw and pitch angle for the Orbiter to achieve stereo coverage will be no larger than ±20°.

Fig. 8
figure 8

Coverage of HiRIC images on landing site. The alternating yellow and green boxes in indicate 9 imaging strips, with an overlap coverage of 15%, and the red box indicates the 150 km (north-south direction) × 60 km (east-west direction) landing area

For the imaging task of areas of interest on the Martian surface and the currently 8 Martian landing sites of international Mars exploration missions, the Orbiter attitude are not needed to adjusted any more. HiRIC will image these targets when the Orbiter performs an overflight. The analysis results show that solar elevation angle when HiRIC works will be changed from 15° to 70° and TDI integration levels from 32 to 96 can be used to obtain high resolution images, in which TDI integration levels of 64 will be most commonly used.

HiRIC is another high resolution optical camera for Mars exploration. In this paper, special experiments are designed to verify the actual detection capability and performance of HiRIC in the simulation exploration environment based on the in-orbit detection conditions of Tianwen-1 mission. The test results are effective complements to the HiRIC laboratory calibration tests. On the other hand, recommendations are made for its in-orbit imaging strategies to ensure the acquisition of high-quality images. In the future, HiRIC is expected to obtain detailed images of areas of interest on the Martian surface with higher resolution and larger coverage, which can serve as an effective complementation to the existing Martian high resolution images, enrich the global coverage of Mars sub-meter-scale high-resolution images, and further deepen our comprehensive understanding of the Mars.