원시데이터 수집 시스템
선정목록으로

Computational Optics for Mobile Terminals in Mass Production

관련 엔지니어링 플라스틱 · (23) 컴파운드

기본 정보

저자
  1. Chen Shi-qi
  2. Lin Ting
  3. Feng Hua-jun
  4. Xu, Zhihai
  5. Li Qi
  6. Chen Yue-ting
DOI
10.48550/arxiv.2305.05886
저널
arXiv (Cornell University)
발행년도
2023
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.2305.05886
토픽
Advancements in Photolithography Techniques
OpenAlex ID
W6892002930

평가 내용

관련도
관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
규칙(키워드) 기반 평가로 '엔지니어링 플라스틱 > 컴파운드' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Correcting the optical aberrations and the manufacturing deviations of cameras is a challenging task. Due to the limitation on volume and the demand for mass production, existing mobile terminals cannot rectify optical degradation. In this work, we systematically construct the perturbed lens system model to illustrate the relationship between the deviated system parameters and the spatial frequency response measured from photographs. To further address this issue, an optimization framework is proposed based on this model to build proxy cameras from the machining samples' SFRs. Engaging with the proxy cameras, we synthetic data pairs, which encode the optical aberrations and the random manufacturing biases, for training the learning-based algorithms. In correcting aberration, although promising results have been shown recently with convolutional neural networks, they are hard to generalize to stochastic machining biases. Therefore, we propose a dilated Omni-dimensional dynamic convolution and implement it in post-processing to account for the manufacturing degradation. Extensive experiments which evaluate multiple samples of two representative devices demonstrate that the proposed optimization framework accurately constructs the proxy camera. And the dynamic processing model is well-adapted to manufacturing deviations of different cameras, realizing perfect computational photography. The evaluation shows that the proposed method bridges the gap between optical design, system machining, and post-processing pipeline, shedding light on the joint of image signal reception (lens and sensor) and image signal processing.

본문 109,548자

본문 펼치기
## Computational Optics for Mobile Terminals in Mass Production Shiqi Chen, Ting Lin, Huajun Feng, Zhihai Xu, Qi Li, and Yueting Chen Abstract —Correcting the optical aberrations and the manufacturing deviations of cameras is a challenging task. Due to the limitation on volume and the demand for mass production, existing mobile terminals cannot rectify optical degradation. In this work, we systematically construct the perturbed lens system model to illustrate the relationship between the deviated system parameters and the spatial frequency response (SFR) measured from photographs. To further address this issue, an optimization framework is proposed based on this model to build proxy cameras from the machining samples’ SFRs. Engaging with the proxy cameras, we synthetic data pairs, which encode the optical aberrations and the random manufacturing biases, for training the learning-based algorithms. In correcting aberration, although promising results have been shown recently with convolutional neural networks, they are hard to generalize to stochastic machining biases. Therefore, we propose a dilated Omni-dimensional dynamic convolution (DOConv) and implement it in post-processing to account for the manufacturing degradation. Extensive experiments which evaluate multiple samples of two representative devices demonstrate that the proposed optimization framework accurately constructs the proxy camera. And the dynamic processing model is well-adapted to manufacturing deviations of different cameras, realizing perfect computational photography. The evaluation shows that the proposed method bridges the gap between optical design, system machining, and post-processing pipeline, shedding light on the joint of image signal reception (lens and sensor) and image signal processing (ISP). Index Terms —Optical tolerancing, imaging simulation, computational photography, dynamic convolution, mobile ISP systems. ! 1 INTRODUCTION N the machining and assembly procedure of imaging systems, deflection and manufacturing bias affect the # I shape and positions of lenses [1]. Even subtle shape or position variations will introduce additional aberrations, which significantly degrade the optical performance of cameras [2]. To be more specific, the deflection will lead to the point spread function (PSF) difference ( Fig. 1a) of the symmetrical field-of-view (FoV), and the manufacturing deviation will cause the overall decrease in SFR ( Fig. 2c). Hence, analyzing the biases between the ideal and manufacturing is a critical issue in the optomechanical design of the imaging system, and it is essential for improving processing quality and controlling the cost [3], [4]. We hope to estimate the gap between the ideal design and the produced devices, aiming for performing a targeted restoration within ISP systems [5]. This line of research has promoted significant processes recently [6]. Commercially, existing optical design programs have integrated with tolerance analysis to assess the performance of perturbed systems [7] or calculate the bias range of each parameter according to the measured indicator [8], _e.g._, modulation transfer function (MTF). However, these tolerancing procedures still face a few challenges for application in a specific machining sample [1]. One issue is the tolerance, which is generally selected empirically or according to the perfor _•_ _Shiqi Chen, Ting Lin, Huajun Feng, Zhihai Xu, Qi Li, and Yueting Chen_ _are_ _with_ _the_ _State_ _Key_ _Laboratory_ _of_ _Modern_ _Optical_ _Instrumentation,_ _Zhejiang University, Hangzhou, 310000, China._ _•_ _Corresponding author: Yueting Chen (E-mail: chenyt@zju.edu.cn)_ _•_ _This_ _work_ _is_ _supported_ _by_ _the_ _Civil_ _Aerospace_ _Pre-Research_ _Project_ _(number D040104) and the National Natural Science Foundation of China_ _(number 61975175)._ _Manuscript received April 8, 2022._ mance requirements without considering the actual machining procedure [9]. Another challenge is the inherent gap between the tolerancing indicator and the measurement of SFR [10]. This theoretical difference leads to severer biases predicted by tolerancing programs. In academia, representative works include local optimization [11], which modifies the system parameters by the pixel-level difference of PSF. As well as the end-to-end optical system optimization proposed recently [12], [13], which optimizes the system with imageto-image rendering or deep learning model. Nevertheless, the existing methods still suffer from several limitations. For example, these optimizations are significantly affected by the noise in actual measurement [14]. And the differentiable framework requires a large volume of paired data where the ideal image or the optical parameters and the corresponding PSFs are tremendously complicated to acquire [15]. This paper is devoted to a fundamental solution to ISP systems - bridging the gap between optics and postprocessing. We show an illustrative example in Fig. 1b, where the measurements of manufacturing samples are slightly different, yet the realized restorations are similar after processing. The classical ISP system is a step-by-step process where each module cascades with each other [16]. This separation mitigates the processing difficulty of each module but allows the slight errors accumulated in the subsequent operations [17]. To this end, recent works implement endto-end methods for the mapping from Bayer pattern data to sRGB images [18]. However, the acquisition of denselylabeled data specified for each camera is time-consuming, and the enormous computational overhead is the critical limitation of deploying it into mobile terminals [19]. In this work, we mainly focus on connecting the optical design, the system manufacturing, and the ISP systems. A ( a ) PSF of Proxy ( b ) Measurement Our Restoration Reference Sample 1 Sample 2 Sample 3 Example: photographs taken by one manufacturing sample Manufacturing sample 1 Manufacturing sample 2 Manufacturing sample 3 Manufacturing sample 1 Manufacturing sample 2 Manufacturing sample 3 CanonEOS80D+EF 50/1.2USM CanonEOS80D+Sigma 50/1.4 Built-in ISP Fig. 1. Manufacturing biases adaptation and comparisons . (a) centrosymmetric PSF calculated by the proxy camera of different machining samples (Best viewed with zoom) . (b) magnified comparisons of the photographs taken in the same scene. We show the measured degradation of each Phone (converted to sRGB for visualization) and our restoration output from the same ISP pipeline. And the results of high-end DSLR cameras are shown for reference (captured under same aperture for comparisons). perturbation model is proposed for describing the influence of the deviated parameters on the geometric image evaluation, _e.g._, SFR. Distinct from the indicator calculation through exit pupil wavefront (used in optical design programs), we adopt the imaging simulation to obtain realistic photographs and apply SFR to measure MTF, which follows the process of image formation and index evaluation. It also provides an optimization framework to estimate the perturbed parameters from the measured indicators. In this way, a proxy camera, whose imaging results are close to reality, is constructed. It acts as a bridge for the co-design of the actual camera and the subsequent ISP. Furthermore, we propose a brand new dynamic postprocessing architecture based on DOConv, expecting to handle the degradation of various system perturbations with one model. Engaging with the imaging simulation of the proxy camera, we encode the accumulated errors of cascaded modules and the degradation of system perturbations into the data pairs for the training of the dynamic model. This model realizes the correction of various machining samples’ optical degradations with less computational overhead. Our approach can be easily adapted into new camera devices at a penurious cost on indicator measurement, thus bypassing the time-consuming paired data collection. We evaluate the proposed method on two imaging systems: customized digital single-lens reflex (DSLR) cameras and Huawei Honor 20 Pro (Phone), with known ideal optical parameters of both cameras. The assessments include the accuracy of constructing the proxy camera and the perturbation adaptability of the dynamic postprocessing model as well as the benefits to downstream vision applications ( _i.e._, object detection, optical character recognition). Extensive experiments demonstrate that our method has the potential to link optical machining with postprocessing for realizing targeted restorations. The results are on par or sometimes even outperform the high-end DSLR lenses (the restoration results of Phones are shown in Fig. 1). Our main contributions are summarized as follows: _•_ We construct a perturbed optical system model based on the image formation process, which illustrates the relationship between the perturbation of system parameters and the measured SFR. We demonstrate the advantage of the proposed perturbing model over the existing optical tolerancing procedure. _•_ We propose an optimization method to infer the system perturbation from the SFRs measured from actual manufacturing samples, hoping to construct proxy cameras whose imaging results are close to reality. These proxy cameras are to generate the data pairs that characterize the mapping of optical degradation, thereby fast adapting to the data acquisition of new devices in mass production. _•_ We propose a dilated Omni-dimensional dynamic convolution (DOConv) and implement it into postprocessing to tackle spatially varying aberrations and stochastic machining deviations. It can be embedded into the existing ISP systems and correct the errors accumulated by modules cascade. This paper proceeds as follows. In Section. 2, we review the related works. Section. 3 presents the optical perturbation model and the optimization to construct the proxy camera. The dynamic postprocessing pipeline is detailed in Section. 4. Quantitative and qualitative experimental analyses of our approach are provided in Section. 5. Section. 6 explores the potential applications of the proposed method. Conclusions and discussions are drawn in Section. 7. 2 RELATED WORK Optical degradation correction is a comprehensive mission in computational photography, where algorithms and optical systems cooperate. The additional machining bias poses a significant challenge to solving this problem. In this section, we present an overview of end-to-end optical system optimization and ISP systems. 2.1 End-to-End Optical System Optimization Optical designers generally select the tolerance empirically or according to the performance requirements where the system bias is randomly sampled within tolerance to determine statistical degradation in mass production [20]. However, this process does not consider the actual machining procedure, which is meaningless for a particular manufacturing sample [1]. Besides the top-down tolerance analysis, considerable works infer the system parameters by polynomial (Zernike) fitting or convex optimization [7], [8], [21]. For polynomial fitting, the predicted range is generally broader than the actual for the multiple coefficients system [22]. Some works have taken advantage of the measured PSFs or images to fine-tune the entire system and perform targeted restoration [11]. However, the noise introduced in actual measurement can easily affect them since these methods are guided by the pixel-by-pixel mean squared errors (MSE) evaluation [14]. Recently, some works proposed to jointly optimize the optical parameters and the postprocessing systems in a differentiable manner, where the model of Fourier Optics [23], the image-to-image rendering [12], the proxy deep-learning model [13] are used to build the end-toend pipeline. However, the end-to-end optimizations have some limitations when applied to complex systems with large FoV (in-depth discussions in the supplementary file ). We modify the ideal system to construct a proxy camera, whose system bias may not be precise compared to the actual device, but their imaging results are close. The proposed method guides the optimization by the geometric optical image evaluation, which is less susceptible to noise. We demonstrate that our physical-based framework can generate realistic imaging results for various machining samples and work under different noise levels. 2.2 Mobile ISP Systems Considerable efforts have been invested in image postprocessing to correct optical degradation [24], [25], [26], [27], [28], [29]. Traditional deconvolution approaches utilize multiple image priors for iterative or mutual optimization to obtain the latent images [30], [31]. Unfortunately, they are inefficient in dealing with spatially varying degradation and thus have difficulty applying to real-time imaging [32]. The existing mobile ISP system divides the processing into multiple steps: white balance [33], [34], [35], denoising [36], [37], Bayer pattern interpolation [38], [39], [40], color correction [41], _etc_ . Separating the task into independent modules facilitates the processing overhead, but the error of one module will be accumulated and magnified in subsequent steps, resulting in the wrong outputs [18]. Recent works propose to replace the cascaded ISP systems with deep learning models to address this issue [19], [42]. Such models are entirely data-driven and also have the potential for real-time imaging. [18] proposes to collect the data pairs by shooting the same scene with a mobile phone and a high-end DSLR. However, this data construction is time-consuming and has poor portability for new devices [43]. Recent works exploit to obtain data pairs by imaging simulation of an ideal system [28], but they do not consider the machining bias introduced during manufacturing. Therefore, there is a particular domain gap _<u>cρ</u>_ <u>�</u> <sup>2</sup> _F_ ( _x, y, z_ ) = _z −_ _−_ <u>�</u> 1 + 1 _−_ (1 + _k_ <sup>�</sup> ) _c_ - <sup>2</sup> _ρ_ <sup>2</sup> between the training data and the real-shot images, resulting in unsatisfied generalization for any processing samples in the actual scene [44]. Machining degradations introduced during camera production increase the difficulty of postprocessing algorithms. The deep learning methods mentioned above are fixed in the inference and cannot adaptively deal with the degradation of input features [45]. We noticed that many approaches apply attention or transformer to endow the network with dynamic processing ability [46], [47], [48], [49]. On a large scale of data, these models have a better performance than the static model, yet in the data with a relatively single distribution, they tend to overfit [50], [51]. In this work, multiple proxy cameras are engaged to synthesize realistic data for the training of the dynamic model. The proposed method successfully restores the optical degradation of complex distribution and realizes adaptive postprocessing of samples with different deviations. 3 PERTURBED OPTICAL SYSTEM MODEL With the lens prescriptions and the actual manufacturing sample, our goal is to construct a proxy camera whose imaging results are relatively close to the manufactured device. Different from the ideal designing procedure, geometric optical image evaluation such as the SFR generally suffers from the deviations introduced in manufacturing and mounting assembly. Moreover, the discrete sampling and noise of the sensor are non-negligible in measurement. Therefore, in the following Section. 3.1, we first analyze the image formation procedure of the perturbed optical system, aiming for constructing the relationship between the perturbation of system parameters and the measured SFR. Then in the Section. 3.2, the method to build a proxy camera is presented in a detailed account. 3.1 Geometric Optical Image Evaluation A general camera is primarily divided into the optical lens and the photosensor, where the former gathers the scene information and the latter records the intensity of the signal. While due to the inevitable manufacturing deviation, the scene rays collected by the camera will be deflected unexpectedly during propagation, resulting in degraded images and unfavorable indicators. To model the perturbations of the system as well as their influence on the SFR measurement, we consider the case where an incident ray is traced in a camera modeled with biased coefficients. _3.1.1_ _Perturbed System Coefficients_ Ray-surface intersection The spatial coordinates ( _x, y, z_ ) of an incident ray are as follows: _x_ = _x_ 0 + _ks, y_ = _y_ 0 + _ls, z_ = _z_ 0 + _ms,_ (1) here _s_ is the parameter of distance along the ray measured from the source point ( _x_ 0 _, y_ 0 _, z_ 0), and _D_ = ( _k, l, m_ ) are the normalized direction vector. The general surface encountered in mobile camera may be represented by: _N_ _j_ =1 _A_ �2 _jρ_ <sup>2</sup> <sup>_j_</sup> _,_ (2) 0 ~~0.~~ 5 0 -1 -1 -0.5 ( b ) pi ESF LSF Edge Direction 1 Ideal Camera Prescription Virtual entrance pupil x’, y ~~’~~ Σ ~~n~~ Image plane x’’, y’’ Ideal ( b ) Edge Direction ( c ) Ideal _SFRA_ <sup>_*_</sup> _SFRA_ <sup>_*_</sup> _SFRA_ <sup>_*_</sup> Ideal Measured System of Merit Functions _fov1_ <sup>_F_</sup> _fov1_ <sup>(</sup> <sup>_p_</sup> _1_ <sup>_,_</sup> <sup>...</sup> <sup>_,p_</sup> _N_ <sup>)</sup> _fov2_ <sup>_F_</sup> _fov2_ <sup>(</sup> <sup>_p_</sup> _1_ <sup>_,_</sup> <sup>...</sup> <sup>_,p_</sup> _N_ <sup>)</sup> _fov3_ <sup>_F_</sup> _fov3_ <sup>(</sup> <sup>_p_</sup> _1_ <sup>_,_</sup> <sup>...</sup> <sup>_,p_</sup> _N_ <sup>)</sup> #### _·_ _·_ _·_ Imaging Simulation ( a ) Real Camera Measurement Bayer ISP <mark>Me</mark> asured Pipeline rx’’y’’ <n,Dx’y’> <u><n</u> ~~n~~,rx’’y’’> Dx’y’ <u>Σ</u> 0.8 0.6 0.4 0.2 0 1 _SFRA_ <sup>_*_</sup> _fovn-2_ <sup>_F_</sup> _fovn-2_ <sup>(</sup> <sup>_p_</sup> _1_ <sup>_,_</sup> <sup>...</sup> <sup>_,p_</sup> _N_ <sup>)</sup> _SFRA_ <sup>_*_</sup> _fovn-1_ <sup>_F_</sup> _fovn-1_ <sup>(</sup> <sup>_p_</sup> _1_ <sup>_,_</sup> <sup>...</sup> <sup>_,p_</sup> _N_ <sup>)</sup> <u>i</u> Projection Differential _SFRA_ 1 <sup>_*_</sup> _fovn_ <sup>_F_</sup> _fovn_ <sup>(</sup> <sup>_p_</sup> _1_ <sup>_,_</sup> <sup>...</sup> <sup>_,p_</sup> _N_ <sup>)</sup> _<u>Iterate</u>_ Minimizing Damped Least Proxy Camera Prediction Discrete Fourier Transform ~~<u>Ideal</u>~~ ~~<u>Measured</u>~~ Merit Functions Damped Least Squares method with Ray Tracing Fig. 2. Overview of the perturbed optical system model . (a) We simulate the imaging results of the ideal edge by the camera’s parameters (top) and acquire the measured edge by photographing with real devices (bottom). (b) The procedure from edge profile to SFR goes through projection, differential, and DFT. In this way, we obtain the SFRA of ideal design and the measured edge (detailed in Sec. 3.1.2). (c) Set the measured SFRAs as targets to optimize the system parameters and predict the proxy camera by damped least-squares iteration (detailed in Sec. 3.2). where _<u>z</u>_ is the coordinate along the optical axis. _ρ_ = - _x_ <sup>2</sup> + _y_ <sup>2</sup> is the distance from a surface point to the optical axis. _c_ - is the perturbed vertex curvature and _k_ <sup>�</sup> is the perturbed conic constant. _A_ <sup>�</sup> 2 _j_ is the 2 _j_ <sup>_th_</sup> perturbed power aspherical coefficient where _N_ is the total order of aspheric. To determine the ray-surface intersection, we apply the Newton-Raphson iteration method to find a value _s_ such that the coordinates value ( _x, y, z_ ) from Eq. (1) satisfy the surface Eq. (2). In every iteration _i_, the distance parameter _s_ is updated by: _si_ +1 = _si −_ _F_ ( _xi, yi, zi_ ) _/F_ <sup>_′_</sup> ( _xi, yi, zi_ ) _,_ (3) where ( _xi, yi, zi_ ) = ( _x, y, z_ ) _|si_ and: _F_ <sup>_′_</sup> ( _Xi, Yi, Zi_ ) = ( _Fx_ ) _ik_ + ( _Fy_ ) _il_ + ( _Fz_ ) _im,_ (4) here ( _Fx_ ) _i_ denotes _∂F_ _/∂x_ evaluated at ( _xi, yi, zi_ ). Similar calculations are performed with respect to ( _Fy_ ) _i_ and ( _Fz_ ) _i_ . The iteration process is terminated with the value _si_ when _|si −_ _si−_ 1 _| < ϵ_ <sup>_′_</sup> _,_ (5) where _ϵ_ <sup>_′_</sup> is a small preassigned value that can be adjusted according to the required accuracy. After the intersection is determined, we follow the Snell’s law to carry out the direction vector after refraction: (6) _n_ - _′ ·_ D <sup>_′_</sup> _×_ r = _n_ - _·_ D _×_ r _,_ here _n_ - and _n_ - <sup>_′_</sup> are the perturbed refractive indices of the medium where the ray is incident and refracted, which is modeled by the material perturbation of d-light ( _i.e._, refractive index � _nd_ and abbe number � _vd_ ). For the detailed material perturbation model, please refer to the supplementary file . D <sup>_′_</sup> = ( _k_ <sup>_′_</sup> _, l_ <sup>_′_</sup> _, m_ <sup>_′_</sup> ) is the unit vectors denoting the direction of refracted ray. r = ( _K, L, M_ ) is a normal vector of the surface at the intersection. Indicating by Eq. (6), the coplanarity of vector D, D <sup>_′_</sup>, and r allows us to represent D <sup>_′_</sup> by the linear combination of D and r : D <sup>_′_</sup> = _µ_ D + Γ r _,_ (7) where _µ_ = _n/n_ <sup>_′_</sup> and Γ is an undetermined multiplier. Squaring and adding the component of Eq. (7), we obtain a quadratic in Γ, whose analytical solution is easy to solve: Γ <sup>2</sup> + 2 _a_ Γ + _b_ = 0 _,_ _a_ = _µ_ ( _kK_ + _lL_ + _mM_ ) _/_ ( _K_ <sup>2</sup> + _L_ <sup>2</sup> + _M_ <sup>2</sup> ) _,_ _b_ = ( _µ_ <sup>2</sup> _−_ 1) _/_ ( _K_ <sup>2</sup> + _L_ <sup>2</sup> + _M_ <sup>2</sup> ) _,_ (8) Surface-to-surface transfer Apart from the tracing procedure in a rotationally symmetric system, the tilts of optical elements are significant factors to be reckoned with when light propagates in a real camera. We model the incline of a surface in terms of Euler angles, where three successive rotations <sup>�</sup> _tzx_, <sup>�</sup> _tyz_, <sup>�</sup> _txy_ are to switch the ray data between the system of the optical axis and element:   _,_ (9) <u></u>  _<u>x</u>_ _<u>k</u>_ _<u>y</u>_ _l_ _<u>z</u>_ _<u>m</u>_   _x −_ _xξ_ _k_ _y −_ _yξ_ _l_ _z −_ _zξ_ _m_  <u></u> = _R_ here ( _xξ, yξ, zξ_ ) is the origin of the reference system. And the letters denoted by ( _·_ ) are the ray data of the transforming system. _R_ is expressed as follows: cos � _γ_ _−_ sin � _γ_ 0 sin � _γ_ cos � _γ_ 0 0 0 1   1 0 1 0 0 0 cos _β_ <sup>�</sup> _−_ sin _β_ <sup>�</sup> 0 sin _β_ <sup>�</sup> cos _β_ <sup>�</sup>     cos � _α_ 0 _−_ sin � _α_ 0 1 0 sin � _α_ 0 cos � _α_   _,_ (10) where _α_ - = <sup>�</sup> _tzx_, _β_ <sup>�</sup> = <sup>�</sup> _tyz_, _γ_ - = <sup>�</sup> _txy_ are the angles between the reference system and the transforming system. After system transformation, the propagation from one surface to the next surface is first addressed by tracing the ray following the perturbed thickness vector _d_ <sup>�</sup> (represented by the norm <sup>�</sup> _l_ and the direction cosine ( _d_ <sup>�</sup> _x,_ _d_ <sup>�</sup> _y,_ _d_ <sup>�</sup> _z_ )): _s_ = ( <sup>�</sup> _l_ _·_ _d_ <sup>�</sup> _z −_ _<u>z</u>_ ) _/m, x_ = _<u>x</u>_ + _ks_ _−_ <sup>�</sup> _l_ _·_ _d_ <sup>�</sup> _x, y_ = _<u>y</u>_ + _ls_ _−_ <sup>�</sup> _l_ _·_ _d_ <sup>�</sup> _y,_ (11) In this way, we model the perturbation of thickness and decenter in the meanwhile. For the detailed decenter illustration, please refer to the supplementary file . After the propagation between two surfaces, the ray data is transformed into the system of the latter surface by Eq. (9). And the aforementioned steps are repeated for succeeding surfaces in sequence until the sensor plane, where the ray data and the optical path length of each ray are recorded. In summary, the perturbed optical system as well as its impact on incident ray are modeled through surface-bysurface ray tracing. We consider the potential perturbation of all optical elements to construct an authentic model based on physical procedure (the specific configurations are listed in the supplementary file ). The recorded ray data is used to establish the link between perturbed coefficients and the SFR measurement, which will be illustrated in the following. _3.1.2_ _SFR Measurement via Imaging Simulation_ In the optical design process, the MTF of the imaging system is obtained by Fourier transforming the continuous wavefront on the exit pupil plane. However, in the geometric optical image evaluation, the SFR (equivalent to the system’s MTF) is generally obtained by the Fourier transform of the line spread function (LSF) captured by the sensor. As demonstrated in the Appendix A of the supplementary file, the discrete sampling of the sensor and the noise will make differences in SFR. Therefore, we adopt the imaging simulation technique to synthesize a realistic edge image to ensure the procedure of calculating SFR between simulation and measurement is similar. In imaging simulation, the diffraction effect caused by the optical aperture is another content to be considered in addition to the aberrations calculated by tracing. So we inverse the tracing ray (calculated in Section. 3.1.1) from the sensor plane to the exit pupil and consider each ray as a source of the Huygens wavelet. Denoting the coordinates of ray on pupil plane is ( _x_ <sup>_′_</sup> _, y_ <sup>_′_</sup> _, z_ <sup>_′_</sup> ) and on the sensor plane is ( _x_ <sup>_′′_</sup> _, y_ <sup>_′′_</sup> _, z_ <sup>_′′_</sup> ), the complex amplitude on the sensor is superpositioned by the complex amplitude of spherical wavelet: _<u>e</u>_ <sup>_ik_</sup> <sup>r</sup> <sup>_x′_</sup> <sup>_y′_</sup> r _x′y′_ <sup>K</sup> <sup>_,_</sup> <sup>(12)</sup> noise image, respectively. We refer readers to [28] for details on imaging simulation implementation. After simulating the degraded edge that resembles the actual observation, we measure the SFR as the procedure shown in Fig. 2b. First, we project all pixels along with the inclination to obtain the edge spread function (ESF). Second, a quarter of the pixel size _pi_ is as the new sampling interval, and all pixel values that fall within the same sampling interval are averaged to represent the values of the resampling interval _i_ . This operation is the key to alleviate the influence of noise . Third, we get LSF by the differentiation of ESF and calculate the discrete Fourier transformation of LSF. The normalized amplitude of the Fourier spectrum is the measured SFR. In this way, we construct a physicalbased procedure to bridge the gap between the perturbed system parameters and the SFR measurement. 3.2 Proxy Camera Construction In this section, we present an optimization framework to construct a proxy camera so that its imaging simulation is similar to the photograph of the target device. As illustrated in Section. 3.1, due to the highly nonlinear relationship between SFR and perturbed system parameters, it is impossible to predict the actual deviation of the camera analytically. So successive iterations are needed to approximate the solution. However, directly setting the SFR sequence as the target is unrealistic, where the computational overhead will increase exponentially when the sampling density grows. Therefore, SFR Area (SFRA), which is the area between the real measured SFR and the axis, is used as the target for optimization: _SFRA_ <sup>_∗_</sup> _fovi_ <sup>=</sup> <sup>_Area_</sup> <sup>(</sup> <sup>_SFR_</sup> <sup>)</sup> <sup>_,_</sup> (16) We use the damped least-squares method to obtain the system solution of proxy camera [52]. Let the perturbed parameters illustrated in Sec. 3.1.1 denoted by _p_ 1 _, p_ 2 _, · · ·_ _, pN_, where _N_ is the number of parameters. The simulated SFRA calculation can be represented by: _SFRAfovi_ = _Area_ [ _Ffovi_ ( _p_ 1 _, p_ 2 _, · · ·_ _, pN_ )] _,_ (17) here _Ffovi_ indicates the operation to calculate SFR by the method detailed in Sec. 3.1. The damped merit function _φ_ ( _⃗P_ ) in matrix-vector form is constructed as follows: _φ_ ( _⃗P_ ) = _⃗f_ <sup>_T⃗_</sup> _f_ + _ϵ_ ∆ _⃗P_ <sup>_T_</sup> ∆ _⃗P,_ (18) where _ϵ_ is the damped factor. ∆ _⃗P_ and _⃗f_ are as follows: _x_ <sup>_′_</sup> _<u>e</u>_ <sup>_ik_</sup> <sup>l</sup> <sup>_x′_</sup> <sup>_y′_</sup> l _x′y′_ E _x′′y′′_ ( l _x′y′,_ r _x′′y′′_ _,_ K ) = _y_ <sup>_′_</sup> _a_ 0 where _lx′y′_ is the optical path length from the source ( _x_ 0 _, y_ 0 _, z_ 0) to ( _x_ <sup>_′_</sup> _, y_ <sup>_′_</sup> _, z_ <sup>_′_</sup> ). _k_ = 2 _π/λ_ and _λ_ is the wavelength of the ray. _rx′′y′′_ = ( _x_ <sup>_′′_</sup> _−_ _x_ <sup>_′_</sup> _, y_ <sup>_′′_</sup> _−_ _y_ <sup>_′_</sup> _, z_ <sup>_′′_</sup> _−_ _z_ <sup>_′_</sup> ) indicates the direction of wavelet’s propagation. K is the obliquity factor of wavelet, which is defined as follows: K ( D _x′y′,_ r _x′′y′′_ _,_ n ) = <sup><u>1</u></sup> 2 <sup>[cos</sup> <sup>_⟨_</sup> <sup>n</sup> <sup>_,_</sup> <sup>r</sup> <sup>_x′′y′′⟩−_</sup> <sup>cos</sup> <sup>_⟨_</sup> <sup>n</sup> <sup>_,_</sup> <sup>D</sup> <sup>_x′y′⟩_</sup> <sup>]</sup> <sup>_,_</sup> (13) where n is the normal unit vector of the exit pupil plane and cos _⟨·, ·⟩_ is the operation of computing the cosine value of the two vectors. The relationships of n, Dx _′_ y _′_, and rx _′′_ y _′′_ are magnified in Fig. 2. The complex amplitude is multiplied with its conjugate to obtain the intensity on sensor plane: _Ix′′y′′_ = E _x′′y′′_ _·_ E <sup>_∗_</sup> _x_ <sup>_′′_</sup> _y_ <sup>_′′_</sup> <sup>_,_</sup> (14) _Pk_ +1 = ( _p_ <sup>_k_</sup> 1 <sup>+1</sup> <sup>_k_</sup> 1 <sup>+1</sup> _, · · ·_ _, p_ <sup>_k_</sup> _N_ <sup>+1</sup> <sup>_k_</sup> _N_ <sup>+1</sup> ) <sup>T</sup> _,⃗Pk_ = ( _p_ <sup>_k_</sup> 1 <sup>_k_</sup> 1 <sup>_, · · ·_</sup> <sup>_, pk_</sup> _N_ <sup>)T</sup> <sup>_,_</sup> ∆ _⃗Pk_ = _⃗Pk_ +1 _−⃗Pk,⃗_ _f_ = ( _f_ 1 _, f_ 2 _, · · ·_ _, fM_ ) <sup>T</sup> _,_ (19) In this way, we obtain the PSF _Ifovi_ ( _λ_ ) at different wavelengths of this FoV. The imaging simulation of edge is: _Pk_ +1 and _⃗Pk_ are the system parameters after _k_, _k_ + 1 iterations. ∆ _⃗Pk_ is the predicted linearity correction. _⃗f_ is the difference vector, where _fi_ = _SFRA_ <sup>_∗_</sup> _fovi_ <sup>_−_</sup> <sup>_SFRAfovi_</sup> <sup>and</sup> _M_ is the number of sampled FoVs. According to the extreme value theory of multivariate function, the minimum of the merit function is achieved where its gradient is zero: _grad φ_ ( _⃗P_ ) = _A_ <sup>T</sup> <sup>_⃗_</sup> _f_ + _ϵ_ ∆ _⃗P_ = 0 _,_ (20) _Je_ = _Ce_ ( _λ_ ) _· Ifovi_ ( _λ_ ) _dλ ∗_ _Le_ + _Ne._ (15) here _Ce_ ( _λ_ ) is the sensor wavelength response. _Je_, _Le_, and _Ne_ are the observed edge, the latent ideal edge, and the sythetic (a) (b) x - <mark>y</mark> Defective Pixel & Black Level Denoise White Balance <mark>FoV</mark> Sigmoid Sigmoid Softmax FC FC FC _αf1_ _αf2_ _αf3_ _αfn_ _αw1_ _αw2_ _αw3_ _αwn_ _αs1_ _αs2_ _αs3_ _αsn_ Sigmoid FC _αc1_ _αc2_ _αc3_ _αcn_ _W1_ _W2_ _W3_ _Wn_ GAP FC GELU + <mark>x</mark> <mark>y</mark> Conv Dynamic ResBlock Deconv <mark>x</mark> ~~+~~ <mark>y</mark> C 256 128 128 64 Illumination Correction Gamma Compression Color Correction Bayer Interpolation Degradation Correction 64 Conv (stride=2) Fig. 3. Overview of the dynamic postprocessing pipeline . (a) an optical degradation correction module is embedded into the ISP pipeline of mobile terminal. (b) we propose a dynamic postprocessing model based on dilated Omni-dimensional dynamic convolution, aiming at self-adaptively tackling the stochastic manufacturing deviation. All the layer configurations are marked with different colored blocks. <u>Algorithm</u> <u>1</u> <u>Proxy Camera Construction</u> Require: System parameters _⃗P_ 0, Measured _SFRAfovi_ <sup>_∗_</sup> 1: _k_ _←_ 0, and _⃗fk, Ak_ _←_ _Merit_ ( _⃗Pk, SFRA_ <sup>_∗_</sup> _fovi_ <sup>)</sup> 2: while _||A_ <sup>T</sup> _k⃗_ <sup>_fk_</sup> <sup>+</sup> <sup>_ϵ_</sup> <sup>∆</sup> <sup>_⃗Pk|| ≫_</sup> <sup>0</sup> <sup>do</sup> _⃗_ <sup>T</sup> _k_ <sup>_Ak_</sup> <sup>+</sup> <sup>_ϵI_</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup> <sup>_A_</sup> <sup>T</sup> _k⃗_ _⃗_ 3: ∆ _⃗Pk_ _←−_ ( _A_ <sup>T</sup> _k_ 3: ∆ _⃗Pk_ _←−_ ( _A_ <sup>T</sup> _k_ <sup>_Ak_</sup> <sup>+</sup> <sup>_ϵI_</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup> <sup>_A_</sup> <sup>T</sup> _k⃗_ <sup>_fk_</sup> 4: _Pk_ +1 _←⃗Pk_ + ∆ _⃗Pk_ 5: _k_ _←_ _k_ + 1, and _⃗fk, Ak_ _←_ _Merit_ ( _⃗Pk, SFRA_ <sup>_∗_</sup> 5: _k_ _←_ _k_ + 1, and _⃗fk, Ak_ _←_ _Merit_ ( _⃗Pk, SFRA_ <sup>_∗_</sup> _fovi_ <sup>)</sup> 6: end while 7: return _⃗Pk_ 8: Function: _Merit_ ( _⃗Pk, SFRA_ <sup>_∗_</sup> _fovi_ <sup>)</sup> 9: for i=1:M do 10: Edge imaging simulation with Eq. (1) - Eq. (15) 11: Measure SFRA from synthetic edge as Fig. 2b 12: _fi_ _←_ _SFRA_ <sup>_∗_</sup> _fovi_ <sup>_−_</sup> <sup>_SFRAfovi_</sup> 13: for j=1:N do 14: _Aij_ = ( _⃗f_ ( _· · ·_ _, p_ <sup>_k_</sup> _j_ <sup>+ ∆</sup> <sup>_pj, · · ·_</sup> <sup>)</sup> <sup>_−⃗fk_</sup> <sup>)</sup> <sup>_/_</sup> <sup>∆</sup> <sup>_pj_</sup> 15: end for 16: end for 17: return _⃗fk_, _Ak_ here _A_ _∈_ R <sup>_M_</sup> <sup>_×N_</sup> is the partial derivative matrix ( _Amn_ = _∂fm/∂pn_, where _m_ _∈_ [1 _, M_ ] and _n_ _∈_ [1 _, N_ ]), which can be calculated by divided differences in implementation. Unfortunately, the _⃗f_ is a non-linear function where the variable _⃗P_ cannot be solved directly. Hence, linear approximation is made by the Taylor series of _⃗f_ at _⃗Pk_ : _f_ ˆ = _⃗fk_ + _A_ ∆ _⃗Pk,_ (21) where the _⃗fk_ is the _⃗f_ of deviated parameters _⃗Pk_ . We note that the approximation only guarantee linear accuracy in a small range of _⃗Pk_, so damping is set on ∆ _⃗Pk_ to control the step. Replacing the _⃗f_ in Eq. (20) by Eq. (21), we derive the ∆ _⃗Pk_ after _k_ iteration: <sup>T</sup> _k_ <sup>_Ak_</sup> <sup>+</sup> <sup>_ϵI_</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup> <sup>_A_</sup> <sup>T</sup> _k⃗_ ∆ _⃗Pk_ = _−_ ( _A_ <sup>T</sup> _k_ <sup>T</sup> _k⃗_ <sup>_fk._</sup> (22) to the non-linearity of the solution ∆ _⃗P_, which is detailed in the supplementary file . In this way, the optimization is performed from Fig. 2a to Fig. 2c until the gradient of solution (Eq. (20)) is close to zero. Altogether, we illustrate the perturbed optical system model and the method to construct a proxy camera based on the measurement of SFR. There are three significant advantages between the proposed method and other endto-end optimizing approaches in Section 2.1. First, our optimization framework is insensitive to noise because of the resampling in SFR measurement. Second, our imaging simulation considers the diffraction effect caused by the optical aperture and therefore is more accurate than bare ray tracing. Third, we consider the potential perturbation of all elements which is more authentic in following the physical procedure (in-depth comparisons are presented in supplementary file ). Hence, we engage the proxy camera with the physical formation pipeline of raw images to perform authentic imaging simulation, generating the data pairs for deep-learning-based reconstruction. 4 DYNAMIC-PROCESSING ISP To eliminate the camera-wise manufacturing deviations and spatially varying optical aberrations, the ability of self-adaptive correction is necessary for the postprocessing pipeline. Moreover, the computational overhead of the mobile terminal puts a significant limit on the complexity of the model. To this end, we propose a lightweight framework based on dynamic convolution to meet the needs of adaptive processing and the constraints in application. In the following Section. 4.1, we first illustrate the data preparation for the training of the framework. Then in the Section. 4.2, the proposed postprocessing pipeline is detailed. 4.1 Data Preparation Based on the virtual camera constructed in Sec. 3, we construct the training data pairs by the imaging simulation in Sec. 3.1.2. Since the exposure parameters of real photography are discrete, the dynamic range of the captured raw image is not ideal. Therefore, we add luminosity compression/decompression in simulation which is different from the transformation in [28]. After obtaining the raw-like here _Ak_ is the _A_ of _⃗Pk_, _I_ is the identity matrix. And the predicted system parameters are _⃗Pk_ +1 = _⃗Pk_ + ∆ _⃗Pk_ after _k_ + 1 iteration. We also note that each system parameter contributes differently to the merit functions. Therefore, we dynamically adjust the damping factor _ϵ_ of each parameter according image, the formation of the sensor observation with optical degradation can be formulated as: _Je_ ( _x, y_ ) = _Ce_ ( _λ_ ) _· Ifovi_ ( _x, y, λ_ ) _dλ ∗_ _Le_ ( _x, y_ ) + _Ne,_ (23) here ( _x, y_ ) is the pixel coordinates on the sensor plane. And the rest denotions are the same as Eq. (15). We note that the performance of optical degradation on the raw image is linear and channel-irrelevant. So different from [28], we abandon the CCM and the gamma compression in the synthetic pipeline after adding the degradation into the image. Because these operations will introduce non-linearity and cross-channel information, thus increasing the difficulty of restoration. Because of the limited number of manufacturing samples, the proxy cameras could not cover the distribution of manufacturing deviation. So we regard the max bias of each system parameter as the tolerance and random sample them to generate more virtual optical systems for data generation. This augmentation allows the model to learn the potential degradation and prevents overfitting. In this way, we obtain the RAW-to-sRGB data pairs, which characterize the mapping of optical degradation and encode the accumulated errors of cascaded modules. The data pairs not only follow the physical procedure of image formation but also are friendly to the training of the deep-learning method. 4.2 Dynamic Postprocessing based on DOConv The stochastic manufacturing deviations and spatially varying optical aberrations cause different PSFs on the sensor plane. However, the traditional convolution operation strictly receives the feature by fixed weight and locations around its center, which is hard to adapt to the stochastic degradation and introduce relevant information into the output. To this end, we propose a dynamic convolution model for eliminating the optical degradation and embed it in the traditional ISP pipeline to realize extreme quality computational imaging. Inspired by the idea in [47], we design the dilated Omini-dimensional dynamic convolution (DOConv) and implement it into a variant of UNet architecture. As shown in Fig. 3, each DOConv has four weights, and their dilations vary from 1 to 4 in implementation, aiming at performing targeted feature acquisition. We reduce the stages of the architecture to mitigate the computational overhead. And the ResBlocks, whose internal components are the same as the Block in [49], are applied in each scale to enhance the expression ability. The model takes degraded raw-like data as input and outputs restored images in the same domain. Subsequently, the restorations are processed by the subsequent modules and supervised by the sRGB ground-truth. Since the generated data pairs are pixel-to-pixel aligned and cover all potential degrading distributions, it is sufficient to train the model only relying on fidelity losses: _L_ ( _θ_ ) = <sup><u>1</u></sup> _N_ _N_ _n_ =1 _||Process_ ( _Model_ ( _Je_ <sup>_n_</sup> _e_ <sup>_n_</sup> <sup>))</sup> <sup>_−_</sup> <sup>_Ln||_</sup> 2 <sup>2</sup> 2 <sup>2</sup> <sup>_._</sup> (24) 5 EXPERIMENTS We first roughly illustrate the experimental setting in Section. 5.1. In Section 5.2, comprehensive experiments are conducted to demonstrate the theoretical advantage of the proposed proxy camera construction. In Section 5.3, we evaluate the strength of the proposed dynamic model when tackling optical degradation. Finally, an in-depth ablation study is presented in Section 5.4. 5.1 Experimental setting To substantiate the authenticity of the proposed proxy camera construction, we evaluate two devices, one is a customized DSLR camera, and another one is Huawei Honor 20 Pro (Phone). The optical prescriptions of both cameras are known, and their system parameters are listed in the supplementary file . In edge measurement ( Fig. 2a), we rotate the targets at 9 _∼_ 12 <sup>_◦_</sup> angles and take photos of them. And the ideal edge is colored according to the dynamic range of the measured edge. For SFRA measurement ( Fig. 2b), the sampled FoVs are the regions that evenly divide the image into 15 _×_ 20. In training data construction, we first calculate the PSFs of the proxy camera following Eq. (14). Then the PSFs of different FoVs are used to degrade the latent image as Eq. (15). We acquire the latent image by adopting DIV2K [53] and rescaling these data to the resolution of the camera (DSLR is 4000 _×_ 6000 and Phone is 3000 _×_ 4000). In terms of the hyperparameters of training, the channel of each layer is marked at the block bottom, the model is trained with ADAM optimizer [54] ( _β_ 1 = 0 _._ 9, _β_ 2 = 0 _._ 999, _ϵ_ = 10 <sup>_−_</sup> <sup>8</sup> ), and the learning rate starts at 10 <sup>_−_</sup> <sup>4</sup> then halved every 10 epochs. The setting of dynamic convolution is the same as [47]. For more implementation details about the proposed framework, please refer to the supplementary file . 5.2 Authenticity of Proxy Camera Construction _5.2.1_ _Competing Methods_ To demonstrate the advantages of the proposed approach, we compare our method with these representative methods 1) The built-in tolerance analysis of optical design software, _i.e._, MTF tolerance of _CODEV_ <sup>®</sup> [8]. 2) Modify the optical parameters by the calibrated PSFs, _i.e._, _shih, et. al._ [11]. 3) Optimize the system by image-to-image rendering through differentiable ray tracing, _i.e._, _sun, et. al._ [12]. Since the tolerancing in commercial software only derives the deviation range, we choose the prediction’s median as the bias for each parameter. In the second method, we use pixel-level MSE between the simulated and measured PSFs to guide the optimization. Noting that there are alternative end-to-end system optimization besides the third method, we present an in-depth comparison in the supplementary file to illustrate the reason we pick this method. _5.2.2_ _Quantitative and Qualitative Assessment_ To illustrate the authenticity of the proposed optimization, we evaluate the proximity of the proxy camera (by the MSE between the simulated and the measured discrete SFR) and the similarity of imaging (by SSIM [55] between where _θ_ denotes the learned parameters in the model. _Je_ <sup>_n_</sup> are the degraded raw image and _L_ <sup>_n_</sup> are the corresponding sRGB ground-truths. _Process_ ( _·_ ) denotes the subsequent operations after optical degradation correction. Ideal Simulation _CODE V_ _Shih, et.al._ FoV 0.1 FoV 0.1 0.8994 FoV 0.5 0.8527 FoV 0.9 0.8146 _Sun, et. al._ Ours 0.8827 FoV 0.5 0.8406 FoV 0.9 0.8223 FoV 0.1 0.9294 FoV 0.5 0.8901 FoV 0.9 0.8656 Measurement FoV 0.1 0.9247 FoV 0.5 0.8566 FoV 0.9 0.8342 FoV 0.1 FoV 0.5 FoV 0.9 FoV 0.1 0.9255 FoV 0.5 0.8751 FoV 0.9 0.8478 Fig. 4. Qualitative evaluation on PSF and imaging simulation . We visualize the centrosymmetric PSFs (10 _×_ resampling for detailed comparisons) of the proxy cameras constructed from one machining sample of the Phone (the measured PSFs are shown in the sensor resolution). For the proxy camera, the resolutions of PSFs are 50, 50, 80, 80, and 120 of FoV 0.1, 0.3, 0.5, 0.7, and 0.9, respectively. And in measurement, the resolutions of PSFs are 5, 8, and 12 for FoV 0.1, 0.5, and 0.9. We present the imaging simulation results and their SSIM compared with actual measurements. TABLE 1 Quantitative proximity between real devices and proxy camera . Note that the value is the average of all machining samples. The best and the second-best indicators of each FoV are marked in red and blue. <u>MSE (</u> _<u>×</u>_ <u>10</u> <sup>_<u>−</u>_</sup> <sup><u>3</u></sup> <u>)</u> _<u>↓</u>_ <u>SSIM</u> _<u>↑</u>_ CAMERA Method <u>FoV 0.1/0.5/0.9</u> <u>FoV 0.1/0.5/0.9</u> DSLR Phone <u>Ideal</u> <u>0.576/0.804/1.023</u> <u>0.913/0.906/0.872</u> _<u>CODEV</u>_ <sup><u>®</u></sup> <u>0.521/0.764/1.242</u> <u>0.899/0.874/0.833</u> _<u>shih, et. al.</u>_ <u>0.374/0.714/0.958</u> <u>0.951/0.932/0.917</u> _<u>sun, et. al.</u>_ <u>0.407/0.708/0.924</u> <u>0.942/0.929/0.920</u> <u>Ours</u> <u>0.382/0.698/0.877</u> <u>0.946/0.938/0.922</u> <u>Ideal</u> <u>0.814/1.621/1.768</u> <u>0.896/0.854/0.806</u> _<u>CODEV</u>_ <sup><u>®</u></sup> <u>0.852/1.746/1.496</u> <u>0.878/0.842/0.822</u> _<u>shih, et. al.</u>_ <u>0.643/1.386/1.325</u> <u>0.913/0.858/0.832</u> _<u>sun, et. al.</u>_ <u>0.628/1.303/1.157</u> <u>0.915/0.872/0.847</u> <u>Ours</u> <u>0.547/1.251/0.952</u> <u>0.927/0.887/0.859</u> images). The indexes of all machining samples are averaged for comparison, and the ideal simulations are provided for reference. As shown in Tab. 1, the competing methods generally perform better on the DSLR than on the Phone. These phenomena attribute to 1) the aberration of DSLR increases uniformly with the growth of FoV, yet the degradation of Phone changes significantly, which increases the difficulty in prediction; 2) the relative illumination of PHONE decreases a lot in marginal FoV, resulting in a declining Signal-toNoise ratio (SNR). So for the optimizing method that relies on pixel-level indicators ( _shih,_ _et._ _al._ and _sun,_ _et._ _al._ ), it is challenging to extract undisturbed information from actual noisy measurements. In terms of evaluation metrics, our method constructs the proxy systems that are the closest to the machined devices, especially in difficult situations such as low SNR and highly non-uniformed degradation. The visualization of PSF calculation and the imaging simulation of all competing methods are shown in Fig. 4. Limited by the space, we only present the resampling PSFs and imaging simulation of some FoVs. Moreover, the ideal simulation and the actual measurement are provided for reference, and the SSIM of each simulated patch is listed for additional quantitive evaluation. As shown by the PSFs of the same FoV, all methods roughly predict the eccentricity of the device. We note that the degradation caused by the predicted deviations of _CODEV_ <sup>®</sup> is more severe than the actual measurement, which is because it calculates the influence of each system variable separately without considering the combined impact of the entire lens. _shih,_ _et._ _al._ and _sun,_ _et. al._ have poor accuracy when the FoV increases due to the pixel-level metric disturbance introduced by the magnified noise level in edge FoV. _sun,_ _et._ _al._ obtains more accurate simulation results than _CODEV_ <sup>®</sup> and _shih, et. al._ . But since the ray tracing does not consider the diffraction of optical aperture, its predicted perturbation is often larger than our estimation, resulting in more significant degradation. By contrast, our method produces accurate results not only on visual similarity but also from quantitative assessment. More discussions are presented in the supplementary file . _5.2.3_ _Noise Injection Influence_ The crucial merit of our approach compared to optimizing with pixel-level evaluation is that the measuring procedure of SFRA is insensitive to the noise of actual photographs. We analyze the statistical results when using pixel-level MSE and SFRA as optimization objectives under different Photographs taken by devices Degraded Self-Deblur KPN FDN Ours SMD2↑: 0.3425 5.372 2.057 3.224 6.602 Brisque↓: 45.12 34.87 41.43 39.00 30.39 SMD2↑: 1.6146 25.83 8.597 19.76 38.20 Brisque↓:44.23 41.65 44.54 41.54 37.47 Fig. 5. Non-uniform deblurring on real photographs of Phone . We mark the corresponding regions with white boxes and present the indicators. <u>Single Frame</u> 0.03 0.5 0.4 0.02 0.3 0.2 0.01 0.1 0.5 0.4 0.3 0.2 0.1 <u>MSE</u> <u>SFRA</u> Measured <u>Noise Std</u> <u>Multiple Frames</u> 0.03 <u>MSE</u> ~~SFRA~~ Measured <u>Noise Std</u> 0.02 0.01 1 <u>0</u> <u>0.2</u> <u>0.4</u> <u>0.6</u> <u>0.8</u> <u>1</u> MSE SFRA Noise Std 0.03 0.02 0.95 <u>0</u> <u>0.2</u> <u>0.4</u> <u>0.6</u> <u>0.8</u> <u>1</u> 1 MSE SFRA Noise Std 0.93 0.91 <u>0.9</u> 0.94 0.93 0.94 0.92 0.91 0.88 0.87 ~~0.89~~ 0.86 0.85 0.87 0.9 0.8 0.83 0 <mark>.81</mark> 0 0.2 0.4 0.6 0.8 1 Normalized FoV 0.91 0.9 ~~0.89~~ 0.88 0 0.2 0.4 0.6 0.8 1 Normalized FoV 0.89 0.03 0.02 0.01 0.85 0.84 0.9 0.01 0.8 Fig. 6. Performance under different noise level . The left/right part shows the accuracy of proxy camera construction under single/multiple frames. The upper/lower part presents the MTF/SSIM evaluation. The noise level is plotted in the purple line. noise situations. The left part and the right part of Fig. 6 show the different FoVs’ accuracy on the single-frame image and the multi-frames image (superposed for denoising), respectively. The evaluation in the upper part of Fig. 6 is the SFR at 0.5 Nyquist frequency, and the lower part is the SSIM between the simulation and the actual photograph. We note that the variance of noise (indicated by the purple line) grows as the FoV increases because of the decreasing illumination by lens shading. Thus the optimization targeted with MSE is prone to severe fluctuations due to this metric being easily affected by accidental errors when the noise level increases. On the contrary, the proposed method maintains similar-to-real SFR fluctuation and higher SSIM evaluation under different noise levels. This mainly benefits from the resampling ESF operation (projecting all pixels along with the inclination and averaging the values), which makes the SFRA insensitive to the noise and provides stable guidance for our optimization. 5.3 Evaluation on Dynamic Postprocessing _5.3.1_ _Competing Methods_ The performance of optical degradation on the image can be integrated as the influences of spatially varying blur on different FoVs. Therefore, correcting the optical degradation can be summarized as a deblurring task. we collect the stateof-the-art deblurring algorithms for comparisons 1) Global deblurring method, _i.e._, scale recurrent network (SRN) [56] and Self-Deblur (SD) [57]. 2) Kernel-based deblurring method, _i.e._, kernel prediction network (KPN) [58]. 3) Dynamical-adjusted deblurring method, _i.e._, FoV deformable network (FDN) [28]. For these algorithms, we apply the same RAW-to-sRGB data for evaluation. The details of training and inference procedure are presented in the supplementary file . _5.3.2_ _Results on non-uniform deblurring_ To evaluate the ability of various methods to handle nonuniform optical degradation, we train all the compared methods on the data generated by one proxy camera. Fig. 5 TABLE 2 Quantitative results on sythetic data and real photographs . C denotes the evaluated platform. T is the training datasets, where single sample means the data pairs are synthetic by one proxy camera and multiple samples means altogether evaluation on multiple virtual cameras. The best and the second-best indicators of each evaluation are marked in red and blue. We indicate the better metrics with up/down arrows. <u>Evaluation on Synthetic Data</u> <u>Real Photographs</u> <u>Evaluation on Synthetic Data</u> <u>Real Photographs</u> C T Method T <u>PSNR</u> _<u>↑</u>_ <u>SSIM</u> _<u>↑</u>_ <u>VIF</u> _<u>↑</u>_ <u>LPIPS</u> _<u>↓</u>_ <u>BRISQUE</u> _<u>↓</u>_ <u>NIQE</u> _<u>↓</u>_ <u>PSNR</u> _<u>↑</u>_ <u>SSIM</u> _<u>↑</u>_ <u>VIF</u> _<u>↑</u>_ <u>LPIPS</u> _<u>↓</u>_ <u>BRISQUE</u> _<u>↓</u>_ <u>NIQE</u> _<u>↓</u>_ SNR 42.19 0.984 0.988 1.383 39.80 3.846 40.84 0.973 0.967 1.839 42.82 4.153 SD 42.58 0.988 0.989 1.178 38.51 3.258 40.97 0.976 0.970 1.678 40.88 3.868 KPN 41.86 0.987 0.982 1.186 43.28 3.729 40.57 0.977 0.966 1.523 45.86 4.257 FDN 43.12 0.992 0.996 0.757 40.57 2.924 41.94 0.985 0.987 1.212 42.89 3.505 <u>Ours</u> <u>43.03</u> <u>0.991</u> <u>0.993</u> <u>0.924</u> <u>36.56</u> <u>3.213</u> <u>42.12</u> <u>0.986</u> <u>0.990</u> <u>1.241</u> <u>38.88</u> <u>3.431</u> SNR 33.26 0.957 0.943 2.264 43.27 4.674 30.17 0.928 0.907 3.248 47.91 5.347 SD 34.03 0.959 0.946 1.966 41.77 4.185 30.33 0.930 0.913 3.017 45.86 4.928 KPN 32.96 0.963 0.939 1.525 44.66 4.527 29.96 0.938 0.901 2.476 48.57 5.267 FDN 34.56 0.974 0.968 0.984 42.71 3.644 31.86 0.942 0.922 1.897 46.59 4.056 <u>Ours</u> <u>34.28</u> <u>0.976</u> <u>0.964</u> <u>1.084</u> <u>39.88</u> <u>3.713</u> <u>32.28</u> <u>0.950</u> <u>0.938</u> <u>1.584</u> <u>43.68</u> <u>4.131</u> Photographs taken by devices Camera 1 Camera 2 Camera 3 Camera 4 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 0 0.2 0.4 0.6 0.8 1 <u>Normalized FoV</u> <u>MTF Enhancement</u> Measured ~~Self-Deblur~~ KPN ~~FDN~~ Ours #### (a) (b) <u>Measured</u> <u>SNR</u> <u>Self-Deblur</u> <u>KPN</u> <u>FDN</u> <u>Ours</u> Fig. 7. Adaptation for manufacturing deviation . (a) we show the magnified patch to illustrate the image quality mutation of Phone. The actual checkers’ restoration of different machining samples are present for comparison. And we evaluate the average SFR (MTF) enhancements on the machining samples of test set. (b) the natural photograph restoration when applied on different machining samples of Phone. shows the various methods’ restoration in different FoVs of real photographs and presents the BRISQUE [59] and SMD2 [60] for evaluation. The quantitative evaluation of non-uniform deblurring is provided in Tab. 2, where the single sample of T is the assessment on one proxy camera. We apply the reference image quality assessments (IQA), _e.g._, PSNR, SSIM [55], VIF [61], and LPIPS [62] to evaluate synthetic data. And the non-reference IQAs, _e.g._, BRISQUE [59], NIQE [63] are assessing real photograph because obtaining non-degraded reference of real photo is impossible. For the globally consistent deblurring method, it can be seen that the deterioration is suppressed. However, since the optical aberration is spatially variant, the restoration is a compromise of each FoV: in the center FoV with less blurring, ringing, and color artifacts shows up on the bor der of objects, while in the case of severe degradation at the edge of the image, the optical aberration is not fully corrected. When it comes to the kernel-based method, KPN can cope with the non-uniform degradation, benefiting from the ability to predict the spatially varying kernel according to the input features. However, since the blurring is associated with the FoV and these models are not aided by FoV information, such methods are confused by the input features and generate incorrect restoration results. For the approach that adjusts processing according to the FoV, FDN can better tackle the FoV-related optical aberration and obtain competitive results when correcting a specific camera (shown in Tab. 2). Our model realizes competitive results in both visual quality and metrics. We note that we outperform the FDN in BRISQUE, which may be because this metric 0.89 0.88 0.87 0.86 0.85 0.84 <u>Prediction Accuracy</u> +Dynamic Damping Baseline <u>0.8607</u> ~~0.8384~~ ~~+Dilated Weights~~ <u>+Dynamic Convolution</u> +Dynamic Damping ~~+MTFA Metric~~ +Imaging Simulation <u>Baseline</u> 31.12 ~~30.74~~ 30.13 27.47 <u>Restoration Performance</u> +Encoded FoV Information +MTFA Metric ~~+Imaging Simulation~~ ~~34.84~~ <u>0.8802</u> 36 35 34 33 32 31 30 29 28 0.8745 33.2 Color Fringe Real photo taken by camera Raw to Raw ~~32.69~~ 0.83Ablation on Proxy Camera Construction 27 Ablation on the whole Pipeline Raw to sRGB Fig. 8. Ablation study on the proxy camera construction (accuracy evaluation on the SSIM between the simulated images and the natural photographs). And Ablation study on the whole pipeline (restoration assesment on the test synthetic data sets). pays more attention to the details of the image. The dynamic convolution model generally suffers from overfitting when the data distribution is relatively singular. But our method fits the degradation of the actual measurement well when only depending on the synthetic data of one proxy camera, which may be due to the dilation manner so that different weights have different specializations for adaptive processing. _5.3.3_ _Adaptation for Manufacturing Deviation_ In mass production, there is no time to specifically train each post-processing model for a particular camera. To this end, the restoration must be able to cope with the stochastic deviation introduced in manufacturing and assembly. To evaluate the ability to tackle this task, we simultaneously train the competing methods with the data generated by various virtual cameras. Fig. 7a and Fig. 7b show the results of different models dealing with the camera-wised degradation on the same scene. The measurement deteriorates more unpredictably due to random manufacturing deviation when the FoV increases, which enlarges the difficulty of restoration. Comparing the experimental results, we note that the static model (weights are fixed after completing training) cannot fit well in the diverse deviation of real manufacturing. In consequence, the static model fails to tackle the different machining degradations between real cameras, especially when FoV increases. Benefiting from the dynamic convolution, our model adaptively restores the degraded features and achieves better restoration results on each camera. The SFR enhancement (shown in the right part of Fig. 7a) demonstrates that the proposed method realizes better and more stable restoration. Other methods suffer from significant fluctuation when FoV increases. Additional quantitative evaluation of deviation adaptation presents in Tab. 2. Other competing methods receive unfavorable results when the data distribution becomes complicated, while the proposed method maintains a high level. 5.4 Ablation Study We first evaluate the prediction accuracy when ablating the crucial modules of virtual camera prediction. Then comprehensive ablation studies are conducted on our proposed Fig. 9. Ablation on the dynamic processing ISP . We evaluate the performance when placing the optical degradation correction model at different positions of ISP pipeline. method. Specifically, for the proxy camera construction: 1) we ablate the imaging simulation and calculate MTF by the continuous wavefront at the pupil plane. 2) we replace the MTFA with the MTF at 0.5 Nyquist frequency. 3) we substitute the dynamic damping strategy with a fixed damping factor. For the dynamic restoration: 1) the dynamic convolution layers are replaced by the ordinary convolution. 2) the dilation of each weight is the same; 3) encoded FoV information is ablated and only inputting image feature. As shown in Fig. 8, the accuracy of prediction is significantly affected after ablating the imaging simulation module, which is mainly due to the inherent difference between the MTF calculation. One way is to compute by the continuous wavefront at the pupil plane, and another way is to obtain the SFR of the edge image (as demonstrated in the supplementary file ). Moreover, using SFRA for optimization alleviates the influence of the measured SFR’s singular value in some spatial frequencies. And the dynamic damping ensures that the solution of perturbed parameters is linear within the damping range. Both of these modules facilitate the proposed framework more stable and efficient. For the evaluation of image restoration, the improvements in prediction accuracy are positively relevant. In the ablation of the reconstruction model, dynamic convolution performs a better fitting than traditional convolution when the distribution of data is more diverse. Meanwhile, the different dilations of weights also facilitate the correction of spatiallyvariant degradation. Finally, the encoded FoV information has a positive gain on restoration since the degradation is strongly associated with the pixel position on the sensor. In the proposed dynamic-processing ISP, we deploy the aberration recovery module between the Bayer interpolation and luminance correction. Its output is manipulated by the subsequent modules and compared with sRGB groundtruth in training. To prove the rationality of this deployment, we conducted the following ablation experiments: 1) Unresolved Noise sRGB to sRGB ##### 1 2 ##### 3 1 3 2 Measured Ours Built-in ISP Image captured by mobilephone Measured Ours Built-in ISP Fig. 10. Comparisons with built-in ISP . Note that the built-in ISP smooths out the cords, yet our method restores it (marked with the red arrow). Construct raw-to-raw data without considering subsequent operations for training; 2) Deploy the module at the end of the pipeline to construct sRGB-to-sRGB pairs for training. As shown in Fig. 9, the output of the model appears with colored stripes in raw domain reconstruction, which is because the network prediction does not take into account the subsequent operations, resulting in slight errors in the RAW domain are amplified in the subsequent processing. Restoration in sRGB also faces challenges, where the color noise is difficult to eliminate. This situation is because the color correction overlaps the information of each channel, which increases the difficulty of restoration. On the contrary, our method processes the input data in the RAW domain and supervises the output in sRGB, aiming at correcting the prediction error accumulated by the cascade pipeline. 6 ANALYSIS 6.1 Comparisons with Built-in ISP To demonstrate the significance of deploying the optical degradation correction, we compare our results with the built-in ISP. As shown in Fig. 10, the same JPEG compression algorithm is applied for the sake of a fair comparison. Due to the additional sharpening, the built-in ISP realizes similar results to ours in the center ( Fig. 10-1). Yet this globally consistent operation fails to infer realistic features under severe degradation. Therefore, the advantage of our model is evident when it comes to the edge of photographs. The proposed pipeline adaptively restore the high-frequency details of leaves ( Fig. 10-2) and cords (marked with the red arrow in Fig. 10-3) at the edge of FoV, which are smoothed out by the built-in ISP. Therefore, our dynamic model is well compatible with the existing ISP system and has the potential to correct the prediction error accumulated by the cascade pipeline. Moreover, our method endows postprocessing with the ability to perform adaptive restoration according to the spatial information and the image feature. 6.2 Comparisons with deeplearning-based ISP We note that many advanced postprocessing methods attempt to replace the entire ISP system with a deep learning model, called deep ISP. These methods rely on one complex architecture to perform super-resolution (equivalent to demosaic), brightness and color adjustment (equivalent to Photograph taken by camera PyNet Our Pipeline Fig. 11. Comparisons with the deep-learning ISP . (a) the failure case of the deep-learning ISP in white balance prediction. (b) evaluation on the ability of detail preservation. white balance and color correction), denoising, reconstruction, _etc._ on the captured Bayer image, output the pixel-bypixel prediction. Due to the need to solve the altogether problems, such deep learning models are engaged with enormous parameters and are rough to implement into mobile terminals. Based on the proposed image formation simulation, we can also synthesize the data pairs from the degraded Bayer raw image to the ideal sRGB ground truth. Therefore, we train the advanced deep ISP model with the synthetic Bayer-to-sRGB data and evaluate the model on real-captured images. The comparisons of the deep ISP model and the proposed method are shown in Fig. 11. One can see in Fig. 11a, the PyNet cannot always predict the correct white balance gain when the scene is complicated, resulting in a bluish color of the white bear (magnified in the upper-left corner). Therefore, it is difficult for deep learning models to predict per-channel gain only from input features, let alone some metameric scenes. In view of this, we use the auxiliary white balance from the traditional ISP system to obtain the correct imaging result. We compare the ability of detail resilience in Fig. 11b when the deep ISP model predicts accurate gain and color correction. As shown, the deep ISP cannot reconstruct detailed textures. This situation Incorrect WB Prediction (a) (b) Correct WB Prediction PyNet Our Pipeline Detail Unpreserved Detail Preserved <mark>person 0.56</mark> <mark>person 0.39person 0.44</mark> <mark>person 0.50</mark> Real-shot Image <mark>person 0.30</mark> <mark>chair 0.29</mark> Detection with Raw Degradation <mark>person 0.58</mark> <mark>person 0.64person 0.68</mark> <mark>person 0.53</mark> <mark>person 0.72person 0.83</mark> 6.3 Application to Downstream Vision Tasks The advantages of the proposed method, when applied to photographic postprocessing, have been illustrated before. We show that our pipeline could also be helpful for downstream computer vision applications, _e.g._, object detection, and optical character recognition (OCR). For the evaluation of these tasks, we follow the same pipeline as Fig. 3 to process the captured photographs and conduct off-theshelf vision algorithms on the processed sRGB images. For comparison, we also show the results on the built-in ISP. State-of-the-art methods are applied to the daily photos for evaluation, including YOLOv5 [64] for object detection and PaddleOCR [65] for OCR. In Fig. 12 and Fig. 13, we show the comparisons of visual and numerical results. As shown in Fig. 12, the detection with our pipeline accurately locates all people and gives higher confidence. But the detection with built-in ISP predicts the wrong location to some extent. When applied to OCR, PaddleOCR precisely determine the text regions and recognize text on our result, yet various errors occur in the built-in ISP. In conclusion, our algorithm can directly improve the performance of downstream vision applications, eliminating the need to fine-tune the algorithm for a specific camera. 7 CONCLUSION We presented a perturbed camera model based on the image formation process. And an optimization framework was present to construct a virtual proxy camera from actually measured indicators, whose imaging results are close to the actual manufactured samples. With the proxy cameras from multiple machining samples, we synthesized the data pairs with complex degenerate distributions, aiming at encoding the optical aberrations and the random bias introduced during processing. Drawing from the dynamic convolution, we applied a dynamic model to self-adaptively cope with manufactured cameras, where multiple samples of two typical devices are evaluated to illustrate the benefits of the proposed pipeline. By training only with synthetic data, we demonstrated that our method successfully handles the system of complex machining deviations, achieving perfect restoration that outperforms the high-end DSLR camera. Our work bridges the gap between optical design, system manufacturing, and postprocessing pipeline. It is convenient to deploy the proposed model in the mass production of arbitrary imaging devices. This work has been applied to some mobile terminals to realize significantly improved imaging. Nevertheless, some challenges remain unsolved to deploy our technique in production. First, for the specific system parameters and manufacturing methods (grinding for DSLR lenses and injection molding for cellphones), the introduced biases are complicated, rendering manual adjustment of damping factors in optimization. Not only that, many existing mobile terminals do not equip with the optimization for operations other than convolution, _e.g._, attention, which leads to low efficiency in mobile cameras. In conclusion, it is imperative to deploy an optical degradation correction module to the ISP system. As a bridge connecting the hardware system and the algorithm, it is of great help to improve the imaging quality and facilitate the downstream computer vision applications. <mark>person 0.39person 0.69</mark> <mark>person 0.65</mark> <mark>person 0.52</mark> <mark>skis 0.39</mark> <mark>skis 0.31</mark> <mark>skis 0.27</mark> <mark>person 0.87person 0.71</mark> <mark>person 0.47</mark> <mark>person 0.41person 0.75</mark> Detection with HUAWEI ISP Detection with Our Pipeline Fig. 12. Object detection with different post-processing . The proposed method frees the SOTA detecting algorithms from fine-tuning for a specific camera in the implementation. <u>Position</u> Num Recongnition <u>Left</u> <u>Up</u> <u>WidthHeight</u> Y WI ARI 1 68 39 539 56 <u>HIRE TO N</u> 2 PROTECT 63 102 537 117 3 Σ 150 278 298 290 OCR with HUAWEI ISP OCR with Our Pipeline 4 VARFN 0 588 574 246 <u>Position</u> Num Recongnition <u>Left</u> <u>Up</u> <u>WidthHeight</u> X WE ARE 1 71 31 549 58 <u>HERE TO</u> 2 PROTECT 71 98 539 113 3 WATER 87 603 445 124 4 IS LIFE 159 723 247 54 Fig. 13. OCR with different post-processing . We help the advanced OCR framework for more accurate recognition and character position. is mainly due to the deep ISP model integrating multiple objectives into one model and using the same loss function to guide the restoration. The brightness and color gap between input and ground truth has a crucial influence on the fidelity loss, which will lead the model to eliminate this mismatch in the first place while ignoring the details of the image. In contrast, we separate each task and implement a dynamic model which corrects the postprocessing errors accumulated by the cascaded pipeline. Therefore, our method can accurately restore the color and brightness as well as the detailed information of the scene. ACKNOWLEDGMENTS We thank Meijuan Bian from the facility platform of optical engineering of Zhejiang University for instrument support. We also thank Huawei for their support. REFERENCES [1] T. Lin and C. Cheng, “A novel opto-mechanical tolerance analysis method for precision lens systems,” _Precision Engineering_, vol. 35, no. 3, pp. 447–454, Jul. 2011. [Online]. Available: [https://linkinghub.elsevier.com/retrieve/pii/S0141635911000304](https://linkinghub.elsevier.com/retrieve/pii/S0141635911000304) [2] C.-C. Hsueh, P. D. Lin, and J. Sasian, “Worst-case-based methodology for tolerance analysis and tolerance allocation of optical systems,” _Appl._ _Opt._, vol. 49, no. 31, pp. 6179–6188, Nov 2010. [Online]. Available: [http://www.osapublishing.org/](http://www.osapublishing.org/ao/abstract.cfm?URI=ao-49-31-6179) [ao/abstract.cfm?URI=ao-49-31-6179](http://www.osapublishing.org/ao/abstract.cfm?URI=ao-49-31-6179) [3] X. Hu and H. Hua, “Design and tolerance of a free-form optical system for an optical see-through multi-focal-plane display,” _Appl._ _Opt._, vol. 54, no. 33, pp. 9990–9999, Nov 2015. [Online]. Available: [http://www.osapublishing.org/ao/abstract.cfm?URI=](http://www.osapublishing.org/ao/abstract.cfm?URI=ao-54-33-9990) [ao-54-33-9990](http://www.osapublishing.org/ao/abstract.cfm?URI=ao-54-33-9990) [4] Q. Wang, D. Cheng, Y. Wang, H. Hua, and G. Jin, “Design, tolerance, and fabrication of an optical see-through head-mounted display with free-form surface elements,” _Appl._ _Opt._, vol. 52, no. 7, pp. C88–C99, Mar 2013. [Online]. Available: [http:](http://www.osapublishing.org/ao/abstract.cfm?URI=ao-52-7-C88) [//www.osapublishing.org/ao/abstract.cfm?URI=ao-52-7-C88](http://www.osapublishing.org/ao/abstract.cfm?URI=ao-52-7-C88) [5] S. Jung, D.-H. Choi, B.-L. Choi, and J. H. Kim, “Tolerance optimization of a mobile phone camera lens system,” _Appl._ _Opt._, [vol. 50, no. 23, pp. 4688–4700, Aug 2011. [Online]. Available: http:](http://www.osapublishing.org/ao/abstract.cfm?URI=ao-50-23-4688) [//www.osapublishing.org/ao/abstract.cfm?URI=ao-50-23-4688](http://www.osapublishing.org/ao/abstract.cfm?URI=ao-50-23-4688) [6] D. Malacara, Ed., _Optical_ _shop_ _testing_, 3rd ed., ser. Wiley series in pure and applied optics. Hoboken, N.J: Wiley-Interscience, 2007, oCLC: ocm74916130. [7] M. Rimmer, “Analysis of Perturbed Lens Systems,” _Applied_ _Optics_, vol. 9, no. 3, p. 533, Mar. 1970. [Online]. Available: [https://opg.optica.org/abstract.cfm?URI=ao-9-3-533](https://opg.optica.org/abstract.cfm?URI=ao-9-3-533) [8] M. P. Rimmer, “A Tolerancing Procedure Based On Modulation Transfer Function (MTF),” in _SPIE_, R. E. Fischer, Ed., San Diego, Dec. 1978, pp. 66–70. [Online]. Available: [http://proceedings.](http://proceedings.spiedigitallibrary.org/proceeding.aspx?articleid=1227437) [spiedigitallibrary.org/proceeding.aspx?articleid=1227437](http://proceedings.spiedigitallibrary.org/proceeding.aspx?articleid=1227437) [9] J.-H. Sun, “Tolerance reallocation of an optical zoom lens to meet multiperformance criteria,” _Appl._ _Opt._, vol. 53, no. 29, pp. H233–H238, Oct 2014. [Online]. Available: [http:](http://www.osapublishing.org/ao/abstract.cfm?URI=ao-53-29-H233) [//www.osapublishing.org/ao/abstract.cfm?URI=ao-53-29-H233](http://www.osapublishing.org/ao/abstract.cfm?URI=ao-53-29-H233) [10] E. A. Derby, C. G. Gordon, D. Vukobratovich, P. R. Yoder, and C. Zweben, “Optomechanical engineering and vibration control,” _Optomechanical Engineering and Vibration Control_, vol. 3786, 1999. [11] Y. Shih, B. Guenter, and N. Joshi, “Image Enhancement Using Calibrated Lens Simulations,” in _Computer_ _Vision_ _–_ _ECCV_ _2012_, D. Hutchison, T. Kanade, J. Kittler, J. M. Kleinberg, F. Mattern, J. C. Mitchell, M. Naor, O. Nierstrasz, C. Pandu Rangan, B. Steffen, M. Sudan, D. Terzopoulos, D. Tygar, M. Y. Vardi, G. Weikum, A. Fitzgibbon, S. Lazebnik, P. Perona, Y. Sato, and C. Schmid, Eds. Berlin, Heidelberg: Springer Berlin Heidelberg, 2012, vol. 7575, pp. 42–56, series Title: Lecture Notes in Computer Science. [Online]. [Available: http://link.springer.com/10.1007/978-3-642-33765-9_4](http://link.springer.com/10.1007/978-3-642-33765-9_4) [12] Q. Sun, C. Wang, Q. Fu, X. Dun, and W. Heidrich, “End to-end complex lens design with differentiate ray tracing,” _ACM_ _Transactions_ _on_ _Graphics_, vol. 40, no. 4, pp. 1–13, Aug. 2021. [Online]. Available: [https://dl.acm.org/doi/10.1145/](https://dl.acm.org/doi/10.1145/3450626.3459674) [3450626.3459674](https://dl.acm.org/doi/10.1145/3450626.3459674) [13] E. Tseng, A. Mosleh, F. Mannan, K. St-Arnaud, A. Sharma, Y. Peng, A. Braun, D. Nowrouzezahrai, J.-F. Lalonde, and F. Heide, “Differentiable compound optics and processing pipeline optimization for end-to-end camera design,” _ACM_ _Transactions_ _on_ _Graphics_ _(TOG)_, vol. 40, no. 2, 2021. [14] A. Mosleh, P. Green, E. Onzon, I. Begin, and J. P. Langlois, “Camera intrinsic blur kernel estimation: A reliable framework,” in _2015_ _IEEE Conference on Computer Vision and Pattern Recognition (CVPR)_ . Boston, MA, USA: IEEE, Jun. 2015, pp. 4961–4968. [Online]. [Available: http://ieeexplore.ieee.org/document/7299130/](http://ieeexplore.ieee.org/document/7299130/) [15] Z. Li, Q. Hou, Z. Wang, F. Tan, J. Liu, and W. Zhang, “End-to-end learned single lens design using fast differentiable ray tracing,” _Optics_ _Letters_, vol. 46, no. 21, p. 5453, Nov. 2021. [Online]. Available: [https://www.osapublishing.org/abstract.cfm?URI=ol-46-21-5453](https://www.osapublishing.org/abstract.cfm?URI=ol-46-21-5453) [16] J. Nishimura, T. Gerasimow, R. Sushma, A. Sutic, C.T. Wu, and G. Michael, “Automatic ISP Image Quality Tuning Using Nonlinear Optimization,” in _2018_ _25th_ _IEEE_ _International_ _Conference_ _on_ _Image_ _Processing_ _(ICIP)_ . Athens: IEEE, Oct. 2018, pp. 2471–2475. [Online]. Available: [https:](https://ieeexplore.ieee.org/document/8451818/) [//ieeexplore.ieee.org/document/8451818/](https://ieeexplore.ieee.org/document/8451818/) [17] F. Heide, M. Steinberger, Y.-T. Tsai, M. Rouf, D. Paj ˛ak, D. Reddy, O. Gallo, J. Liu, W. Heidrich, K. Egiazarian, J. Kautz, and K. Pulli, “FlexISP: a flexible camera image processing framework,” _ACM_ _Transactions_ _on_ _Graphics_, vol. 33, no. 6, pp. 1–13, Nov. 2014. [Online]. Available: [https:](https://dl.acm.org/doi/10.1145/2661229.2661260) [//dl.acm.org/doi/10.1145/2661229.2661260](https://dl.acm.org/doi/10.1145/2661229.2661260) [18] A. Ignatov, L. Van Gool, and R. Timofte, “Replacing Mobile Camera ISP with a Single Deep Learning Model,” _arXiv:2002.05509_ _[cs,_ _eess]_, Feb. 2020, arXiv: 2002.05509. [Online]. Available: [http://arxiv.org/abs/2002.05509](http://arxiv.org/abs/2002.05509) [19] A. Ignatov, R. Timofte, X. Qu, X. Zhou, T. Liu, P. Wan, S. W. Zamir, A. Arora, S. Khan, F. S. Khan, L. Shao, D. Park, S. Y. Chun, P. N. Michelini, H. Liu, D. Zhu, Z. Zhong, X. Liu, J. Jiang, D. Zhao, M. Haris, K. Akita, T. Yoshida, G. Shakhnarovich, N. Ukita, J. Liu, C. Jung, R. Schettini, S. Bianco, C. Cusano, F. Piccoli, P. Liu, K. Zhang, J. Liu, J. Liu, H. Zhang, W. Zuo, N. C. N. Bow, L.-K. Wong, J. See, J. Qin, L. Huang, Y. Shi, P. Wei, W. Wen, L. Lin, Z. Hui, X. Wang, X. Gao, K. Kumari, V. K. Anand, M. Khened, and G. Krishnamurthi, “NTIRE 2019 Challenge on Image Enhancement: Methods and Results,” in _2019_ _IEEE/CVF_ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition_ _Workshops_ _(CVPRW)_ . Long Beach, CA, USA: IEEE, Jun. 2019, pp. 2224–2232. [Online]. Available: [https://ieeexplore.ieee.org/document/9025406/](https://ieeexplore.ieee.org/document/9025406/) [20] P. C. Foote and R. A. Woodson, “Lens design and tolerance analysis methods and results _∗_,” _J._ _Opt._ _Soc._ _Am._, vol. 38, no. 7, pp. 590–599, Jul 1948. [Online]. Available: [http:](http://www.osapublishing.org/abstract.cfm?URI=josa-38-7-590) [//www.osapublishing.org/abstract.cfm?URI=josa-38-7-590](http://www.osapublishing.org/abstract.cfm?URI=josa-38-7-590) [21] E. Tseng, S. Colburn, J. Whitehead, L. Huang, S.-H. Baek, A. Ma jumdar, and F. Heide, “Neural nano-optics for high-quality thin lens imaging,” _Nature Communications_, vol. 12, no. 1, p. 6493, Nov 2021. [22] J. C. Feltz, “Development of the modulation transfer function and contrast transfer function for discrete systems, particularly charge-coupled devices [also Comment 35(7), 2105-2106 (July 1996)],” _Optical_ _Engineering_, vol. 29, no. 8, pp. 893 - 904, 1990. [[Online]. Available: https://doi.org/10.1117/12.55675](https://doi.org/10.1117/12.55675) [23] H. Ikoma, C. M. Nguyen, C. A. Metzler, Y. Peng, and G. Wet zstein, “Depth from defocus with learned optics for imaging and occlusion-aware depth estimation,” in _2021 IEEE International_ _Conference on Computational Photography (ICCP)_, 2021, pp. 1–12. [24] C. Chen, Q. Chen, J. Xu, and V. Koltun, “Learning to see in the dark,” in _Proceedings_ _of_ _the_ _IEEE_ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern Recognition_ . Venice: IEEE, 2018, pp. 3291–3300. [25] X. Zhang, Q. Chen, R. Ng, and V. Koltun, “Zoom to learn, learn to zoom,” in _Proceedings of the IEEE Conference on Computer Vision and_ _Pattern Recognition_ . Venice: IEEE, 2019, pp. 3762–3770. [26] S. W. Hasinoff, D. Sharlet, R. Geiss, A. Adams, J. T. Barron, F. Kainz, J. Chen, and M. Levoy, “Burst photography for high dynamic range and low-light imaging on mobile cameras,” _ACM_ _Trans._ _Graph._, vol. 35, no. 6, nov 2016. [Online]. Available: [https://doi.org/10.1145/2980179.2980254](https://doi.org/10.1145/2980179.2980254) [27] Q. Yan, D. Gong, Q. Shi, A. v. d. Hengel, C. Shen, I. Reid, and Y. Zhang, “Attention-guided network for ghost-free high dynamic range imaging,” in _Proceedings_ _of_ _the_ _IEEE_ _Conference_ _on_ _Computer_ _Vision and Pattern Recognition_ . Venice: IEEE, 2019, pp. 1751–1760. [28] S. Chen, H. Feng, D. Pan, Z. Xu, Q. Li, and Y. Chen, “Optical aberrations correction in postprocessing using imaging simulation,” _ACM_ _Trans._ _Graph._, vol. 40, no. 5, sep 2021. [Online]. [Available: https://doi.org/10.1145/3474088](https://doi.org/10.1145/3474088) [29] S. Chen, H. Feng, K. Gao, Z. Xu, and Y. Chen, “Extreme-quality computational imaging via degradation framework,” in _Proceed-_ _ings_ _of_ _the_ _IEEE/CVF_ _International_ _Conference_ _on_ _Computer_ _Vision_ _(ICCV)_, October 2021, pp. 2632–2641. [30] F. Heide, M. Rouf, M. B. Hullin, B. Labitzke, W. Heidrich, and A. Kolb, “High-quality computational imaging through simple lenses,” _ACM_ _Trans._ _Graph._, vol. 32, no. 5, oct 2013. [Online]. [Available: https://doi.org/10.1145/2516971.2516974](https://doi.org/10.1145/2516971.2516974) [31] J. Pan, D. Sun, H. Pfister, and M.-H. Yang, “Blind image deblurring using dark channel prior,” in _Proceedings_ _of_ _the_ _IEEE_ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition_ . Venice: IEEE, 2016, pp. 1628–1636. [32] T. Sun, Y. Peng, and W. Heidrich, “Revisiting cross-channel infor mation transfer for chromatic aberration correction,” in _Proceedings_ _of_ _the_ _IEEE_ _International_ _Conference_ _on_ _Computer_ _Vision_ . Venice: IEEE, 2017, pp. 3248–3256. [33] J. van de Weijer, T. Gevers, and A. Gijsenij, “Edge-based color constancy,” _IEEE_ _Transactions_ _on_ _Image_ _Processing_, vol. 16, no. 9, pp. 2207–2214, 2007. [34] A. Gijsenij, T. Gevers, and J. van de Weijer, “Improving color constancy by photometric edge weighting,” _IEEE_ _Transactions_ _on_ _Pattern_ _Analysis_ _and_ _Machine_ _Intelligence_, vol. 34, no. 5, pp. 918– 929, 2012. [35] M. Afifi and M. S. Brown, “Deep White-Balance Editing,” in _2020_ _IEEE/CVF_ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition (CVPR)_ . Seattle, WA, USA: IEEE, Jun. 2020, pp. 1394– 1403. [Online]. Available: [https://ieeexplore.ieee.org/document/](https://ieeexplore.ieee.org/document/9156468/) [9156468/](https://ieeexplore.ieee.org/document/9156468/) [36] A. Buades, B. Coll, and J.-M. Morel, “A non-local algorithm for image denoising,” in _2005_ _IEEE_ _Computer_ _Society_ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition_ _(CVPR’05)_, vol. 2, IEEE. Portland: IEEE, 2005, pp. 60–65. [37] L. Condat, “A simple, fast and efficient approach to denoisaicking: Joint demosaicking and denoising,” in _2010_ _IEEE_ _International_ _Conference_ _on_ _Image_ _Processing_, IEEE. IEEE: IEEE, 2010, pp. 905– 908. [38] K. Hirakawa and T. Parks, “Adaptive homogeneity-directed demosaicing algorithm,” _IEEE_ _Transactions_ _on_ _Image_ _Processing_, vol. 14, no. 3, pp. 360–369, 2005. [39] E. Dubois, “Filter design for adaptive frequency-domain bayer demosaicking,” in _2006 International Conference on Image Processing_, IEEE. IEEE: IEEE, 2006, pp. 2705–2708. [40] X. Li, B. Gunturk, and L. Zhang, “Image demosaicing: A system atic survey,” in _Visual_ _Communications_ _and_ _Image_ _Processing_ _2008_, vol. 6822, International Society for Optics and Photonics. Venice: IEEE, 2008, p. 68221J. [41] N. Kwok, H. Shi, Q. Ha, G. Fang, S. Chen, and X. Jia, “Simultaneous image color correction and enhancement using particle swarm optimization,” _Engineering_ _Applications_ _of_ _Artificial_ _Intelligence_, vol. 26, no. 10, pp. 2356–2371, 2013. [Online]. Available: [https://www.sciencedirect.com/science/article/pii/](https://www.sciencedirect.com/science/article/pii/S0952197613001516) [S0952197613001516](https://www.sciencedirect.com/science/article/pii/S0952197613001516) [42] K. Mei, J. Li, J. Zhang, H. Wu, J. Li, and R. Huang, “HighEr-Resolution Network for Image Demosaicing and Enhancing,” in _2019_ _IEEE/CVF_ _International_ _Conference_ _on_ _Computer_ _Vision_ _Workshop_ _(ICCVW)_ . Seoul, Korea (South): IEEE, Oct. 2019, pp. 3441–3448. [Online]. Available: [https:](https://ieeexplore.ieee.org/document/9022066/) [//ieeexplore.ieee.org/document/9022066/](https://ieeexplore.ieee.org/document/9022066/) [43] Z. Zhang, Y. Jiang, J. Jiang, X. Wang, P. Luo, and J. Gu, “STAR: A Structure-aware Lightweight Transformer for Realtime Image Enhancement,” in _2021_ _IEEE/CVF_ _International_ _Conference_ _on_ _Computer_ _Vision_ _(ICCV)_ . Montreal, QC, Canada: IEEE, Oct. 2021, pp. 4086–4095. [Online]. Available: [https:](https://ieeexplore.ieee.org/document/9710083/) [//ieeexplore.ieee.org/document/9710083/](https://ieeexplore.ieee.org/document/9710083/) [44] Z. Liang, J. Cai, Z. Cao, and L. Zhang, “CameraNet: A Two-Stage Framework for Effective Camera ISP Learning,” _arXiv:1908.01481_ _[cs,_ _eess]_, Aug. 2019, arXiv: 1908.01481. [Online]. Available: [http://arxiv.org/abs/1908.01481](http://arxiv.org/abs/1908.01481) [45] B. Yang, G. Bender, Q. V. Le, and J. Ngiam, “CondConv: Conditionally Parameterized Convolutions for Efficient Inference,” _arXiv:1904.04971_ _[cs]_, Sep. 2020, arXiv: [1904.04971. [Online]. Available: http://arxiv.org/abs/1904.04971](http://arxiv.org/abs/1904.04971) [46] Y. Zhang, J. Zhang, Q. Wang, and Z. Zhong, “DyNet: Dynamic Convolution for Accelerating Convolutional Neural Networks,” _arXiv:2004.10694_ _[cs]_, Apr. 2020, arXiv: 2004.10694. [Online]. [Available: http://arxiv.org/abs/2004.10694](http://arxiv.org/abs/2004.10694) [47] C. Li, A. Zhou, and A. Yao, “Omni-dimensional dynamic convolu tion,” in _International Conference on Learning Representations_, 2021. [48] Z. Liu, Y. Lin, Y. Cao, H. Hu, Y. Wei, Z. Zhang, S. Lin, and B. Guo, “Swin Transformer: Hierarchical Vision Transformer using Shifted Windows,” _arXiv:2103.14030_ _[cs]_, Aug. 2021, arXiv: 2103.14030. [[Online]. Available: http://arxiv.org/abs/2103.14030](http://arxiv.org/abs/2103.14030) [49] Z. Liu, H. Mao, C.-Y. Wu, C. Feichtenhofer, T. Darrell, and S. Xie, “A ConvNet for the 2020s,” _arXiv:2201.03545 [cs]_, Jan. 2022, arXiv: [2201.03545. [Online]. Available: http://arxiv.org/abs/2201.03545](http://arxiv.org/abs/2201.03545) [50] J. Liang, J. Cao, G. Sun, K. Zhang, L. Van Gool, and R. Timofte, “SwinIR: Image Restoration Using Swin Transformer,” _arXiv:2108.10257_ _[cs,_ _eess]_, Aug. 2021, arXiv: 2108.10257. [Online]. [Available: http://arxiv.org/abs/2108.10257](http://arxiv.org/abs/2108.10257) [51] S. W. Zamir, A. Arora, S. Khan, M. Hayat, F. S. Khan, and M.-H. Yang, “Restormer: Efficient Transformer for High-Resolution Image Restoration,” _arXiv:2111.09881_ _[cs]_, Nov. 2021, arXiv: [2111.09881. [Online]. Available: http://arxiv.org/abs/2111.09881](http://arxiv.org/abs/2111.09881) [52] C. W. Wampler, “Manipulator inverse kinematic solutions based on vector formulations and damped least-squares methods,” _IEEE_ _Transactions_ _on_ _Systems,_ _Man,_ _and_ _Cybernetics_, vol. 16, no. 1, pp. 93–101, 1986. [53] D. Martin, C. Fowlkes, D. Tal, and J. Malik, “A database of hu man segmented natural images and its application to evaluating segmentation algorithms and measuring ecological statistics,” in _Proceedings Eighth IEEE International Conference on Computer Vision._ _ICCV 2001_, vol. 2, IEEE. Venice: IEEE, 2001, pp. 416–423. [54] D. P. Kingma and J. Ba, “Adam: A method for stochastic optimiza tion,” _arXiv preprint arXiv:1412.6980_, 2014. [55] Z. Wang, A. Bovik, H. Sheikh, and E. Simoncelli, “Image quality assessment: from error visibility to structural similarity,” _IEEE_ _Transactions on Image Processing_, vol. 13, no. 4, pp. 600–612, 2004. [56] X. Tao, H. Gao, X. Shen, J. Wang, and J. Jia, “Scale-recurrent network for deep image deblurring,” in _Proceedings_ _of_ _the_ _IEEE_ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition_ . Venice: IEEE, 2018, pp. 8174–8182. [57] D. Ren, K. Zhang, Q. Wang, Q. Hu, and W. Zuo, “Neural blind deconvolution using deep priors,” in _Proceedings_ _of_ _the_ _IEEE/CVF_ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition_ . Venice: IEEE, 2020, pp. 3341–3350. [58] Q. Guo, J. Sun, F. Juefei-Xu, L. Ma, X. Xie, W. Feng, and Y. Liu, “Efficientderain: Learning pixel-wise dilation filtering for highefficiency single-image deraining,” _arXiv preprint arXiv:2009.09238_, 2020. [59] A. Mittal, A. K. Moorthy, and A. C. Bovik, “No-reference image quality assessment in the spatial domain,” _IEEE_ _Transactions_ _on_ _Image Processing_, vol. 21, no. 12, pp. 4695–4708, 2012. [60] E. Krotkov, “Focusing,” _International_ _Journal_ _of_ _Computer_ _Vision_, vol. 1, no. 3, pp. 223–237, Oct. 1988. [Online]. Available: [https://doi.org/10.1007/BF00127822](https://doi.org/10.1007/BF00127822) [61] H. Sheikh and A. Bovik, “Image information and visual quality,” _IEEE_ _Transactions_ _on_ _Image_ _Processing_, vol. 15, no. 2, pp. 430–444, 2006. [62] R. Zhang, P. Isola, A. A. Efros, E. Shechtman, and O. Wang, “The unreasonable effectiveness of deep features as a perceptual metric,” in _Proceedings of the IEEE conference on computer vision and_ _pattern recognition_, 2018, pp. 586–595. [63] A. Mittal, R. Soundararajan, and A. C. Bovik, “Making a “com pletely blind” image quality analyzer,” _IEEE_ _Signal_ _processing_ _letters_, vol. 20, no. 3, pp. 209–212, 2012. [64] G. Jocher, “ultralytics/yolov5: v3.1 - Bug Fixes and Performance Improvements,” [https://github.com/ultralytics/yolov5,](https://github.com/ultralytics/yolov5) Oct. 2020. [Online]. Available: [https://doi.org/10.5281/zenodo.](https://doi.org/10.5281/zenodo.3908559) [3908559](https://doi.org/10.5281/zenodo.3908559) [65] Y. Du, C. Li, R. Guo, C. Cui, W. Liu, J. Zhou, B. Lu, Y. Yang, Q. Liu, X. Hu _et_ _al._, “Pp-ocrv2: Bag of tricks for ultra lightweight ocr system,” _arXiv preprint arXiv:2109.03144_, 2021. REFERENCES [1] T. Lin and C. Cheng, “A novel opto-mechanical tolerance analysis method for precision lens systems,” _Precision Engineering_, vol. 35, no. 3, pp. 447–454, Jul. 2011. [Online]. Available: [https://linkinghub.elsevier.com/retrieve/pii/S0141635911000304](https://linkinghub.elsevier.com/retrieve/pii/S0141635911000304) [2] C.-C. Hsueh, P. D. Lin, and J. Sasian, “Worst-case-based methodology for tolerance analysis and tolerance allocation of optical systems,” _Appl._ _Opt._, vol. 49, no. 31, pp. 6179–6188, Nov 2010. [Online]. Available: [http://www.osapublishing.org/](http://www.osapublishing.org/ao/abstract.cfm?URI=ao-49-31-6179) [ao/abstract.cfm?URI=ao-49-31-6179](http://www.osapublishing.org/ao/abstract.cfm?URI=ao-49-31-6179) [3] X. Hu and H. Hua, “Design and tolerance of a free-form optical system for an optical see-through multi-focal-plane display,” _Appl._ _Opt._, vol. 54, no. 33, pp. 9990–9999, Nov 2015. [Online]. Available: [http://www.osapublishing.org/ao/abstract.cfm?URI=](http://www.osapublishing.org/ao/abstract.cfm?URI=ao-54-33-9990) [ao-54-33-9990](http://www.osapublishing.org/ao/abstract.cfm?URI=ao-54-33-9990) [4] Q. Wang, D. Cheng, Y. Wang, H. Hua, and G. Jin, “Design, tolerance, and fabrication of an optical see-through head-mounted display with free-form surface elements,” _Appl._ _Opt._, vol. 52, no. 7, pp. C88–C99, Mar 2013. [Online]. Available: [http:](http://www.osapublishing.org/ao/abstract.cfm?URI=ao-52-7-C88) [//www.osapublishing.org/ao/abstract.cfm?URI=ao-52-7-C88](http://www.osapublishing.org/ao/abstract.cfm?URI=ao-52-7-C88) [5] S. Jung, D.-H. Choi, B.-L. Choi, and J. H. Kim, “Tolerance optimization of a mobile phone camera lens system,” _Appl._ _Opt._, [vol. 50, no. 23, pp. 4688–4700, Aug 2011. [Online]. Available: http:](http://www.osapublishing.org/ao/abstract.cfm?URI=ao-50-23-4688) [//www.osapublishing.org/ao/abstract.cfm?URI=ao-50-23-4688](http://www.osapublishing.org/ao/abstract.cfm?URI=ao-50-23-4688) [6] D. Malacara, Ed., _Optical_ _shop_ _testing_, 3rd ed., ser. Wiley series in pure and applied optics. Hoboken, N.J: Wiley-Interscience, 2007, oCLC: ocm74916130. [7] M. Rimmer, “Analysis of Perturbed Lens Systems,” _Applied_ _Optics_, vol. 9, no. 3, p. 533, Mar. 1970. [Online]. Available: [https://opg.optica.org/abstract.cfm?URI=ao-9-3-533](https://opg.optica.org/abstract.cfm?URI=ao-9-3-533) [8] M. P. Rimmer, “A Tolerancing Procedure Based On Modulation Transfer Function (MTF),” in _SPIE_, R. E. Fischer, Ed., San Diego, Dec. 1978, pp. 66–70. [Online]. Available: [http://proceedings.](http://proceedings.spiedigitallibrary.org/proceeding.aspx?articleid=1227437) [spiedigitallibrary.org/proceeding.aspx?articleid=1227437](http://proceedings.spiedigitallibrary.org/proceeding.aspx?articleid=1227437) [9] J.-H. Sun, “Tolerance reallocation of an optical zoom lens to meet multiperformance criteria,” _Appl._ _Opt._, vol. 53, no. 29, pp. H233–H238, Oct 2014. [Online]. Available: [http:](http://www.osapublishing.org/ao/abstract.cfm?URI=ao-53-29-H233) [//www.osapublishing.org/ao/abstract.cfm?URI=ao-53-29-H233](http://www.osapublishing.org/ao/abstract.cfm?URI=ao-53-29-H233) [10] E. A. Derby, C. G. Gordon, D. Vukobratovich, P. R. Yoder, and C. Zweben, “Optomechanical engineering and vibration control,” _Optomechanical Engineering and Vibration Control_, vol. 3786, 1999. [11] Y. Shih, B. Guenter, and N. Joshi, “Image Enhancement Using Calibrated Lens Simulations,” in _Computer_ _Vision_ _–_ _ECCV_ _2012_, D. Hutchison, T. Kanade, J. Kittler, J. M. Kleinberg, F. Mattern, J. C. Mitchell, M. Naor, O. Nierstrasz, C. Pandu Rangan, B. Steffen, M. Sudan, D. Terzopoulos, D. Tygar, M. Y. Vardi, G. Weikum, A. Fitzgibbon, S. Lazebnik, P. Perona, Y. Sato, and C. Schmid, Eds. Berlin, Heidelberg: Springer Berlin Heidelberg, 2012, vol. 7575, pp. 42–56, series Title: Lecture Notes in Computer Science. [Online]. [Available: http://link.springer.com/10.1007/978-3-642-33765-9_4](http://link.springer.com/10.1007/978-3-642-33765-9_4) [12] Q. Sun, C. Wang, Q. Fu, X. Dun, and W. Heidrich, “End to-end complex lens design with differentiate ray tracing,” _ACM_ _Transactions_ _on_ _Graphics_, vol. 40, no. 4, pp. 1–13, Aug. 2021. [Online]. Available: [https://dl.acm.org/doi/10.1145/](https://dl.acm.org/doi/10.1145/3450626.3459674) [3450626.3459674](https://dl.acm.org/doi/10.1145/3450626.3459674) [13] E. Tseng, A. Mosleh, F. Mannan, K. St-Arnaud, A. Sharma, Y. Peng, A. Braun, D. Nowrouzezahrai, J.-F. Lalonde, and F. Heide, “Differentiable compound optics and processing pipeline optimization for end-to-end camera design,” _ACM_ _Transactions_ _on_ _Graphics_ _(TOG)_, vol. 40, no. 2, 2021. [14] A. Mosleh, P. Green, E. Onzon, I. Begin, and J. P. Langlois, “Camera intrinsic blur kernel estimation: A reliable framework,” in _2015_ _IEEE Conference on Computer Vision and Pattern Recognition (CVPR)_ . Boston, MA, USA: IEEE, Jun. 2015, pp. 4961–4968. [Online]. [Available: http://ieeexplore.ieee.org/document/7299130/](http://ieeexplore.ieee.org/document/7299130/) [15] Z. Li, Q. Hou, Z. Wang, F. Tan, J. Liu, and W. Zhang, “End-to-end learned single lens design using fast differentiable ray tracing,” _Optics_ _Letters_, vol. 46, no. 21, p. 5453, Nov. 2021. [Online]. Available: [https://www.osapublishing.org/abstract.cfm?URI=ol-46-21-5453](https://www.osapublishing.org/abstract.cfm?URI=ol-46-21-5453) [16] J. Nishimura, T. Gerasimow, R. Sushma, A. Sutic, C.T. Wu, and G. Michael, “Automatic ISP Image Quality Tuning Using Nonlinear Optimization,” in _2018_ _25th_ _IEEE_ _International_ _Conference_ _on_ _Image_ _Processing_ _(ICIP)_ . Athens: IEEE, Oct. 2018, pp. 2471–2475. [Online]. Available: [https:](https://ieeexplore.ieee.org/document/8451818/) [//ieeexplore.ieee.org/document/8451818/](https://ieeexplore.ieee.org/document/8451818/) [17] F. Heide, M. Steinberger, Y.-T. Tsai, M. Rouf, D. Paj ˛ak, D. Reddy, O. Gallo, J. Liu, W. Heidrich, K. Egiazarian, J. Kautz, and K. Pulli, “FlexISP: a flexible camera image processing framework,” _ACM_ _Transactions_ _on_ _Graphics_, vol. 33, no. 6, pp. 1–13, Nov. 2014. [Online]. Available: [https:](https://dl.acm.org/doi/10.1145/2661229.2661260) [//dl.acm.org/doi/10.1145/2661229.2661260](https://dl.acm.org/doi/10.1145/2661229.2661260) [18] A. Ignatov, L. Van Gool, and R. Timofte, “Replacing Mobile Camera ISP with a Single Deep Learning Model,” _arXiv:2002.05509_ _[cs,_ _eess]_, Feb. 2020, arXiv: 2002.05509. [Online]. Available: [http://arxiv.org/abs/2002.05509](http://arxiv.org/abs/2002.05509) [19] A. Ignatov, R. Timofte, X. Qu, X. Zhou, T. Liu, P. Wan, S. W. Zamir, A. Arora, S. Khan, F. S. Khan, L. Shao, D. Park, S. Y. Chun, P. N. Michelini, H. Liu, D. Zhu, Z. Zhong, X. Liu, J. Jiang, D. Zhao, M. Haris, K. Akita, T. Yoshida, G. Shakhnarovich, N. Ukita, J. Liu, C. Jung, R. Schettini, S. Bianco, C. Cusano, F. Piccoli, P. Liu, K. Zhang, J. Liu, J. Liu, H. Zhang, W. Zuo, N. C. N. Bow, L.-K. Wong, J. See, J. Qin, L. Huang, Y. Shi, P. Wei, W. Wen, L. Lin, Z. Hui, X. Wang, X. Gao, K. Kumari, V. K. Anand, M. Khened, and G. Krishnamurthi, “NTIRE 2019 Challenge on Image Enhancement: Methods and Results,” in _2019_ _IEEE/CVF_ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition_ _Workshops_ _(CVPRW)_ . Long Beach, CA, USA: IEEE, Jun. 2019, pp. 2224–2232. [Online]. Available: [https://ieeexplore.ieee.org/document/9025406/](https://ieeexplore.ieee.org/document/9025406/) [20] P. C. Foote and R. A. Woodson, “Lens design and tolerance analysis methods and results _∗_,” _J._ _Opt._ _Soc._ _Am._, vol. 38, no. 7, pp. 590–599, Jul 1948. [Online]. Available: [http:](http://www.osapublishing.org/abstract.cfm?URI=josa-38-7-590) [//www.osapublishing.org/abstract.cfm?URI=josa-38-7-590](http://www.osapublishing.org/abstract.cfm?URI=josa-38-7-590) [21] E. Tseng, S. Colburn, J. Whitehead, L. Huang, S.-H. Baek, A. Ma jumdar, and F. Heide, “Neural nano-optics for high-quality thin lens imaging,” _Nature Communications_, vol. 12, no. 1, p. 6493, Nov 2021. [22] J. C. Feltz, “Development of the modulation transfer function and contrast transfer function for discrete systems, particularly charge-coupled devices [also Comment 35(7), 2105-2106 (July 1996)],” _Optical_ _Engineering_, vol. 29, no. 8, pp. 893 - 904, 1990. [[Online]. Available: https://doi.org/10.1117/12.55675](https://doi.org/10.1117/12.55675) [23] H. Ikoma, C. M. Nguyen, C. A. Metzler, Y. Peng, and G. Wet zstein, “Depth from defocus with learned optics for imaging and occlusion-aware depth estimation,” in _2021 IEEE International_ _Conference on Computational Photography (ICCP)_, 2021, pp. 1–12. [24] C. Chen, Q. Chen, J. Xu, and V. Koltun, “Learning to see in the dark,” in _Proceedings_ _of_ _the_ _IEEE_ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern Recognition_ . Venice: IEEE, 2018, pp. 3291–3300. [25] X. Zhang, Q. Chen, R. Ng, and V. Koltun, “Zoom to learn, learn to zoom,” in _Proceedings of the IEEE Conference on Computer Vision and_ _Pattern Recognition_ . Venice: IEEE, 2019, pp. 3762–3770. [26] S. W. Hasinoff, D. Sharlet, R. Geiss, A. Adams, J. T. Barron, F. Kainz, J. Chen, and M. Levoy, “Burst photography for high dynamic range and low-light imaging on mobile cameras,” _ACM_ _Trans._ _Graph._, vol. 35, no. 6, nov 2016. [Online]. Available: [https://doi.org/10.1145/2980179.2980254](https://doi.org/10.1145/2980179.2980254) [27] Q. Yan, D. Gong, Q. Shi, A. v. d. Hengel, C. Shen, I. Reid, and Y. Zhang, “Attention-guided network for ghost-free high dynamic range imaging,” in _Proceedings_ _of_ _the_ _IEEE_ _Conference_ _on_ _Computer_ _Vision and Pattern Recognition_ . Venice: IEEE, 2019, pp. 1751–1760. [28] S. Chen, H. Feng, D. Pan, Z. Xu, Q. Li, and Y. Chen, “Optical aberrations correction in postprocessing using imaging simulation,” _ACM_ _Trans._ _Graph._, vol. 40, no. 5, sep 2021. [Online]. [Available: https://doi.org/10.1145/3474088](https://doi.org/10.1145/3474088) [29] S. Chen, H. Feng, K. Gao, Z. Xu, and Y. Chen, “Extreme-quality computational imaging via degradation framework,” in _Proceed-_ _ings_ _of_ _the_ _IEEE/CVF_ _International_ _Conference_ _on_ _Computer_ _Vision_ _(ICCV)_, October 2021, pp. 2632–2641. [30] F. Heide, M. Rouf, M. B. Hullin, B. Labitzke, W. Heidrich, and A. Kolb, “High-quality computational imaging through simple lenses,” _ACM_ _Trans._ _Graph._, vol. 32, no. 5, oct 2013. [Online]. [Available: https://doi.org/10.1145/2516971.2516974](https://doi.org/10.1145/2516971.2516974) [31] J. Pan, D. Sun, H. Pfister, and M.-H. Yang, “Blind image deblurring using dark channel prior,” in _Proceedings_ _of_ _the_ _IEEE_ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition_ . Venice: IEEE, 2016, pp. 1628–1636. [32] T. Sun, Y. Peng, and W. Heidrich, “Revisiting cross-channel infor mation transfer for chromatic aberration correction,” in _Proceedings_ _of_ _the_ _IEEE_ _International_ _Conference_ _on_ _Computer_ _Vision_ . Venice: IEEE, 2017, pp. 3248–3256. [33] J. van de Weijer, T. Gevers, and A. Gijsenij, “Edge-based color constancy,” _IEEE_ _Transactions_ _on_ _Image_ _Processing_, vol. 16, no. 9, pp. 2207–2214, 2007. [34] A. Gijsenij, T. Gevers, and J. van de Weijer, “Improving color constancy by photometric edge weighting,” _IEEE_ _Transactions_ _on_ _Pattern_ _Analysis_ _and_ _Machine_ _Intelligence_, vol. 34, no. 5, pp. 918– 929, 2012. [35] M. Afifi and M. S. Brown, “Deep White-Balance Editing,” in _2020_ _IEEE/CVF_ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition (CVPR)_ . Seattle, WA, USA: IEEE, Jun. 2020, pp. 1394– 1403. [Online]. Available: [https://ieeexplore.ieee.org/document/](https://ieeexplore.ieee.org/document/9156468/) [9156468/](https://ieeexplore.ieee.org/document/9156468/) [36] A. Buades, B. Coll, and J.-M. Morel, “A non-local algorithm for image denoising,” in _2005_ _IEEE_ _Computer_ _Society_ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition_ _(CVPR’05)_, vol. 2, IEEE. Portland: IEEE, 2005, pp. 60–65. [37] L. Condat, “A simple, fast and efficient approach to denoisaicking: Joint demosaicking and denoising,” in _2010_ _IEEE_ _International_ _Conference_ _on_ _Image_ _Processing_, IEEE. IEEE: IEEE, 2010, pp. 905– 908. [38] K. Hirakawa and T. Parks, “Adaptive homogeneity-directed demosaicing algorithm,” _IEEE_ _Transactions_ _on_ _Image_ _Processing_, vol. 14, no. 3, pp. 360–369, 2005. [39] E. Dubois, “Filter design for adaptive frequency-domain bayer demosaicking,” in _2006 International Conference on Image Processing_, IEEE. IEEE: IEEE, 2006, pp. 2705–2708. [40] X. Li, B. Gunturk, and L. Zhang, “Image demosaicing: A system atic survey,” in _Visual_ _Communications_ _and_ _Image_ _Processing_ _2008_, vol. 6822, International Society for Optics and Photonics. Venice: IEEE, 2008, p. 68221J. [41] N. Kwok, H. Shi, Q. Ha, G. Fang, S. Chen, and X. Jia, “Simultaneous image color correction and enhancement using particle swarm optimization,” _Engineering_ _Applications_ _of_ _Artificial_ _Intelligence_, vol. 26, no. 10, pp. 2356–2371, 2013. [Online]. Available: [https://www.sciencedirect.com/science/article/pii/](https://www.sciencedirect.com/science/article/pii/S0952197613001516) [S0952197613001516](https://www.sciencedirect.com/science/article/pii/S0952197613001516) [42] K. Mei, J. Li, J. Zhang, H. Wu, J. Li, and R. Huang, “HighEr-Resolution Network for Image Demosaicing and Enhancing,” in _2019_ _IEEE/CVF_ _International_ _Conference_ _on_ _Computer_ _Vision_ _Workshop_ _(ICCVW)_ . Seoul, Korea (South): IEEE, Oct. 2019, pp. 3441–3448. [Online]. Available: [https:](https://ieeexplore.ieee.org/document/9022066/) [//ieeexplore.ieee.org/document/9022066/](https://ieeexplore.ieee.org/document/9022066/) [43] Z. Zhang, Y. Jiang, J. Jiang, X. Wang, P. Luo, and J. Gu, “STAR: A Structure-aware Lightweight Transformer for Realtime Image Enhancement,” in _2021_ _IEEE/CVF_ _International_ _Conference_ _on_ _Computer_ _Vision_ _(ICCV)_ . Montreal, QC, Canada: IEEE, Oct. 2021, pp. 4086–4095. [Online]. Available: [https:](https://ieeexplore.ieee.org/document/9710083/) [//ieeexplore.ieee.org/document/9710083/](https://ieeexplore.ieee.org/document/9710083/) [44] Z. Liang, J. Cai, Z. Cao, and L. Zhang, “CameraNet: A Two-Stage Framework for Effective Camera ISP Learning,” _arXiv:1908.01481_ _[cs,_ _eess]_, Aug. 2019, arXiv: 1908.01481. [Online]. Available: [http://arxiv.org/abs/1908.01481](http://arxiv.org/abs/1908.01481) [45] B. Yang, G. Bender, Q. V. Le, and J. Ngiam, “CondConv: Conditionally Parameterized Convolutions for Efficient Inference,” _arXiv:1904.04971_ _[cs]_, Sep. 2020, arXiv: [1904.04971. [Online]. Available: http://arxiv.org/abs/1904.04971](http://arxiv.org/abs/1904.04971) [46] Y. Zhang, J. Zhang, Q. Wang, and Z. Zhong, “DyNet: Dynamic Convolution for Accelerating Convolutional Neural Networks,” _arXiv:2004.10694_ _[cs]_, Apr. 2020, arXiv: 2004.10694. [Online]. [Available: http://arxiv.org/abs/2004.10694](http://arxiv.org/abs/2004.10694) [47] C. Li, A. Zhou, and A. Yao, “Omni-dimensional dynamic convolu tion,” in _International Conference on Learning Representations_, 2021. [48] Z. Liu, Y. Lin, Y. Cao, H. Hu, Y. Wei, Z. Zhang, S. Lin, and B. Guo, “Swin Transformer: Hierarchical Vision Transformer using Shifted Windows,” _arXiv:2103.14030_ _[cs]_, Aug. 2021, arXiv: 2103.14030. [[Online]. Available: http://arxiv.org/abs/2103.14030](http://arxiv.org/abs/2103.14030) [49] Z. Liu, H. Mao, C.-Y. Wu, C. Feichtenhofer, T. Darrell, and S. Xie, “A ConvNet for the 2020s,” _arXiv:2201.03545 [cs]_, Jan. 2022, arXiv: [2201.03545. [Online]. Available: http://arxiv.org/abs/2201.03545](http://arxiv.org/abs/2201.03545) [50] J. Liang, J. Cao, G. Sun, K. Zhang, L. Van Gool, and R. Timofte, “SwinIR: Image Restoration Using Swin Transformer,” _arXiv:2108.10257_ _[cs,_ _eess]_, Aug. 2021, arXiv: 2108.10257. [Online]. [Available: http://arxiv.org/abs/2108.10257](http://arxiv.org/abs/2108.10257) [51] S. W. Zamir, A. Arora, S. Khan, M. Hayat, F. S. Khan, and M.-H. Yang, “Restormer: Efficient Transformer for High-Resolution Image Restoration,” _arXiv:2111.09881_ _[cs]_, Nov. 2021, arXiv: [2111.09881. [Online]. Available: http://arxiv.org/abs/2111.09881](http://arxiv.org/abs/2111.09881) [52] C. W. Wampler, “Manipulator inverse kinematic solutions based on vector formulations and damped least-squares methods,” _IEEE_ _Transactions_ _on_ _Systems,_ _Man,_ _and_ _Cybernetics_, vol. 16, no. 1, pp. 93–101, 1986. [53] D. Martin, C. Fowlkes, D. Tal, and J. Malik, “A database of hu man segmented natural images and its application to evaluating segmentation algorithms and measuring ecological statistics,” in _Proceedings Eighth IEEE International Conference on Computer Vision._ _ICCV 2001_, vol. 2, IEEE. Venice: IEEE, 2001, pp. 416–423. [54] D. P. Kingma and J. Ba, “Adam: A method for stochastic optimiza tion,” _arXiv preprint arXiv:1412.6980_, 2014. [55] Z. Wang, A. Bovik, H. Sheikh, and E. Simoncelli, “Image quality assessment: from error visibility to structural similarity,” _IEEE_ _Transactions on Image Processing_, vol. 13, no. 4, pp. 600–612, 2004. [56] X. Tao, H. Gao, X. Shen, J. Wang, and J. Jia, “Scale-recurrent network for deep image deblurring,” in _Proceedings_ _of_ _the_ _IEEE_ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition_ . Venice: IEEE, 2018, pp. 8174–8182. [57] D. Ren, K. Zhang, Q. Wang, Q. Hu, and W. Zuo, “Neural blind deconvolution using deep priors,” in _Proceedings_ _of_ _the_ _IEEE/CVF_ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition_ . Venice: IEEE, 2020, pp. 3341–3350. [58] Q. Guo, J. Sun, F. Juefei-Xu, L. Ma, X. Xie, W. Feng, and Y. Liu, “Efficientderain: Learning pixel-wise dilation filtering for highefficiency single-image deraining,” _arXiv preprint arXiv:2009.09238_, 2020. [59] A. Mittal, A. K. Moorthy, and A. C. Bovik, “No-reference image quality assessment in the spatial domain,” _IEEE_ _Transactions_ _on_ _Image Processing_, vol. 21, no. 12, pp. 4695–4708, 2012. [60] E. Krotkov, “Focusing,” _International_ _Journal_ _of_ _Computer_ _Vision_, vol. 1, no. 3, pp. 223–237, Oct. 1988. [Online]. Available: [https://doi.org/10.1007/BF00127822](https://doi.org/10.1007/BF00127822) [61] H. Sheikh and A. Bovik, “Image information and visual quality,” _IEEE_ _Transactions_ _on_ _Image_ _Processing_, vol. 15, no. 2, pp. 430–444, 2006. [62] R. Zhang, P. Isola, A. A. Efros, E. Shechtman, and O. Wang, “The unreasonable effectiveness of deep features as a perceptual metric,” in _Proceedings of the IEEE conference on computer vision and_ _pattern recognition_, 2018, pp. 586–595. [63] A. Mittal, R. Soundararajan, and A. C. Bovik, “Making a “com pletely blind” image quality analyzer,” _IEEE_ _Signal_ _processing_ _letters_, vol. 20, no. 3, pp. 209–212, 2012. [64] G. Jocher, “ultralytics/yolov5: v3.1 - Bug Fixes and Performance Improvements,” [https://github.com/ultralytics/yolov5,](https://github.com/ultralytics/yolov5) Oct. 2020. [Online]. Available: [https://doi.org/10.5281/zenodo.](https://doi.org/10.5281/zenodo.3908559) [3908559](https://doi.org/10.5281/zenodo.3908559) [65] Y. Du, C. Li, R. Guo, C. Cui, W. Liu, J. Zhou, B. Lu, Y. Yang, Q. Liu, X. Hu _et_ _al._, “Pp-ocrv2: Bag of tricks for ultra lightweight ocr system,” _arXiv preprint arXiv:2109.03144_, 2021.

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.