선정목록으로
Active Lighting Recurrence by Parallel Lighting Analogy for Fine-Grained Change Detection
필름·전자재료 · (13) 프리즘 필름
기본 정보
- 저자
- DOI
- 10.13140/rg.2.2.32806.06722
- 저널
- –
- 발행년도
- 2020
- 발행기관
- –
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.13140/rg.2.2.32806.06722
- 토픽
- Color Science and Applications
- OpenAlex ID
- W6903813474
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (13) 프리즘 필름
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
초록이 없습니다.
본문 87,702자
본문 펼치기
## Active Lighting Recurrence by Parallel Lighting Analogy for Fine-Grained Change Detection
Qian Zhang <sup>_∗_</sup>, _Student Member, IEEE,_ Wei Feng <sup>_∗†_</sup>, _Member, IEEE,_ Liang Wan, _Member, IEEE,_
Fei-Peng Tian, _Student Member, IEEE,_ Xiaowei Wang, Ping Tan, _Member, IEEE_
Abstract —This paper studies a new problem, namely active lighting recurrence (ALR) that physically relocalizes a light source to
reproduce the lighting condition from single reference image for a same scene, which may suffer from fine-grained changes during
twice observations. ALR is of great importance for fine-grained visual inspection and change detection, because some phenomena or
minute changes can only be clearly observed under particular lighting conditions. Therefore, effective ALR should be able to online
navigate a light source toward the target pose, which is challenging due to the complexity and diversity of real-world lighting and
imaging processes. To this end, we propose to use the simple parallel lighting as an analogy model and based on Lambertian law to
compose an instant navigation ball for this purpose. We theoretically prove the feasibility, i.e., equivalence and convergence, of this ALR
approach for realistic near point light source and small near surface light source. Besides, we also theoretically prove the invariance of
our ALR approach to the ambiguity of normal and lighting decomposition. The effectiveness and superiority of the proposed approach
have been verified by both extensive quantitative experiments and challenging real-world tasks on fine-grained change detection of
cultural heritages. We also validate the generality of our approach to non-Lambertian scenes.
Index Terms —Active lighting recurrence (ALR), Relighting, Fine-grained change detection (FGCD), Photometric stereo, Cultural
heritage, Preventive conservation
!
1 INTRODUCTION
IGHTING recurrence (LR) plays an important role in many
computer vision applications, such as accurate surface
# L
and material acquisition [1–3], cultural heritage imaging [4, 5]
and scene or image change surveillance [6, 7]. Despite the
variances and diversity of previous successful methods on this
topic, including relighting [8, 9], reflectance transformation
imaging (RTI) [5, 10] and photometric stereo (PS) [11, 12],
most of them focus on _synthetic_ _(or_ _virtual)_ _lighting_ _recur-_
_rence_ (SLR), which passively take multi-illumination images
as input to _virtually_ synthesize the target lighting condition.
In contrast, in this paper, we study _active lighting recurrence_
(ALR), a new problem aiming to _physically_ reproduce the
target lighting condition, i.e., _physically_ relocalize the light
source to exact the same pose of the reference one. This problem is originally motivated by an important and challenging
real-world task, i.e., fine-grained change monitoring and measurement of cultural heritages for preventive conservation [13].
Generally, preventive conservation requires multi-observations
_•_ _†W._ _Feng_ _is_ _the_ _corresponding_ _author._ _Email:_ _wfeng@ieee.org._
_•_ _∗Q._ _Zhang_ _&_ _W._ _Feng_ _are_ _the_ _joint_ _first_ _authors,_ _who_ _contribute_ _equally_
_to_ _this_ _work._
_•_ _Q._ _Zhang,_ _W._ _Feng_ _and_ _F.-P._ _Tian_ _are_ _with_ _the_ _School_ _of_ _Computer_
_Science_ _and_ _Technology,_ _the_ _College_ _of_ _Intelligence_ _and_ _Computing,_
_Tianjin_ _University,_ _TianJin,_ _300350,_ _China,_ _and_ _the_ _Key_ _Research_ _Center_
_for_ _Surface_ _Monitoring_ _and_ _Analysis_ _of_ _Cultural_ _Relics_ _(SMARC),_ _State_
_Administration_ _of_ _Cultural_ _Heritage,_ _China._
_•_ _L. Wan is with the School of Computer Software, the College of Intelligence_
_and_ _Computing,_ _Tianjin_ _University,_ _TianJin,_ _300350,_ _China,_ _and_ _Tianjin_
_Key_ _Lab_ _for_ _Advanced_ _Signal_ _Processing,_ _Civil_ _Aviation_ _University_ _of_
_China._
_•_ _X._ _Wang_ _is_ _with_ _Dunhuang_ _Research_ _Academy,_ _Dunhuang,_ _Gansu,_ _China._
_•_ _P._ _Tan_ _is_ _with_ _the_ _School_ _of_ _Computing_ _Science,_ _Simon_ _Fraser_ _University,_
_Canada._
for the same scene and massive-volume monitoring to analyze
the causes of the deterioration of cultural heritages. Specifically, the major challenges of practical ALR are three-fold.
1) High accuracy requirement. To support preventive
conservation, we need to detect and measure very finegrained changes occurred on cultural heritages, e.g.,
ancient murals, from complex image contents and various crumply and flaky deterioration patterns. To this
end, physically reproducing camera pose and lighting
condition as accurately as possible is critical to the
quality of fine-grained change detection [14, 15].
2) Instant navigation requirement. ALR is a dynamic
process. The purpose of ALR is to produce reliable online navigation guidance and relocalize the light source
to the target pose by a robotic platform or purely by
hand. Note, many valuable cultural heritages inhabit
unrestricted environments or limited working spaces,
so instant navigation response is necessary for ALR
problem, especially when the robotic platform cannot
be used under some harsh working environments.
3) Accuracy vs. instantaneity. Simple lighting models
cannot accurately simulate reality but is usually very
fast. In contrast, sophisticated lighting models usually
need expensive optimization and a large number of
images to guarantee the accuracy. That is, both of them
cannot satisfy the requirements of instant navigation
response, massive-volume and multi-observations monitoring. Hence, ALR must solve this challenge caused
by accuracy and instantaneity requirements.
Unfortunately, to the best of our knowledge, compared to
relatively mature active camera relocalization (ACR) [14, 16–
18], ALR is rarely studied, especially for fine-grained change
detection (FGCD) [6]. There is no mature solution in the
literature solving all the above three challenges. First, the
existing SLR methods mainly focus on the visual quality of
relighted images and the strict physical correctness cannot
be guaranteed, which may inevitably lead to lighting recurrence errors. Second, since most SLR methods usually need
hundreds of multi-illumination images [4, 8], sophisticated
lighting models and expensive optimizations [8, 19] to pursue
the recurrence accuracy, they cannot satisfy the requirements
of real-time navigation response. See Fig. 1(a), in real-world
FGCD tasks, we usually get the reference observation by
casting a particular near side lighting to highlight the rich
3D microstructures of the object. Fig. 1(b) shows the observation by carefully and manually aligning lighting. Fig. 1(c)
shows the lighting recurrence image generated by a relighting
method [5] using 80 multi-illumination images. The 10-times
magnified absolute differences between twice observations are
shown in the bottom-right corner. Fig. 1(e)–(i) show the local
microstructures and the corresponding FGCD results [6]. We
can see that without or inaccurate LR may generate two types
of FGCD errors, that is, rich or particular 3D microstructures
caused _false_ _alarms_, and different shading caused _missing_,
see Fig. 1(e)–(h) and Fig. 1(i), respectively. <sup>1</sup> Both of them
significantly harm the FGCD accuracy. Besides, the relighting
method [5] needs at least 30 minutes (including the time of images capturing, lighting calibration, lighting calculation and rerendering) for once lighting recurrence, which clearly cannot
satisfy the massive-volume and multi-observations monitoring
requirements.
In this paper, we propose an effective ALR method for
reproducing the lighting condition of a reference image. We
use the simple parallel lighting (PL) as an analogy model to
calculate the reference and current lighting conditions from
a small amount of in-situ captured side lighting images (a
dozen). Then we compose a navigation ball with two spherical
isointensity circles (SICs) indicating the reference and current
poses to generate reliable and real-time ALR navigation guidance. Theoretically, We find that the _analogy_ _parallel_ _lighting_
(apl) based ALR (ALR-apl) is equivalent to the one based on
more sophisticated lighting models, e.g., near point lighting
(NPL) model and small near surface lighting (sNSL) model.
Besides, we also prove the invariance of the proposed ALR
method to the normal & lighting decomposition ambiguity.
As shown in Fig. 1(d)(e)–(i) and our extensive experiments,
the proposed ALR works well for both Lambertian and nonLambertian scenes, and can significantly improve FGCD performance. Our ALR method only needs less than 3 minutes for
once lighting recurrence (including the time of in-situ image
capturing, navigation generation and light source adjustment).
Part of our findings and results have been published in [15].
1. The rich 3D microstructures of the object under different near side
lightings have different shadows, shadings and specular spots. All of them
can cause great false alarmed changes. In contrast, some real changes cannot
be clearly observed under the lighting whose direction is close to the normal
of the surface where the changes occur.
Fig. 1. Motivation and importance of active lighting recurrence
for fine-grained change detection. See text for details.
2 RELATED WORK
2.1 RTI and CHI
Reflectance transformation imaging (RTI) aims to re-render a
scene under arbitrary lighting direction, by sampling images
under known lighting directions. RTI is widely used in cultural heritage imaging (CHI), using image-based methods to
effectively capture and visualize the geometry and material
of cultural heritages. Polynomial basis function (PTM) [4]
and hemispherical harmonics [5] are two representative RTI
methods, which represent the reflectance function of a scene
by lower-order basis functions. A survey about computational
imaging for cultural heritage can be accessed [20].
2.2 Photometric stereo
Photometric stereo (PS) focuses on acquiring surface shape
and reflectance from multi-illumination images. Classical PS
methods [21, 22] solve reflectance and normal under the
assumption of Lambertian surface and infinitely far lights.
Recent PS methods focus on non-Lambertian surfaces and separately parameterize specularity and diffusion reflections [23–
25]. For uncalibrated lighting conditions, PS needs also determine the exact lighting directions [12, 25, 26]. A thorough
survey on uncalibrated and non-Lambertian photometric stereo
can be found in [11]. Besides, how to relax the far-light
assumption is also widely studied in [27–29].
2.3 Image-based relighting
Image-based relighting aims to calculate the light transport
matrix which stores the relation between the intensity of each
pixel and different lighting conditions. Given an arbitrary
lighting condition, a new image can be easily generated from
the light transport matrix. Classical methods generally use a
brute-force solution to measure the entries of light transport
Ref observation Cur observation
Ref w/o LR Relighting (80 imgs) ALR
cost time: >30min cost time: <2min
(a) (b) diff `×` 10 (c) diff `×` 10 (d) diff `×` 10
Zoom-in regions and fine-grained change detection results
Ref w/o LR Relighting (80 imgs) ALR
(e)
(f)
(g)
(h)
(i)
Gt FPR=0.0592 FPR=0.0093 FPR=0.0003
Gt FPR=0.4613 FPR=0.0101 FPR=0.0000
FPR=0.1641 FPR=0.0034 FPR=0.0001
Gt
FPR=0.0518 FPR=0.0119 FPR=0.0004
Gt
Gt F1=0.2191 F1=0.2438 F1=0.6182
matrix [1, 30]. An early survey about relighting can be found
in [31]. Later, for reducing the number of captured images,
sparse representations of light transport matrix have been
studied in many works, e.g., introducing compressive sensing [32], dual photography [33] and appropriate illumination
patterns [34]. Furthermore, many methods [35–37] exploit
the data coherence to reconstruct the light transport matrix
with fewer images. Recently, neural networks flourished in
relighting fields [8, 9, 38–40].
3 PROBLEM FORMULATION
Let I <sup>ref</sup> _,_ I _∈_ R <sup>_P_</sup> be the reference and current observations,
where _P_ being the pixel number. Let L <sup>ref</sup> and L be the
reference and current lighting conditions. Then we have
I <sup>ref</sup> = FL(L <sup>ref</sup> _, Sτ_ ) and I = FL(L _, Sτ_ +△ _τ_ ), where _Sτ_ and
_Sτ_ +△ _τ_ denote the scene (e.g., reflectance, normal, specular
regions, if any) at reference time _τ_ and current time _τ_ + - _τ_
respectively, FL( _·_ ) indicates the real lighting model, which is
determined by scene and lighting condition. Note, the scene
may occur some fine-grained changes during time interval
- _τ_ . Lighting recurrence (LR) aims to reproduce the reference
lighting condition and recreate a current image which is similar
(except the change region) to the reference one. We formulate
the lighting condition estimation in LR problem as
problem as a _dynamic_ _process_ that iteratively calculates the
navigation guidance and adjusts light source pose,
_∥_ FL( _L_ ( _ρ_ _|_ Θ ) _, Sτ_ +△ _τ_ )
_ρ_
_ρ_ ˆ = arg min
_−_ FL( _L_ ( _ρ_ <sup>ref</sup> _|_ Θ ) _, Sτ_ ) _∥_ <sup>2</sup> F
F
= arg min _∥_ FL( _L_ ( _ρ_ _|_ Θ ) _, Sτ_ +△ _τ_ )
<sup>2</sup> F <sup>_,_</sup>
(3)
_∥_ FL( _L_ ( _ρ_ _|_ Θ ) _, Sτ_ +△ _τ_ ) _−_ I <sup>ref</sup> _∥_ <sup>2</sup> F
_ρ_
_ρ_ _t_ +1 = _ρ_ _t_ + diag( _λ_ _t_ ) m _t,_
(4)
_t_ lim _→∞_ <sup>_ρ_</sup> <sup>_t,_</sup>
_ρ_ ˆ = _t_ lim _→∞_
ˆL = arg min
L
_∥_ FL(L _, Sτ_ +△ _τ_ ) _−_ FL(L <sup>ref</sup> _, Sτ_ ) _∥_ <sup>2</sup> F <sup>_,_</sup> (1)
where m _t_ and _λ_ _t_ indicate the ALR navigation direction and
magnitude for _t_ th light source pose adjustment, diag( _·_ ) is
the diagonalization of a vector. Note, Eq. (3) defines the
ALR target, while Eq. (4) is the progressive ALR strategy,
i.e., we physically adjust the current light source pose by
∆ _ρ_ _t_ = diag( _λ_ _t_ ) m _t_ in _t_ th adjustment. Hence, the convergence
and goodness of an ALR approach relies on the correctness
of _λ_ _t_ and m _t_, and _t_ lim _→∞_ <sup>diag(</sup> <sup>_λ_</sup> <sup>_t_</sup> <sup>)</sup> <sup>m</sup> <sup>_t_</sup> <sup>=</sup> <sup>0</sup> <sup>.</sup>
There exist two challenges to solve above ALR problem.
First, for estimating the light source pose, we need to solve
the inverse problem of the lighting model FL( _·_ ). Although we
can use gradient descendant method to solve Eq. (3) based on a
sophisticated and realistic lighting model, it cannot satisfy the
requirement of real-time navigation response. Second, since
the scene _Sτ_ +△ _τ_ is unknown, the inverse problem is ill-posed
and there may exists an ambiguity for scene and lighting
decomposition. In this paper, we propose an _analogy_ _parallel_
_lighting_ (apl) based ALR (ALR-apl) to perfectly solve these
problems and we theoretically prove our ALR-apl is equivalent
to the one based on more sophisticated lighting models.
4 ALR UNDER PARALLEL LIGHTING
We use the simple parallel lighting as an analogy model. See
Fig. 3(a), let l _∈_ R <sup>3</sup> be the parallel lighting vector, whose
magnitude and direction indicate the lighting strength and
direction, respectively. Then we have _L_ ( _ρ_ _|_ Θ ) = l and
_Sτ_ +△ _τ_ = _{_ R _,_ N _}_, with R _∈_ R <sup>_P_</sup> and N _∈_ R <sup>_P ×_</sup> <sup>3</sup> being the
scene reflectance and normal. Thus, ALR problem (Eqs. (3)–
(4)) can be reduced to a much simpler ALR-apl problem
where _∥· ∥_ F is the Frobenius norm.
As we mentioned above, synthetic lighting recurrence (SLR)
usually use a specific lighting model to denote FL( _·_ ) and
generate the relighted image by <sup>ˆ</sup> I = FL(L <sup>ˆ</sup> _, Sτ_ +△ _τ_ ). However,
SLR methods cannot guarantee strict physical correctness,
which may harm the relighting performance and reduce the
FGCD accuracy. Different with SLR, we focus on the new
problem, i.e., active lighting recurrence (ALR), which aims
to physically reproduce the lighting condition. Since lighting
condition L is determined by the extrinsic parameter (pose)
_ρ_ and intrinsic parameter (radiation power, color temperature,
intensity distribution) Θ of the light source, let L = _L_ ( _ρ_ _,_ Θ )
and L <sup>ref</sup> = _L_ ( _ρ_ <sup>ref</sup> _,_ Θ <sup>ref</sup> ), Eq. (1) can be rewritten as
ˆ l = arg min
l
_∥_ R _◦_ Nl _−_ I <sup>ref</sup> _∥_ <sup>2</sup> F <sup>_,_</sup> (5)
_⟨_ _ρ_ ˆ _,_ Θ <sup>ˆ</sup> _⟩_ = arg min
_⟨_ _ρ_ _,_ Θ _⟩_
_∥_ FL( _L_ ( _ρ_ _,_ Θ ) _, Sτ_ +△ _τ_ )
_−_ FL( _L_ ( _ρ_ <sup>ref</sup> _,_ Θ <sup>ref</sup> ) _, Sτ_ ) _∥_ <sup>2</sup> F <sup>_._</sup>
(2)
l _t_ +1 = l _t_ + diag( _λ_ _t_ ) m _t,_
ˆ l = _t_ lim _→∞_ <sup>l</sup> <sup>_t,_</sup> (6)
Eq. (2) aims to reproduce both the intrinsic and extrinsic
parameters of light source. In fact, it is hard even impractical
for us to make the intrinsic parameters of two different kinds of
light sources be consistent. Hence, we assume the light source
is the same during twice observations, i.e., Θ <sup>ref</sup> = Θ . Then
the aim of ALR becomes to relocalize the extrinsic parameter,
i.e., light source pose. Besides, since the coordinate translation
between light source and camera is uncalibrated, we cannot
directly move the light source to the target pose _ρ_ ˆ by oneshot adjustment, even if using an accurate robotic platform.
To solve this problem, we employ the _progressive_ _adjustment_
_strategy_, which has been successfully used in active camera
relocalization (ACR) [14, 16]. Hence, we formulate the ALR
where _◦_ indicates element-wise multiplication.
Thanks to the simplicity of ALR-apl model, it is possible
to online calculate both the navigation direction m _t_ and
magnitude _λ_ _t_ from the reference and current image, I <sup>ref</sup> and
I _t_ . Fig. 2 shows the working flow of the ALR-apl approach.
Specifically, to get a reliable initialization, we first roughly
capture _K_ different side lighting images to form the insitu captured image set _I_ <sup>ic</sup> . From _I_ <sup>ic</sup> and I <sup>ref</sup>, we obtain
scene normal N, reflectance R and reference lighting vector
l <sup>ref</sup> . Then, in each ALR-apl iteration, we compose an instant
navigation ball _B_ and online calculate the navigation direction
m _t_ and magnitude _λ_ _t_ for light source adjustment. We analyze
the convergence and efficacy of this process at last.
In-situ Images Captu <mark>ring</mark>
Images capturing Camera
under multiple
lighting conditions
N R l
Active Lighting Recurrence
<mark>Image capturing</mark> <mark>Light source adjustment</mark> _no_ _g_ ˆ good _<u>yes</u>_
enough?
<mark>Output</mark>
B
C ref
left
ref
_no_
_yes_
C
O
O
ref
_t_
up
down
front
right
back
_gt_ - ? _g_ ˆ
_g_ ˆ
l
l
ref
ref
current image I _t_ navigation ball �
_t_ navigation ball � _t_ navigation vector diag( λ _t_ ) m _t_
lighting
recurrence
result I ˆ
reference
in-situ captured
ic
Compose instant Calculate navigation direction m _t_
Initialization
image I
ref image set � ic ALR recording result I ˆ
image set �
Online best
ALR recording
_g_ ˆ= _gt_, I <sup>ˆ</sup> = I _t_
and navigation magnitude λ _t_
Calculate ALR
Compose instant
navigation ball �
_t_ _t_
_t_
goodness _g_
_t_ _g_ _gt_ I I _t_
Fig. 2. Overall framework of the proposed active lighting recurrence (ALR) approach that works well for realistic near point light
source or small near surface light source. The green and light-blue blocks indicate pose-adjustment (or image-capturing) and online
calculation processes, respectively. See text for details.
4.1 Initialization
By parallel lighting analogy, we have
S = Nl _,_ (7)
where S _∈_ R <sup>_P_</sup> is shading image that can be obtained by
disambiguated intrinsic image decomposition [41], by solving
I = R _◦_ S . Clearly, from _I_ <sup>ic</sup> and I <sup>ref</sup>, we can obtain _K_ + 1
shading images and we use them to calculate the scene normal
N and reference (target) lighting vector l <sup>ref</sup> (i.e., <sup>ˆ</sup> l in Eq. (5))
via a fast state-of-the-art uncalibrated photometric stereo algorithm, LDR [25]. Considering that the change occurred in
scene is tiny, here we omit the influence of time interval - _τ_
on scene, i.e., _Sτ_ _≈Sτ_ +△ _τ_ = _{_ R _,_ N _}_ <sup>2</sup> . In practice, we only
need _K_ _≈_ 12 side lighting images for initialization.
4.2 Instant navigation ball _B_
Given N and R, the lighting vector l _t_ corresponding to the
current image I _t_ can be easily obtained by solving Eq. (7)
in closed-form solution. To eliminate scene dependency in
ALR process, we online render both current and reference
lightings, l _t_ and l <sup>ref</sup>, onto a unit sphere, rather than on the
real scene normal N . Specifically, let B <sup>ref</sup> and B _t_ be the
reference and currently rendered images of the unit sphere,
i.e., B <sup>ref</sup> = N <sup>s</sup> l <sup>ref</sup> and B _t_ = N <sup>s</sup> l _t_, where N <sup>s</sup> is the sphere
normal which is known. From the Lambertian law, we can
easily obtain the following proposition about the spherical
isointensity sets C <sup>ref</sup> and C _t_, formed by rendered pixels with
some particular intensity value, e.g., the median of B <sup>ref</sup> .
Proposition 1 (SICs & shading equivalence) . _With_ _analogy_
_parallel_ _lighting_ _and_ _Lambertian_ _law,_ _given_ _an_ _arbitrary_
_lighting_ _vector_ l _,_ _the_ _spherical_ _isointensity_ _set_ C _always_
_forms_ _a_ _circle_ _under_ _the_ _view_ _of_ _lighting_ _direction,_ _which_
_can_ _be_ _named_ _as_ _spherical_ _isointensity_ _circle_ _(SIC)._ _Iff_ _the_
_reference_ _and_ _current_ _SICs,_ C <sup>ref</sup> _and_ C _t_ _coincide_ _completely,_
_the_ _reference_ _and_ _current_ _images,_ I <sup>ref</sup> _and_ I _t,_ _are_ _the_ _same._
_Proof._ SICs: For Eq. (7), we replace N by a sphere normal
N <sup>s</sup> . For arbitrary point _p_, we have
B _p_ = N <sup>s</sup> _p_ <sup>l</sup> <sup>=</sup> <sup>_∥_</sup> <sup>l</sup> <sup>_∥_</sup> <sup>cos</sup> <sup>_αp,_</sup> (8)
2. The simplification about scene information is only for estimating reference lighting condition l <sup>ref</sup>, since both I <sup>ref</sup> and I are all real images captured
by camera, the change can be reproduced in the currently captured images.
where _αp_ is the included angle of N <sup>s</sup> _p_
Proposition 1 means that ALR is finished if we can make the
reference and current SICs, C <sup>ref</sup> and C _t_ coincide by adjusting
light source pose. As shown in Fig. 4, we dynamically
compose an _instant_ _navigation_ _ball_ _Bt_ to provide effective
instant ALR navigation for adjusting light source,
_Bt_ = _{_ B _t,_ C _t,_ O _t,_ C <sup>ref</sup> _,_ O <sup>ref</sup> _},_ (10)
where B _t_ is the current rendered image, O <sup>ref</sup> ≜ [1 _, θ_ <sup>ref</sup> _, ϕ_ <sup>ref</sup> ] <sup>T</sup>
and O _t_ ≜ [1 _, θt, ϕt_ ] <sup>T</sup> are the center coordinates of C <sup>ref</sup> and
C _t_, respectively. Essentially, the navigation ball _Bt_ provides a
visual navigation guidance in _t_ th iteration, which can be used
to calculate the navigation direction and magnitude.
4.3 Online calculation of navigation direction m _t_
As shown in Fig. 4, since _θt_ and _ϕt_ encode the lighting
direction of light source in the azimuthal and polar axes
respectively, an analogy parallel light source pose _ρ_ _t_ can be
expressed by vector [ _rt, θt, ϕt_ ] <sup>T</sup> in the spherical coordinate
frame, with _rt_ being the distance between the light source
and the coordinate frame center. Therefore, we can effectively
calculate the ALR navigation direction m _t_ in radial, azimuthal
where _αp_ is the included angle of N <sup>s</sup> _p_ <sup>and</sup> <sup>l</sup> <sup>.</sup> <sup>Given two</sup> <sup>points</sup>
_p_ and _q_ which satisfy B _p_ = B _q_ and _αp, αq_ _∈_ [0 _,_ <sup>_<u>π</u>_</sup> 2 <sup>],</sup> <sup>we</sup> <sup>have</sup>
<sup>_<u>π</u>_</sup> 2 <sup>],</sup> <sup>we</sup> <sup>have</sup>
cos _αp_ = cos _αq_ _⇔_ _αp_ = _αq._ (9)
It means that if any two points on the rendered image B have
the same intensity, the normals of the two points have the
same angle with l . In other words, the points having identical
intensity value on B, i.e., the spherical isointensity set C forms
a circle under the view of the parallel lighting direction.
Shading equivalence: We first prove the sufficient condition.
For each pixel _p_ in C <sup>ref</sup> (and C ) on B <sup>ref</sup> (and B ), we
have B <sup>ref</sup> _p_ <sup>=</sup> <sup>N</sup> _p_ <sup>s</sup> <sup>l</sup> <sup>ref</sup> <sup>and</sup> <sup>B</sup> <sup>_p_</sup> <sup>=</sup> <sup>N</sup> <sup>s</sup> _p_ <sup>l</sup> <sup>.</sup> <sup>Considering</sup> <sup>C</sup> <sup>ref</sup> <sup>=</sup> <sup>C</sup> <sup>,</sup>
have B <sup>ref</sup> _p_ <sup>=</sup> <sup>N</sup> _p_ <sup>s</sup> <sup>l</sup> <sup>ref</sup> <sup>and</sup> <sup>B</sup> <sup>_p_</sup> <sup>=</sup> <sup>N</sup> <sup>s</sup> _p_ <sup>l</sup> <sup>.</sup> <sup>Considering</sup> <sup>C</sup> <sup>ref</sup> <sup>=</sup> <sup>C</sup> <sup>,</sup>
so B <sup>ref</sup> _p_ = B _p_ . Therefore, only if C <sup>ref</sup> contains more than
_p_ <sup>s</sup> <sup>l</sup> <sup>ref</sup> <sup>and</sup> <sup>B</sup> <sup>_p_</sup> <sup>=</sup> <sup>N</sup> <sup>s</sup> _p_
<sup>ref</sup> _p_ <sup>=</sup> <sup>N</sup> _p_ <sup>s</sup>
so B <sup>ref</sup> _p_ = B _p_ . Therefore, only if C <sup>ref</sup> contains more than
three spherical points, the linear system N <sup>s</sup> _p_ <sup>l</sup> <sup>ref</sup> <sup>=</sup> <sup>N</sup> <sup>s</sup> _p_ <sup>l</sup> <sup>leads</sup>
to l <sup>ref</sup> = l . Furthermore, since scene normal and reflectance
remain the same, the real captured images are fully determined
by the lighting condition. Thus, we have I <sup>ref</sup> = I . The proof
of necessary condition is similar to the sufficient condition and
we do not provide the details.
<sup>s</sup> _p_ <sup>l</sup> <sup>ref</sup> <sup>=</sup> <sup>N</sup> <sup>s</sup> _p_
(a) (b) l E (c) E 1 E _D_ (d)
E 1 E _D_
l _t_
(b)
E
(c)
l _p_ 1
l _q_ 1 l _pD_
l _qD_
T _t_
l _t_ `+` 1
Z
s
l E
l _p_ l
l _q_
γ _p_
N s _p_
l l
N s _q_
l N s _q_ N s _p_ γ _p_ l _p_ l _q_ l l _p_ 1 l _q_ 1 l _pD_ l _qD_ T _t_ l _t_ `+` 1 Z `~` l _t_
T _t_ +1
N s _p_
N s _q_
s
N s _p_
ref
T _t_ +1
Z
_α_ _p_ _αq_
_α_ _p_
l Z
<sup>P</sup> _t_
X _p_
γ _q_
N s _q_
X _p_
X _q_
X _p_ X _q_ X _q_ _q_ X _q_ Z
`~` l ref `~` l _t_ `+` 1
X _q_
_αq_
Fig. 3. (a) The parallel lighting model; (b) The near point lighting model; (c) The small near surface lighting model; (d) The
illustration of the ambiguity matrix Z of N & l decomposition for Lemma 4, see text for details.
where _a_ _∈{r, θ, ϕ}_ denotes the three independent spherical
axes, _µ_ is the speed-up rate of navigation magnitude and is
empirically set as 1 _._ 2 in our experiments. With Eq. (12), we
can efficiently obtain the ALR navigation vector, i.e., ALR
increment ∆ _ρ_ _t_ = diag( _λ_ _t_ ) m _t_, which is directly applied on
the robotic platform to conduct the _t_ th ALR adjustment.
4.5 The algorithm and implementation details
<u>Algorithm</u> <u>1:</u> <u>Active</u> <u>Lighting</u> <u>Recurrence</u>
Input: Normal N, reflectance R, reference lighting vector l <sup>ref</sup>
and stopping threshold _η_
Output: <sup>ˆ</sup> I
1 Initialization: _g_ ˆ = 0, _g_ 0 = 0, _t_ = 0;
2 while _gt_ _≤_ _η_ do
3 _t_ + +;
4 Capture current image I _t_ ;
5 Calculate current lighting vector l _t_ by Eq. (7);
6 Compose navigation ball _Bt_ according to Eq. (10);
7 Calculate IoU _gt_ by Eq. (13);
8 if _gt_ _>_ _g_ ˆ then
9 _g_ ˆ = _gt,_ ˆ I = I _t_ ;
10 Calculate navigation command m _t_ by Eq. (11);
11 Calculate navigation magnitude _λ_ _t_ by Eq. (12);
12 Adjust light source pose by diag( _λ_ _t_ ) m _t_ ;
13 return <sup>ˆ</sup> I .
Algorithm 1 shows the detailed working flow of our ALRapl approach. Specifically, in _t_ th iteration, we first compose the
navigation ball _Bt_ according to l <sup>ref</sup> and l _t_, then calculate the
navigation direction m _t_ and navigation magnitude _λ_ _t_ . After
that, we adjust light source pose by diag( _λ_ _t_ ) m _t_ . This iterative
adjustment process is terminated by an ALR goodness _gt_ that
measures the recurrence accuracy by the overlap ratio, i.e., the
Intersection-over-Union (IoU) of C <sup>ref</sup> and C _t_,
_gt_ = <sup><u>A(reg(</u></sup> <sup><u>C</u></sup> <sup>_<u>t</u>_</sup> <sup><u>)</u></sup> <sup>_<u>∩</u>_</sup> <sup><u>reg(</u></sup> <sup><u>C</u></sup> <sup>ref</sup> <sup><u>))</u></sup> (13)
A(reg( C _t_ ) _∪_ reg( C <sup>ref</sup> )) <sup>_,_</sup>
where reg( C _t_ ) and reg( C <sup>ref</sup> ) indicate the regions inclosed by
C _t_ and C <sup>ref</sup> respectively, A( _·_ ) is region area. During ALR, we
record the largest _gt_ and the corresponding current image by
in radial, azimuthal and polar axes, respectively. In _t_ th ( _t ≥_ 1)
ALR iteration, _λ_ _t_ = [ _rt_ <sup>_λ, θ_</sup> _t_ <sup>_λ, ϕλ_</sup> _t_ <sup>]T</sup> <sup>satisfies</sup>
<sup>_λ_</sup> _t_ <sup>]T</sup> <sup>satisfies</sup>
_t_ <sup>_λ, θ_</sup> _t_ <sup>_λ_</sup>
_t_ <sup>_λ, ϕλ_</sup> _t_
<sup>_ρ_</sup> _t_ =[ _rt_, , ] _θt_ <sup>_φ_</sup> _t_ T
m _t_ = [ , , <sup>_r_</sup> m _t_ _θ_ _t_ m _φ_ m _t_ ]
λ = _t_ [ , , <sup>_r_</sup> _t_ λ _θ_ _t_ λ _φt_ λ ] T
_t_ = [ , , <sup>_r_</sup> m _t_ _θ_ _t_ m _φ_ m _t_ ] T
= _t_ [ , , <sup>_r_</sup> _t_ λ _θ_ _t_ λ _φt_ λ ] T
_θ_ _t_ λ _φt_ λ
λ
_t_
C _t_
O _t_
- <u>12</u> <sup>_a_</sup> _t_ <sup>_λ_</sup> _−_ 1 _a_ <sup>m</sup> _t_
<u>12</u> <sup>_a_</sup> _t_ <sup>_λ_</sup> _−_ 1 _a_ <sup>m</sup> _t_ <sup>_a_</sup> <sup>m</sup> _t−_ 1 <sup>_<_</sup> <sup>0</sup> <sup>_,_</sup>
_µa_ <sup>_λ_</sup> _t−_ 1 otherwise _,_
_t−_ 1 (12)
<sup>_λ_</sup> _t−_ 1 otherwise _,_
<sup>m</sup> _t_ <sup>_a_</sup> <sup>m</sup> _t−_
##### z s
instant
navigation ball �� _t_
#### o s
_a_ <sup>_λ_</sup> _t_ <sup>=</sup>
λ _t_ m _t_
<sup>_ρ_</sup> _t_ +1
∆ _ρ_ _t_ =diag ( )
##### x s C ref y s
ref
C
ref
spherical
coordinate frame
x <sup>c</sup>
_ρ_
ref T
_ρ_ =[ _r_ ref, , ] _θ_ ref _φ_ ref
=[ _r_ ref, , ] _θ_ ref _φ_ ref
, , ]ref _φ_ ref
O
<sup>_ρ_</sup> _t_ +2
z <sup>c</sup>
y <sup>c</sup>
Fig. 4. The instant navigation ball _Bt_, reference and current
SICs C <sup>ref</sup> (blue) & C _t_ (red) in the spherical coordinate frame, the
parameterization of light source pose _ρ_ _t_ = [ _rt, θt, ϕt_ ] <sup>T</sup> and ALR
increment ∆ _ρ_ _t_ = diag( _λ_ _t_ ) m _t_, and light source ALR adjustment
trajectory (green line).
and polar axes according to _Bt_,
_t_ <sup>m</sup> <sup>_, θ_</sup> _t_ <sup>m</sup>
_t_ <sup>m]T</sup> <sup>= sgn([</sup> <sup>_A_</sup> <sup>ref</sup> <sup>_, θ_</sup> <sup>ref</sup> <sup>_, ϕ_</sup> <sup>ref</sup> <sup>]T</sup> <sup>_−_</sup> <sup>[</sup> <sup>_At, θt, ϕt_</sup> <sup>]T)</sup> <sup>_,_</sup>
m _t_ = [ _rt_ <sup>m</sup>
_t_ <sup>m</sup> <sup>_, ϕ_</sup> _t_ <sup>m</sup>
(11)
where _A_ <sup>ref</sup> = A( C <sup>ref</sup> ) and _At_ = A( C _t_ ) are the areas of
SICs C <sup>ref</sup> and C _t_, respectively, A( _·_ ) denotes region area,
sgn( _·_ ) is the sign function. In fact, the area of SIC encodes
the distance information between light source and coordinate
frame center. As illustrated by Fig. 4, m _t_ reflects the positive
(+1) or negative ( _−_ 1) ALR directions respectively along the
three axes of spherical coordinate, for the apl model.
4.4 Online calculation of navigation magnitude _λ_ _t_
With real-time calculation of current navigation direction m _t_,
we can establish a manual control loop with [ _A_ <sup>ref</sup> _, θ_ <sup>ref</sup> _, ϕ_ <sup>ref</sup> ] <sup>T</sup>
as desired set-point (SP) and [ _At, θt, ϕt_ ] <sup>T</sup> being the measured process variable (PV). For many real-world fine-grained
change detection tasks, manual ALR, or ALR with hand
(ALR <u>H),</u> is reliable due to its great portability.
Nevertheless, as shown in Fig. 4, we can also effectively
calculate the ALR navigation magnitude _λ_ _t_ via _bisection_
_approaching_, which together with m _t_ can enable an _automatic_
_ALR_ process, with the help of a robotic platform (ALR <u>R).</u>
Specifically, given an initial _λ_ 0 = [ _r_ 0 <sup>_λ, θ_</sup> 0 <sup>_λ, ϕ_</sup> 0 <sup>_λ_</sup> <sup>]T,</sup> <sup>where</sup> <sup>_r_</sup> 0 <sup>_λ_</sup> <sup>,</sup> <sup>_θ_</sup> 0 <sup>_λ_</sup>
Specifically, given an initial _λ_ 0 = [ _r_ 0 <sup>_λ, θ_</sup> 0 <sup>_λ, ϕ_</sup> 0 <sup>_λ_</sup> <sup>]T,</sup> <sup>where</sup> <sup>_r_</sup> 0 <sup>_λ_</sup> <sup>,</sup> <sup>_θ_</sup> 0 <sup>_λ_</sup>
and _ϕ_ <sup>_λ_</sup> 0 <sup>indicate</sup> <sup>the</sup> <sup>initial</sup> <sup>light</sup> <sup>source</sup> <sup>adjustment</sup> <sup>magnitude</sup>
<sup>_λ_</sup> 0 <sup>indicate</sup> <sup>the</sup> <sup>initial</sup> <sup>light</sup> <sup>source</sup> <sup>adjustment</sup> <sup>magnitude</sup>
-10
-20
-30
-40
azimuthal-axis
polar-axis
radial-axis
±| |diag (λ _t_ ) <sup>m</sup> _t_ ||
_<u>μ</u>_ <u>=1.5</u>
40
30
20
10
0
azimuthal-axis
polar-axis
radial-axis
±| |diag (λ _t_ ) <sup>m</sup> _t_ ||
(a)
radial
<sup>_ρ_</sup> 0 <sup>_r_</sup> 0λ <sup>_ρ_</sup> 1 <sup>_ρ_</sup> _n_ _ρ_ ref
<sup>_ρ_</sup> _n_ �1
```
...
```
_rn_ λ scene center
10
8
6
4
2
0
-2
-4
-6
-8
-10
azimuthal-axis
polar-axis
radial-axis
±| |diag (λ _t_ ) <sup>m</sup> _t_ ||
λ
_rn_
0 5 10 15 20 25 30 35 40 45 50
(b) (c)
λ
0 5 10 15 20 25 30 35 40 45 50 <sup>-60</sup>
60
40
20
0
-20
-40
_ρ_ _m_ _rm_ _ρ_ _m_ +2 _ρ_ ref
λ _ρ_ _m_ �1 _ρ_ _m_ +3 _ρ_ _m_ λ _ρ_ ref
_<u>μ</u>_ <u>=1.2</u>
_rm_ λ
_rm_ +1
_ρ_ _m_ +2 _ρ_ ref _ρ_ _m_ �1
_ρ_ _m_ +3 _ρ_ _m_ λ _ρ_ ref _ρ_ _m_ +2 λ
λ
_<u>μ</u>_ <u>=1</u>
0 5 10 15 20 25 30 35 40 45 50
_t_ (iteration) _t_ (iteration) _t_ (iteration)
_ρ_ _m_ +2 λ _ρ_ _m_ �1
_rm_ +1
_rm_ +2
_<u><mark>μ</mark></u>_ <u><mark>=2</mark></u>
0 5 10 15 20 25 30 35 40 45 50
500
400
300
200
100
0
azimuthal-axis
polar-axis
radial-axis
±| |diag (λ _t_ ) <sup>m</sup> _t_ ||
azimuthal-axis
polar-axis
radial-axis
±| |diag (λ _t_ ) <sup>m</sup> _t_ ||
(d) (e)
azimuthal-axis
polar-axis
radial-axis
±| |diag (λ _t_ ) <sup>m</sup> _t_ ||
λ
_rm_ +1
λ
_rm_ λ+2
_ρ_ ref
λ
_ρ_ _m_ �1 _ρ_ ref _ρ_ _m_ +2 λ _ρ_ _m_ _ρ_ _m_ �1 _ρ_ _m_ +2 _ρ_ ref _ρ_ _m_ _ρ_ _m_ +3
80
60
40
20
0
-20
-40
-60
-80
_ρ_ _m_ _ρ_ _m_ �1 _m_ +1 _ρ_ _m_ +2 _ρ_ ref
_ρ_ _m_ �1 _rm_ +1 λ
_ρ_ _m_
_rm_
_rm_
_<u>μ</u>_ <u>=1.7</u>
150
100
50
0
-50
-100
-100
-200
-300
_<u><mark>μ</mark></u>_ <u><mark>=2</mark></u> -400
0 5 10 15 20 25 30 35 40 45 50 <sup>-500</sup>
_μ_ =2.2
0 5 10 15 20 25 30 35 40 45 50 <sup>-150</sup>
Fig. 5. The light source pose adjustment in radial-axis during
ALR. (b) (or (c)) and (d) (or (e)) happen alternately after (a).
According this observation, we can prove the convergence of
pose adjustment in radial-axis. See text for details.
_g_ ˆ and <sup>ˆ</sup> I, respectively. Once _gt_ _≤_ _η_, <sup>ˆ</sup> I is just the final lighting
recurrence result. We set _η_ to 0 _._ 98 and we use the median
of reference rendered image B <sup>ref</sup> to form C <sup>ref</sup> and C . We
empirically set _r_ 0 <sup>_λ_</sup> <sup>=</sup> <sup>_θ_</sup> 0 <sup>_λ_</sup> <sup>=</sup> <sup>_ϕλ_</sup> 0 <sup>= 5mm</sup> <sup>in</sup> <sup>our</sup> <sup>experiments.</sup>
4.6 Convergence analysis
_t_ (iteration) _t_ (iteration) _t_ (iteration)
Fig. 6. Iterative changes of navigation vector diag( _λ_ _t_ ) m _t_
during ALR under different speed-up rate _µ_ of navigation magnitude. See text for details.
where _µ_ is the speed-up rate of navigation magnitude. Therefore, for _t_ th iteration ( _t > n_ ), we have
_t_ <sup>_λ_</sup> <sup>=</sup> <sup>_µn−_</sup> <sup>1�</sup> <sup><u>1</u></sup>
_rt_ <sup>_λ_</sup>
2
- _i_ - _<u>µ</u>_
2
- _j_
_r_ 0 <sup>_λ,_</sup> (16)
Eq. (12) indeed defines a _bisection_ _approaching_ _strategy_ . We
can see that the light source pose adjustments in the three
spherical axes are independent of one another. In _t_ th iteration,
we physically adjust the light source pose by diag( _λ_ _t_ ) m _t_,
which is calculated by Eq. (11) and Eq. (12). After multiple
adjustments, the light source finally reaches the target pose,
i.e., ALR is finished. See the green curve of Fig. 4 for an
example of light source adjustment trajectory. Hence, the convergence of the ALR process relies on _t_ lim _→∞_ <sup>diag(</sup> <sup>_λ_</sup> <sup>_t_</sup> <sup>)</sup> <sup>m</sup> <sup>_t_</sup> <sup>=</sup> <sup>0</sup> <sup>.</sup>
Lemma 1 (Convergence of _λ_ _t_ ) . _Using the bisection approach-_
_ing strategy, i.e., Eq. (12), if bisection occurs infinite times, we_
_have_ _t_ lim _→∞_ <sup>_λ_</sup> <sup>_t_</sup> <sup>=</sup> <sup>0</sup> <sup>_if_</sup> <sup>_µ <_</sup> <sup>2</sup> <sup>_._</sup>
_Proof._ We have _λ_ _t_ = [ _rt_ <sup>_λ, θ_</sup> _t_ <sup>_λ, ϕλ_</sup> _t_ <sup>]T</sup> <sup>and</sup> <sup>we</sup> <sup>first</sup> <sup>prove</sup> <sup>the</sup>
convergence of _rt_ <sup>_λ_</sup> <sup>.</sup> <sup>As</sup> <sup>shown</sup> <sup>in</sup> <sup>Fig.</sup> <sup>5(a),</sup> <sup>we</sup> <sup>assume</sup> <sup>the</sup>
where _i_ and _j_ denote the occurrence times of Eq. (14) and
Eq. (15), respectively. In fact, _t_ = _n_ + _i_ +2 _j_ . Since _n_ is finite,
when _t_ approaches infinity, _i_ and _j_ also approach infinity.
Hence, we have _t_ lim _→∞_ <sup>_r_</sup> _t_ <sup>_λ_</sup> <sup>= 0</sup> <sup>if</sup> <sup>_µ <_</sup> <sup>2.</sup> <sup>The</sup> <sup>convergence</sup> <sup>proof</sup>
_t_ <sup>_λ_</sup> <sup>= 0</sup> <sup>if</sup> <sup>_µ <_</sup> <sup>2.</sup> <sup>The</sup> <sup>convergence</sup> <sup>proof</sup>
of _θt_ <sup>_λ_</sup>
_t_ <sup>_λ_</sup> <sup>or</sup> <sup>_ϕλ_</sup> _t_
<sup>_λ_</sup> _t_ <sup>is</sup> <sup>same</sup> <sup>to</sup> <sup>_r_</sup> _t_ <sup>_λ_</sup>
_t_ lim _→∞_ <sup>_r_</sup> _t_ <sup>_λ_</sup>
of _θt_ <sup>_λ_</sup> <sup>or</sup> <sup>_ϕλ_</sup> _t_ <sup>is</sup> <sup>same</sup> <sup>to</sup> <sup>_r_</sup> _t_ <sup>_λ_</sup> <sup>and</sup> <sup>we</sup> <sup>don’t</sup> <sup>provide</sup> <sup>the</sup> <sup>details</sup>
here. Then, we have _t_ lim _→∞_ <sup>_λ_</sup> <sup>_t_</sup> <sup>=</sup> <sup>0</sup> <sup>when</sup> <sup>_µ <_</sup> <sup>2.</sup>
_t_ lim _→∞_ <sup>_λ_</sup> <sup>_t_</sup> <sup>=</sup> <sup>0</sup> <sup>when</sup> <sup>_µ <_</sup> <sup>2.</sup>
_Proof._ We have _λ_ _t_ = [ _rt_ <sup>_λ_</sup>
_t_ <sup>_λ, θ_</sup> _t_ <sup>_λ_</sup>
_t_ <sup>_λ, ϕλ_</sup> _t_
convergence of _rt_ <sup>_λ_</sup> <sup>.</sup> <sup>As</sup> <sup>shown</sup> <sup>in</sup> <sup>Fig.</sup> <sup>5(a),</sup> <sup>we</sup> <sup>assume</sup> <sup>the</sup>
light source has been adjusted to _ρ_ _n_ along the radial-axis
from initial pose _ρ_ 0, and the light source should cross the
reference pose _ρ_ <sup>ref</sup> at next iteration _n_ + 1. Note, the solid
and dashed lines indicate the adjustments that have and have
not yet occurred, respectively. Then, we have the conclusion
that if _µ <_ 2, Fig. 5(b) (or (c)) and Fig. 5(d) (or (e)) happen
alternately. Specifically, after _n_ th iteration, i.e., Fig. 5(a), then
Fig. 5(b) or (c) must happen and followed by Fig. 5(d) or
(e), and Fig. 5(b) or (c) happens once again after that. The
alternation process lasts forever. Note, here we only consider
_µ_ _<_ 2. If _µ_ _≥_ 2, the above alternation process may not be
satisfied. For Fig. 5(b) or (d), we have
_m_ <sup>_λ_</sup> +1 <sup>=</sup> <sup><u>1</u></sup>
2
_r_ <sup>_λ_</sup>
<sup><u>1</u></sup> _m_ <sup>_,_</sup> (14)
2 <sup>_rλ_</sup>
where _m ≥_ _n_ . Similarly, for Fig. 5(c) or (e), we have
_rm_ <sup>_λ_</sup>
_m_ <sup>_λ_</sup> +2 <sup>=</sup> <sup>_µr_</sup> _m_ <sup>_λ_</sup>
_m_ <sup>_λ_</sup> +1 <sup>=</sup> <sup>_<u>µ</u>_</sup>
2
<sup>_<u>µ</u>_</sup> _m_ <sup>_,_</sup> (15)
2 <sup>_rλ_</sup>
According to Lemma 1, we have _t_ lim _→∞_ <sup>diag(</sup> <sup>_λ_</sup> <sup>_t_</sup> <sup>)</sup> <sup>m</sup> <sup>_t_</sup> <sup>=</sup> <sup>0</sup> <sup>.</sup>
Fig. 6 demonstrates the convergence process of the navigation vector diag( _λ_ _t_ ) m _t_ under different speed-up rate _µ_ by
simulation experiment. We set the target light source pose,
initial light source pose and initial navigation magnitude to
[60 _, −_ 70 _,_ 80] <sup>T</sup>, [0 _,_ 0 _,_ 0] <sup>T</sup> and [5 _,_ 5 _,_ 5] <sup>T</sup>, respectively. Then we
conduct ALR under different speed-up rates. From Fig. 6, we
can find that, _µ_ _>_ 1 ( _µ_ = 1 _._ 2, _µ_ = 1 _._ 5 in Fig. 6) may
effectively help the light source to quickly approach the target
and accelerate the convergence compared with _µ_ = 1. Besides,
Fig. 6 also verifies that ALR does not converge if _µ_ _≥_ 2. In
fact, the selection of _µ_ is related to many factors, e.g., scene,
initial light source pose, initial navigation magnitude of ALR.
Empirically, we set _µ_ to 1 _._ 2 in our experiments.
4.7 Invariance to N and l decomposition ambiguity
According to Eq. (7), the N and l decomposition generally
subjects to an ambiguity matrix Z satisfying S = Nl =
˜NZ <sup>_−_</sup> <sup>1</sup> Z˜l, where ˜N _∈_ R <sup>_P ×_</sup> <sup>3</sup> and ˜l _∈_ R <sup>3</sup> are the real
normal and lighting vector. Therefore, our initialization also
exits an ambiguity matrix Z between the calculated and real
lighting vectors (or scene normals), which may influence the
correctness of ALR. Fortunately, we prove that if the angle
difference between <sup>˜</sup> l and l is not larger than <sup>_<u>π</u>_</sup> 3 <sup>,</sup> <sup>the</sup> <sup>ambiguity</sup>
matrix Z does not affect the effectiveness and convergence of
our ALR approach.
Lemma 2. _The_ _ambiguity_ _matrix_ Z _generated_ _by_ _the_ _decom-_
_position_ _of_ _Eq._ _(7)_ _is_ _a_ _rotation_ _matrix._
_Proof._ Since NZ <sup>˜</sup> <sup>_−_</sup> <sup>1</sup> = N is a full rank linear system, Z has
a unique solution. Since both N <sup>˜</sup> _p_ and N _p_ are 1 _×_ 3 row unit
vectors for any point _p_, there is a rotation matrix T satisfying
T N <sup>˜</sup> <sup>T</sup> _p_ <sup>=</sup> <sup>N</sup> <sup>T</sup> _p_ <sup>,</sup> <sup>then</sup> <sup>T</sup> <sup>=</sup> <sup>Z</sup> <sup>,</sup> <sup>i.e.,</sup> <sup>Z</sup> <sup>is</sup> <sup>a</sup> <sup>rotation</sup> <sup>matrix.</sup>
<sup>T</sup> _p_ <sup>=</sup> <sup>N</sup> <sup>T</sup> _p_
<sup>T</sup> _p_ <sup>,</sup> <sup>then</sup> <sup>T</sup> <sup>=</sup> <sup>Z</sup> <sup>,</sup> <sup>i.e.,</sup> <sup>Z</sup> <sup>is</sup> <sup>a</sup> <sup>rotation</sup> <sup>matrix.</sup>
Lemma 3. _The_ _ALR_ _navigation_ _guidance_ _in_ _radial-axis_ _is_
_independent_ _to_ Z _._
_Proof._ From Proposition 1, we know that for any point _p_ in
SIC C, l and N <sup>s</sup> _p_ <sup>have</sup> <sup>the</sup> <sup>same</sup> <sup>included</sup> <sup>angle</sup> <sup>_α_</sup> <sup>.</sup> <sup>We</sup> <sup>have</sup>
B _p_ = N <sup>s</sup> _p_ <sup>l</sup> <sup>=</sup> <sup>_∥_</sup> <sup>l</sup> <sup>_∥_</sup> <sup>cos</sup> <sup>_α._</sup> (17)
Let _r_ be the radius of C, then the area _A_ of C satisfies
_A_ = _πr_ <sup>2</sup> = _π_ sin <sup>2</sup> ( _α_ ) = _π_ (1 _−_ cos <sup>2</sup> ( _α_ )) _._ (18)
Since _α_ _∈_ [0 _,_ <sup>_<u>π</u>_</sup> 2
<sup>_<u>π</u>_</sup> 2 <sup>],</sup> <sup><u>combining</u></sup> <sup>Eq.</sup> <sup>(17)</sup> <sup>and</sup> <sup>Eq.</sup> <sup>(18),</sup> <sup>we</sup>
5 ALR UNDER MORE REALISTIC LIGHTING
In fact, ideal parallel lighting is inexistent in the real world.
The commonly-used realistic light sources include near point
light (NPL) source and small near surface light (sNSL) source.
However, the NPL model or sNSL model usually cannot
satisfy the requirement of real-time navigation response of
ALR, because of the model’s sophistication. Fortunately, in
this paper, we prove that using the proposed ALR-apl method
can also be applied to the above two kinds of light sources.
5.1 ALR under near point lighting
From Fig. 3(b), near point lighting assigns different scene
points with distance-related lighting directions,
I _p_ =FNPL( _L_ ( _ρ_ _|_ Θ ) _, Sτ_ +△ _τ_ ( _p_ ))
(20)
= R _p_ S _p_ = _e_ N _p_ ( _ρ_ _−_ X _p_ ) _/∥_ _ρ_ _−_ X _p∥_ <sup>3</sup> R _p,_
where S _∈_ R <sup>_P_</sup> is the shading image, _ρ_ _∈_ R <sup>3</sup> is the near point
light source position, X _p_ _∈_ R <sup>3</sup> indicates the spatial coordinate
of point _p_, _e_ is the lighting power.
Proposition 2 (SICs & shading equivalence) . _Under_ _NPL_
_model, Given an arbitrary near point light source position, the_
_spherical_ _isointensity_ _set_ C _acquired_ _from_ _the_ _rendered_ _image_
B _always_ _forms_ _a_ _circle,_ _under_ _the_ _view_ _that_ _light_ _source_
_points_ _to_ _the_ _sphere_ _center._ _Iff_ _the_ _reference_ _and_ _current_ _SICs_
C <sup>ref</sup> _and_ C _t_ _coincide_ _completely,_ _the_ _reference_ _and_ _current_
_images,_ I <sup>ref</sup> _and_ I _t,_ _are_ _the_ _same._
_Proof._ SICs: We replace N by a sphere normal N <sup>s</sup> . Let E be
the light source position. From Fig. 3(b), we have
~~<u>�</u>~~
have B _p_ = _∥_ l _∥_ 1 _−_ <sup>_<u>A</u>_</sup> _π_ <sup>.</sup> <sup>Since</sup> <sup>the</sup> <sup>intensities</sup> <sup>of</sup> <sup>all</sup> <sup>points</sup>
in reference <u>SIC</u> C <sup>ref</sup> and <u>current</u> SIC C are the same, so
�� l ref ���1 _−_ <sup>_<u>A</u>_</sup> _π_ <sup>ref</sup> = _∥_ l _∥_ �1 _−_ <sup>_<u>A</u>_</sup> _π_ <sup>.</sup> <sup>We</sup> <sup>can</sup> <sup>see</sup> <sup>_A_</sup> <sup>ref</sup> <sup>_⋆A_</sup> <sup>_⇔_</sup>
have B _p_ = _∥_ l _∥_
�� l ref ���1 _−_ <sup>_<u>A</u>_</sup> _π_ <sup>ref</sup> = _∥_ l _∥_ �1 _−_ <sup>_<u>A</u>_</sup> _π_ <sup>.</sup> <sup>We</sup> <sup>can</sup> <sup>see</sup> <sup>_A_</sup> <sup>ref</sup> <sup>_⋆A_</sup> <sup>_⇔_</sup>
�� l ref �� _⋆∥_ l _∥_, where _⋆_ denotes the operator in _{<,_ = _, >}_, i.e., _A_
and _∥_ l _∥_ have the same magnitude relation. Besides, we know
�� l ref �� = ��� Z˜l ref ��� = ��� ˜l ref ��� and _∥_ l _∥_ = ��� Z˜l ��� = ��� ˜l ���. It means
_A_ <sup>ref</sup> and _A_ have the same magnitude relation to ground truth
_A_ ˜ <sup>ref</sup> and _A_ ˜. Thus, the ambiguity matrix Z does not influence
the ALR navigation in radial direction.
Lemma 4. _Let_ _⟨β,_ e _⟩_ _be_ _the_ _axis-angle_ _representation_ _of_ Z _._
_For the azimuthal and polar direction in Eq. (11), if β_ _≤_ <sup>_<u>π</u>_</sup> 3 <sup>_,_</sup> <sup>Z</sup>
_does_ _not_ _affect_ _our_ _ALR_ _process._ _We_ _can_ _faithfully_ _relocalize_
_the_ _light_ _source_ _to_ _reference_ _apl_ _pose._
_Proof._ The azimuthal and polar adjustments of light source
on sphere only cause the change of lighting direction. Since
we use the same R and N to calculate l _t_ and l <sup>ref</sup>, it satisfies
l <sup>ref</sup> = Z <sup>˜</sup> l <sup>ref</sup> and l _t_ = Z <sup>˜</sup> l _t_, where <sup>˜</sup> l <sup>ref</sup> and <sup>˜</sup> l _t_ are the real
reference and current lighting vectors. From Fig. 3(d), we have
l <sup>ref</sup> = T _t_ l _t_ = T _t_ +1 l _t_ +1 _,_ l _t_ = Z <sup>˜</sup> l _t,_ ˜l _t_ +1 = P _t_ ˜l _t,_ (19)
B _p_ = N <sup>s</sup> _p_ <sup>l</sup> <sup>_p_</sup>
_<u>e</u>_
_∥_ l _p∥_ <sup>3</sup> <sup>= cos</sup> <sup>_γp_</sup>
_<u>e</u>_
_∥_ l _p∥_ <sup>2</sup> <sup>_,_</sup> (21)
_<u>e</u>_
where l _p_ _∈_ R <sup>3</sup> indicates the lighting vector and satisfies l _p_ =
E _−_ X _p_, _∥_ l _p∥_ represents the distance between E and X _p_, _γp_
denotes the included angle between l _p_ and N <sup>s</sup> _p_ <sup>.</sup> <sup>Since</sup> <sup>cos</sup> <sup>_γp_</sup>
and _∥_ l _p∥_ have the same magnitude relation, thus
where _t_ denotes _t_ th iteration, rotation matrix T _t_ denotes
the matrix form of navigation from current lighting to the
reference one, P _t_ is the real light source adjustment realized by robotic platform or hand. From Eq. (19), we have
T _t_ +1 = T _t_ ZP <sup>_−_</sup> _t_ <sup>1</sup> <sup>Z</sup> <sup>_−_</sup> <sup>1.</sup> <sup>Generally,</sup> <sup>we</sup> <sup>pursue</sup> <sup>to</sup> <sup>adjust</sup> <sup>light</sup>
2 <sup>and</sup> <sup>B</sup> _p_ <sup>=</sup> <sup>cos</sup> <sup>_γ_</sup> _p_ _∥_ l _pe∥_ <sup>2</sup> <sup>.</sup> <sup>Since</sup> <sup>C</sup> <sup>ref</sup> <sup>=</sup>
_<u>e</u>_
_∥_ <sup>l</sup> <sup>ref</sup> _p_
<sup>ref</sup> _p_ <sup>_∥_</sup>
T _t_ +1 = T _t_ ZP <sup>_−_</sup> _t_ <sup>1</sup> <sup>Z</sup> <sup>_−_</sup> <sup>1.</sup> <sup>Generally,</sup> <sup>we</sup> <sup>pursue</sup> <sup>to</sup> <sup>adjust</sup> <sup>light</sup>
source by T _t_, i.e., P _t_ = T _t_ . So, T _t_ +1 = T _t_ ZT <sup>_−_</sup> _t_ <sup>1</sup> <sup>Z</sup> <sup>_−_</sup> <sup>1.</sup>
B _p_ = B _q_ _⇔_ _γp_ = _γq,_ _∥_ l _p∥_ = _∥_ l _q∥_ _._ (22)
So we have the same conclusion like Proposition 1, i.e., the
spherical isointensity set C forms a circle under the view that
the point light source towards the sphere center.
Shading equivalence: We first prove the sufficient condition.
For each pixel _p_ in C <sup>ref</sup> (and C ) on B <sup>ref</sup> (and B ), we have
B <sup>ref</sup> _p_ = cos _γp_ <sup>ref</sup> _<u>e</u>_ 2 <sup>and</sup> <sup>B</sup> _p_ <sup>=</sup> <sup>cos</sup> <sup>_γ_</sup> _p_ _∥_ l _pe∥_ <sup>2</sup> <sup>.</sup> <sup>Since</sup> <sup>C</sup> <sup>ref</sup> <sup>=</sup>
C, B <sup>ref</sup> _p_
C, B <sup>ref</sup> _p_ = B _p_ . Refer to Proposition 1, cos _γp_ and _∥_ l _p∥_ have
the same magnitude relation, we have _γp_ <sup>ref</sup> = _γp_, then
source by T _t_, i.e., P _t_ = T _t_ . So, T _t_ +1 = T _t_ ZT <sup>_−_</sup> _t_ <sup>1</sup> <sup>Z</sup> <sup>_−_</sup> <sup>1.</sup>
From Theorem 1 of [14], we know T _t_ infinitely approaches
unit matrix if _β_ _≤_ _<u>π</u>_ 3 <sup>,</sup> <sup>i.e.,</sup> <sup>l</sup> <sup>_t_</sup> <sup>and</sup> <sup>l</sup> <sup>ref</sup> <sup>are</sup> <sup>coincided.</sup> <sup>Since</sup>
˜l <sup>ref</sup> = Z <sup>_−_</sup> <sup>1</sup> l <sup>ref</sup> and ˜l _t_ = Z <sup>_−_</sup> <sup>1</sup> l _t_, ˜l _t_ and ˜l <sup>ref</sup> are coincided too.
Hence, we can say that users can always relocalize the light
source to the reference pose if _β_ _≤_ <sup>_<u>π</u>_</sup> 3 <sup>.</sup>
<sup>ref</sup> _p_ = cos _γp_ <sup>ref</sup>
_p_
_p_ <sup>ref</sup> = _γp_, then
_γp_ <sup>ref</sup>
_p_ <sup>ref</sup> = _γp_ _⇔_ N <sup>s</sup> _p_
_⇔_ N <sup>s</sup> _p_ <sup>l</sup> <sup>ref</sup> _p_ = N <sup>s</sup> _p_ <sup>l</sup> <sup>_p_</sup>
_⇔_ N <sup>s</sup> _p_ <sup>(</sup> <sup>E</sup> <sup>ref</sup> <sup>_−_</sup> <sup>X</sup> <sup>_p_</sup>
<sup>s</sup> _p_ <sup>l</sup> <sup>ref</sup> _p_
<sup>ref</sup> _p_ = N <sup>s</sup> _p_
<sup>s</sup> _p_ <sup>(</sup> <sup>E</sup> <sup>_−_</sup> <sup>X</sup> <sup>_p_</sup> <sup>)</sup>
(23)
Hence, we can say that users can always relocalize the light
source to the reference pose if _β_ _≤_ <sup>_<u>π</u>_</sup> 3 <sup>.</sup>
_⇔_ N <sup>s</sup> _p_
<sup>s</sup> _p_ <sup>(</sup> <sup>E</sup> <sup>ref</sup> <sup>_−_</sup> <sup>X</sup> <sup>_p_</sup> <sup>) =</sup> <sup>N</sup> <sup>s</sup> _p_
<sup>s</sup> _p_ <sup>E</sup> <sup>ref</sup> <sup>=</sup> <sup>N</sup> <sup>s</sup> _p_
<sup>s</sup> _p_ <sup>E</sup> <sup>_._</sup>
The convergence condition of Z in Lemma 4 is equivalent to
the one of lighting vector, i.e., if the angle difference between <sup>˜</sup> l
and l is not larger than <sup>_<u>π</u>_</sup> 3 <sup>,</sup> <sup>Z</sup> <sup>does not affect the convergence of</sup>
our ALR-apl. In fact, the convergence condition can be easily
satisfied by current photometric stereo methods [25], which is
empirically verified and discussed in detail in Sec. 6.2.
Since Eq. (23) holds for any point in C <sup>ref</sup> and C, we have
E <sup>ref</sup> = E, i.e., the reference and current positions of near
point light source are the same, so I <sup>ref</sup> = I . The proof of
necessary condition is similar to the sufficient condition and
we do not provide the details.
(a) (b)
E
1
<sup>l</sup> _p_ 1
�� ¯l _p_ ��, where ¯l _p_ is the lighting vector that sNSL center points
to scene point X _p_ . Then we rewrite Eq. (26) as
E
1
<sup>l</sup> _p_ E
l
_pD_
E
_D_
X _p_
_D_
_d_ =1
_<u>e</u>_
<u>�</u> ¯l _p_ <u>��3</u>
E
_D_
B _p_ = N <sup>s</sup> _p_
l _pd._ (27)
Fig. 7. (a) The size of sNSL is much less than the distance between sNSL and scene center; (b) The sNSL can be described
as a combination of multiple NPLs.
Proposition 3 (ALR navigation equivalence) . _The_ _ALR_ _ap-_
_proach_ _for_ _the_ _apl_ _model_ _is_ _also_ _applicable_ _to_ _NPL_ _model._
_Proof._ As shown in Fig. 3(b), there is an approximate parallel
lighting l which parallels to the direction that the NPL towards
sphere center. We use superscripts ‘apl’ and ‘npl’ to distinguish
the two models. Given any two points _p_ and _q_, it satisfies
Refer to Fig. 7(b), we have
l _p_ 1 + l _pD_ = 2 <sup>¯</sup> l _p,_ l _p_ 2 + l _pD−_ 1 = 2 <sup>¯</sup> l _p,_ _......_ (28)
where <sup>¯</sup> l _p_ = E <sup>¯</sup> _−_ X _p_, and E <sup>¯</sup> indicates the coordinate of sNSL
center. According to Eq. (28), we can get <sup>�</sup> _d_ <sup>_D_</sup> =1 <sup>l</sup> <sup>_pd_</sup> <sup>=</sup> <sup>_D_</sup> <sup>¯l</sup> <sup>_p_</sup> <sup>.</sup>
Then we rewrite Eq. (27) as
B _p_ = _D_ N <sup>s</sup> _p_ <sup>¯l</sup> <sup>_p_</sup>
_<u>e</u>_
(29)
<u>�</u> ¯l _p_ <u>��3</u> _._
B <sup>apl</sup> _p_
<sup>apl</sup> _p_ _⋆_ B <sup>apl</sup> _q_
B <sup>apl</sup> _p_ _⋆_ B <sup>apl</sup> _q_ _⇔_ _αp ⋆αq_
_⇔_ _γp ⋆γq,_ _∥_ l _p∥_ = _∥_ l _q∥⇔_ B <sup>npl</sup> _p_
(24)
<sup>npl</sup> _q_ <sup>_,_</sup>
We can see that _D_ is a constant and Eq. (29) has the same
form with Eq. (21), so the sNPL can be seen as a NPL, and
the spatial coordinate is E <sup>¯</sup> . Similar to the propositions about
NPL, we can take the conclusion that the ALR-apl method
can be applied to sNSL condition directly.
6 EXPERIMENTAL RESULTS
(a) (b)
Fig. 8. Working scene with near point light source (a) and small
near surface light source (b).
6.1 Setup
We build 13 different scenes (S1–13) for evaluating the
proposed ALR method. S1–3, S11 and S13 mainly exhibit
near-Lambertian surface. The other scenes involve some nonLambertian regions, e.g., transparency (S4, S12), hard cast
shadow (S5–6) and specularity (S7–10, S12). See Fig. 8, we
use a small lamp bulb and a small handheld LED surface
light source as the near point light (NPL) source and small
near surface light source (sNSL), respectively. Besides, we
employ a consumer robotic arm (uArm Swift Pro) to verify the
effectiveness of the automatic ALR. All images are captured
by a Canon 5D Mark III camera. Experiments are conducted
in a consumer computer with i7 CPU.
6.2 Convergence and effectiveness validation
Refer to Eq. (12), we use a _bisection_ _approaching_ _strategy_ to
calculate the navigation vector diag( _λ_ _t_ ) m _t_ for _t_ th iteration
of ALR. To verify the convergence of navigation vector, we
conduct ALR using the robotic arm for scenes S4 and S5,
then we record the navigation vector of each iteration. Fig. 9
shows the relation of the navigation vector (absolute value)
and the iteration number for the two scenes. We can clearly
see that the navigation direction is alternately changed during
ALR process, and the navigation magnitude increases in the
<sup>npl</sup> _p_ _⋆_ B <sup>npl</sup> _q_
where _⋆_ denotes an operator in _{>, <,_ = _}_ . That is, B <sup>apl</sup> _p_
_p_
and B <sup>npl</sup> _p_ have the same magnitude relation. Thus, combining
and B <sup>npl</sup> _p_ have the same magnitude relation. Thus, combining
Proposition 2, the proposed ALR-apl strategy can also be
applied to near point lighting condition.
Proposition 2 is similar to Proposition 1. Besides, Proposition 3 guarantees we can directly apply ALR-apl to NPL and
avoid solving the complex inverse problem for NPL model.
5.2 ALR under small near surface lighting
Refer to Fig. 3(c), a small near surface light source (sNSL) can
be seen as the combination of many near point light sources.
Thus, under sNSL model, we have
I _p_ =FsNSL( _L_ ( _ρ_ _|_ Θ ) _, Sτ_ +△ _τ_ ( _p_ ))
= R _p_ S _p_ =
_D_
_d_ =1
_e_ N _p_
<u>(</u> <u>E</u> _<u>d −</u>_ <u>X</u> _<u>p</u>_ <u>)</u> (25)
_∥_ E _d −_ X _p∥_ <sup>3</sup> <sup>R</sup> <sup>_p,_</sup>
where E _d_ indicates the _d_ th near point light source, _e_ denotes
the lighting power of all NPLs, _D_ is the number of NPLs,
X _p_ _∈_ R <sup>3</sup> indicates the spatial coordinate of point _p_ . We can
find that solving _ρ_ from Eq. (25) is a nonlinear problem which
is hard to be solved. Replacing the scene normal by the sphere
normal N <sup>s</sup>, we have
_<u>e</u>_
_∥_ l _pd∥_ <sup>3</sup> <sup>_,_</sup> (26)
B _p_ =
_D_
_d_ =1
N <sup>s</sup> _p_ <sup>l</sup> <sup>_pd_</sup>
where l _pd_ indicates the lighting vector that _p_ th scene point
towards _d_ th NPL, and it satisfies l _pd_ = E _d −_ X _p_ . As shown
in Fig. 7(a), generally, the size of sNSL is much less than
the distance between sNSL and the scene center. Besides, we
take no account of the rotation of sNSL and keep the sNSL
midperpendicular always pointing to the scene center during
ALR process. Under these constraints, we can approximatively
consider that each NPL in sNSL has the same distance to a
certain scene point X _p_, i.e., _∥_ l _p_ 1 _∥_ = _∥_ l _p_ 2 _∥_ = _..._ = _∥_ l _pD∥_ =
1820 (a)
azimuthal-axis
polar-axis
radial-axis
||diag (λ _t_ ) <sup>m</sup> _t_ ||
(b) azimuthal-axis
polar-axis
radial-axis
||diag (λ _t_ ) <sup>m</sup> _t_ ||
0 5 10 15 20 25 30 35
#Iteration
conduct ALR using robotic arm for S1–5 with different numbers of in-situ images. The 2nd to 5th rows of Table 2 show
the averages of 4 commonly-used image similarity criteria,
i.e., MSE, PSNR, SSIM and MS-SSIM [42] under different
image numbers. The 6th row of Table 2 shows the mean angle
error (MAE) between the calculated scene normal and the
one using 100 images. We can see the MAE reduces with
the increase of image number, and the recurrence accuracy
of ALR is stable and always well. In fact, our ALR method
is effective as long as the calculated scene normal satisfies
Lemma 4, and more images cannot help to improve the
recurrence accuracy. Empirically, we use 13 multi-illumination
images for calculating scene normal and reflectance.
TABLE 2
ALR accuracy vs. #images used in initialization.
<u>#</u> <u>Imgs</u> <u>5</u> <u>10</u> <u>20</u> <u>40</u> <u>60</u> <u>80</u> <u>100</u>
<u>MSE</u> <u>3.4289</u> <u>3.2433</u> <u>2.5803</u> <u>2.8792</u> <u>2.6086</u> <u>2.7137</u> <u>2.8708</u>
<u>PSNR</u> <u>42.7792</u> <u>43.0208</u> <u>44.0140</u> <u>43.5379</u> <u>43.9665</u> <u>43.7950</u> <u>43.5506</u>
<u>MSSSIM</u> <u>0.9953</u> <u>0.9953</u> <u>0.9961</u> <u>0.9957</u> <u>0.9961</u> <u>0.9960</u> <u>0.9957</u>
<u>MS</u> <u>MSSIM</u> <u>0.9964</u> <u>0.9964</u> <u>0.9967</u> <u>0.9965</u> <u>0.9967</u> <u>0.9966</u> <u>0.9966</u>
<u>MAE</u> <u>20</u> _<u>π</u>_ <u>23</u> _<u>π</u>_ <u>49</u> _<u>π</u>_ <u>87</u> _<u>π</u>_ <u>136</u> _<u>π</u>_ <u>305</u> _<u>π</u>_ <u>0</u>
6.3 Quantitative comparison
To compare with our ALR method, we use the small lamp
bulb (NPL) and the small handheld LED surface light source
(sNSL) to collect 13 multi-illumination images as the reference
images for scenes S1–10 and scenes S11–13, respectively. We
recur all the 13 side lightings using our ALR method for
all scenes by hand (ALR H). Considering the robotic arm
only has 3 degrees of freedom and it cannot keep the sNSL
always towards the scene center, so we only conduct ALR with
robotic arm (ALR <u>R) for S11–13. We use PTM [4], HSH [5],</u>
LDR [25] as the baselines. PTM [4] and HSH [5] are two
image-based relighting methods. For PTM and HSH, we use a
light probe to calibrate the lighting direction for each captured
image. LDR [25] is a state-of-the-art uncalibrated photometric
stereo method based on parallel lighting model. We carry out
the 3 methods using the captured 13 images and generate 13
lighting recurrence images. We use MSE, PSNR, SSIM, MSSSIM [42] as accuracy metrics.
Fig. 11 and Fig. 12 show the quantitative comparisons of
our ALR method and 3 baselines for scenes S1–10 and S11–
13, respectively. Each node indicates the average evaluation
of 13 lighting recurrence results and the up and down bar
of each node denotes the variance. The average of each
method for all scenes are also shown in Fig. 11 and Fig. 12.
Besides, all the scores of the 4 criteria for each scene can
be approached in Tables 3–6. We can see that our method
ALR R or ALR <u>H</u> can achieve the best recurrence accuracy
than baselines. Besides, from Tables 3–6, we can find the
evaluation scores of ALR R are slightly better than ALR H
except for S8. This is because the light source adjustment by
robotic arm is more stable than hand and it is more easy to
get more accuracy recurrence results for robotic arm.
Fig. 13 shows the recurrence results using NPL for several
typical scenes S2 (near-Lambertian), S4 (transparent), S6 (cast
18
16
14
12
10
8
6
4
2
0
0 5 10 15 20 25 30
#Iteration
15
10
5
0
Fig. 9. Relation of the navigation vector and iteration number
during ALR using robotic arm for scenes S4 (a) and S5 (b).
1 (a) SSIM
MS-SSIM
0.99
0.97
0.98
0.96
0.95
0.94
(a) SSIMMS-SSIM 1 (b) SSIMMS-SSIM
diff `×` 10
0.4 0.5 0.6 0.7 0.8 0.9 1
Ref 0.92 Ref
0.98
0.96
0.94
0.92 Ref
0.9 diff `×` 10
0.88
0.5 0.6 0.7 0.8 0.9 1
diff `×` 10
ALR goodness _g_ ALR goodness _g_
Fig. 10. Relation of ALR goodness _g_ and (MS-)SSIM for
scenes S1 (a) and S7 (b). The difference images of reference
image and some captured images during ALR are shown.
beginning and then gradually converges to zero. See Sec. 4.6
for the convergence proof of navigation vector.
We use the ALR goodness _g_, i.e., the Intersection-overUnion (IoU) as the termination condition for ALR process.
To verify the effectiveness, we conduct ALR using the robotic
arm for S1 and S7, and we record the image and the corresponding _g_ for each iteration. Then we calculate the SSIM
and MS-SSIM [42] scores for each image. Fig. 10(a)–(b) show
the relation of ALR goodness _g_ and the (MS-)SSIM score.
Besides, the 10-times magnified absolute differences between
the reference image and some captured images during ALR are
also shown. Since the slight change of lighting condition may
cause large difference of image appearance, it is reasonable
that the (MS-)SSIM decreases slightly sometimes (see the
variation tendency of (MS-)SSIM in Fig. 10(b)). Nevertheless,
the (MS-)SSIM increases with the increase of _g_ on the whole.
Refer to Sec. 4.7, we prove that if the angle difference
between <sup>˜</sup> l and l is not larger than <sup>_<u>π</u>_</sup> 3 <sup>,</sup> <sup>the</sup> <sup>ambiguity</sup> <sup>matrix</sup> <sup>Z</sup>
does not affect the convergence of our ALR approach. In fact,
the condition is easy to be met. To verify this, we introduce
the dataset [43] which includes 7 statue scenes (e.g., Cat,
Frog, Hippo) and corresponding ground truth normals. Each
scene has 20 multi-illumination images. We calculate the scene
normal by LDR [25] and calculate the mean angle error (MAE)
for each scene. The MAE scores are shown in Table 1. We find
that these MAEs are much less than <sup>_<u>π</u>_</sup> 3 <sup>.</sup> <sup>Therefore,</sup> <sup>according</sup>
to Lemma 4, we can confidently say that the ambiguity matrix
Z does not influence our ALR method.
TABLE 1
Mean angle error (MAE) of the calculated normal.
Scene Cat Frog Hippo Lizard Pig Scholar Turtle
MAE <u>34</u> _<u>π</u>_ <u>28</u> _<u>π</u>_ <u>29</u> _<u>π</u>_ <u>45</u> _<u>π</u>_ <u>27</u> _<u>π</u>_ <u>15</u> _<u>π</u>_ <u>31</u> _<u>π</u>_
The proposed ALR method only need a small amount of
in-situ captured images for initialization. To verify this, we
<u>PSNR</u>
avg
38.3286 27.7969 34.8011
<u>41.1181</u> 42.3255
S1 S2 S3 S4 S5 S6 S7 S8 S9 S10
<u>MS-SSIM</u>
avg
0.9929 0.9630 0.9854
<u>0.9957</u> 0.9961
S1 S2 S3 S4 S5 S6 S7 S8 S9 S10
300
180
60
40
20
0
1
0.99
0.98
0.97
0.96
0.95
0.94
0.9
0.6
0.3
<u>MSE</u>
<u>avg</u>
11.3912 126.7723 28.534 ~~5~~
5.7278 4 ~~.~~ ~~3~~ 90 ~~9~~
S1 S2 S3 S4 S5 S6 S7 S8 S9 S10
<u>SSIM</u>
~~<u>a</u>~~ vg
<u>0.9778</u> 0.6654 0.961 ~~1~~
<u>0.9911</u> <u>0.9920</u>
S1 S2 S3 S4 S5 S6 S7 S8 S9 S10
50
45
40
35
30
25
20
15
10
1
0.99
0.98
0.97
0.96
0.95
0.94
0.93
0.92
0.91
0.9
PTM
HSH
LDR
ALR_H
ALR_R
Fig. 11. Quantitative comparison of near point light source.
150
100
50
0
1
0.96
0.92
0.88
0.84
0.8
S11 S12 S13 S11 S12 S13
<u>MSE</u> <u>PSNR</u>
<u>avg</u>
27.1112 47.9635
~~<u>5</u>~~ 7.7707 4 . 7486
50
45
40
35
30
25
20
15
avg
34.2467 31.9417
<u>31.3012</u> <u>42.9293</u>
PTM
HSH
LDR
ALR_H
TABLE 5
Average SSIMs for 13 scenes.
<u>Method</u> <u>S1</u> <u>S2</u> <u>S3</u> <u>S4</u> <u>S5</u> <u>S6</u> <u>S7</u> <u>S8</u> <u>S9</u> <u>S10</u> <u>S11</u> <u>S12</u> <u>S13</u>
PTM 0.9841 0.9788 0.9803 0.9745 0.9738 0.9710 0.9819 0.9793 0.9787 0.9756 0.9585 0.9618 0.9572
HSH 0.7469 0.7467 0.7758 0.4727 0.7212 0.3762 0.6407 0.6982 0.6735 0.8020 0.9215 0.9044 0.9337
LDR 0.9800 0.9601 0.9606 0.9649 0.9560 0.9473 0.9704 0.9561 0.9610 0.9546 0.9219 0.9294 0.9386
ALR <u>H</u> 0.9914 0.9913 0.9939 0.9885 0.9924 0.9905 0.9913 0.9916 0.9879 0.9922 0.9924 0.9930 0.9936
<u>ALR</u> <u>R</u> <u>0.9918</u> <u>0.9918</u> <u>0.9945</u> <u>0.9903</u> <u>0.9940</u> <u>0.9906</u> <u>0.9918</u> <u>0.9915</u> <u>0.9916</u> <u>0.9925</u> <u>NA</u> <u>NA</u> <u>NA</u>
TABLE 6
Average MS-SSIMs for 13 scenes.
<u>Method</u> <u>S1</u> <u>S2</u> <u>S3</u> <u>S4</u> <u>S5</u> <u>S6</u> <u>S7</u> <u>S8</u> <u>S9</u> <u>S10</u> <u>S11</u> <u>S12</u> <u>S13</u>
PTM 0.9955 0.9942 0.9954 0.9908 0.9915 0.9918 0.9954 0.9946 0.9900 0.9893 0.9891 0.9821 0.9859
HSH 0.9718 0.9818 0.9799 0.9152 0.9781 0.9266 0.9737 0.9661 0.9608 0.9765 0.9765 0.9682 0.9836
LDR 0.9942 0.9878 0.9875 0.9856 0.9820 0.9846 0.9907 0.9872 0.9793 0.9754 0.9680 0.9646 0.9796
ALR <u>H</u> 0.9958 0.9959 0.9970 0.9946 0.9965 0.9954 0.9957 0.9958 0.9939 0.9962 0.9962 0.9965 0.9968
<u>ALR</u> <u>R</u> <u>0.9961</u> <u>0.9961</u> <u>0.9972</u> <u>0.9953</u> <u>0.9973</u> <u>0.9955</u> <u>0.9959</u> <u>0.9957</u> <u>0.9959</u> <u>0.9963</u> <u>NA</u> <u>NA</u> <u>NA</u>
6.4 Speed comparison
The proposed ALR method can generate real-time navigation
feedback for adjusting light source. Table 7 shows the FPSs
of our ALR method under different image sizes. Since the
cannon 5D Mark III camera we used cannot acquire the realtime original image (5760 _×_ 3840), we just use the live view
image (960 _×_ 640) and perform downsampling by 2 (480 _×_ 320)
to support light source navigation in our experiments. After
ALR, we capture the 5760 _×_ 3840 image as the finial lighting
recurrence image. Besides, We record the average time of
ALR with hand (ALR H) and robotic arm (ALR <u>R).</u> It takes
about 70s for ALR <u>H</u> and 30s for ALR <u>R</u> in our experiments
(exclude the time of image capturing and initialization). For
ALR H, we can quickly adjust the light source to a local range
of the target but it is not easy to achieve a better recurrence
accuracy because of the instability of manual adjustment. In
contrary, since the robotic arm cannot percept the scene, ALR
can only rely on the bisection adjustment strategy to adjust
light source, so the light source cannot be rapidly adjusted to
approach the target in the beginning. But as the light source
approaches the target, the advantage of movement stability of
robotic arm can help it to achieve higher accuracy.
TABLE 7
FPSs of our ALR method under difference image sizes.
<u>Size</u> <u>(pixel)</u> <u>96</u> _<u>×</u>_ <u>64</u> <u>192</u> _<u>×</u>_ <u>128</u> <u>288</u> _<u>×</u>_ <u>192</u> <u>384</u> _<u>×</u>_ <u>256</u> <u>480</u> _<u>×</u>_ <u>320</u>
<u>FPS</u> <u>33.0961</u> <u>27.2844</u> <u>18.2382</u> <u>13.7874</u> <u>9.7125</u>
<u>Size</u> <u>(pixel)</u> <u>576</u> _<u>×</u>_ <u>384</u> <u>672</u> _<u>×</u>_ <u>448</u> <u>768</u> _<u>×</u>_ <u>512</u> <u>864</u> _<u>×</u>_ <u>576</u> <u>960</u> _<u>×</u>_ <u>640</u>
<u>FPS</u> <u>7.5620</u> <u>5.8763</u> <u>4.6747</u> <u>3.7234</u> <u>3.0444</u>
6.5 ALR under multiple light sources
Up to now, what we have discussed is the ALR under
single light source. In fact, using multiple light sources can
effectively achieve higher imaging quality and capture more
rich scene microstructures than single light source. Except
for fine-grained change monitoring and measurement, ALR
under multiple light sources is also useful in many other
fields, e.g., lighting re-setup for photography, which usually
needs to reproduce a specific light source combination to
express some character emotion or photography style [44].
Fortunately, without any auxiliary, our ALR method can be
S11 S12 S13 S11 S12 S13
<u>SSIM</u> <u>MS-SSIM</u>
avg
0.9592 0.9198
<u>0.9300</u> <u>0.9930</u>
~~1~~
0.99
0.98
0.97
0.96
0.95
0.94
0.93
avg
0.9857 0.9761
<u>0.9707</u> <u>0.9965</u>
Fig. 12. Quantitative comparison of small near surface light
source.
shadow) and S9 (specular), including the zoom-in regions
and corresponding 10-times magnified absolution difference
images. Similarity, Fig. 14 shows the recurrence results for
S11 (near-Lambertian) and S12 (transparent & specular) using
sNSL. We can see that our method ALR <u>H</u> or ALR <u>R</u> can
generate more accurate lighting recurrence results than baselines for both quantitative comparison and visual perception.
Furthermore, see Fig. 13 and Fig. 14, although PTM and
LDR can also achieve not bad recurrence results for the
near-Lambertian scenes, they cannot do well for the nonLambertian scenes. This is because the non-Lambertian regions are usually more hard to reproduce than near-Lambertian
regions for these SLR methods. Thanks to the physical lighting
recurrence, although our ALR method is based on Lambertian
assumption, it can still achieve excellent lighting recurrence
accuracy for non-Lambertian scenes.
TABLE 3
Average MSEs for 13 scenes.
<u>Method</u> <u>S1</u> <u>S2</u> <u>S3</u> <u>S4</u> <u>S5</u> <u>S6</u> <u>S7</u> <u>S8</u> <u>S9</u> <u>S10</u> <u>S11</u> <u>S12</u> <u>S13</u>
PTM 3.89 7.83 12.49 11.39 19.33 8.39 10.32 6.41 14.60 19.28 25.16 28.82 27.36
HSH 118.16 72.12 70.67 244.34 92.67 154.44 105.54 68.31 239.28 102.20 56.88 54.700 32.31
LDR 3.27 16.10 35.41 21.57 49.18 19.31 26.77 22.61 29.86 61.27 82.50 58.79 32.02
ALR <u>H</u> 1.75 4.57 9.16 4.39 6.72 2.36 7.72 5.21 8.81 6.59 10.10 2.70 1.44
<u>ALR</u> <u>R</u> <u>1.19</u> <u>4.07</u> <u>8.08</u> <u>2.66</u> <u>3.48</u> <u>2.14</u> <u>6.04</u> <u>5.64</u> <u>4.48</u> <u>6.13</u> <u>NA</u> <u>NA</u> <u>NA</u>
TABLE 4
Average PSNRs for 13 scenes.
<u>Method</u> <u>S1</u> <u>S2</u> <u>S3</u> <u>S4</u> <u>S5</u> <u>S6</u> <u>S7</u> <u>S8</u> <u>S9</u> <u>S10</u> <u>S11</u> <u>S12</u> <u>S13</u>
PTM 42.45 39.34 37.30 38.46 35.75 39.36 38.11 40.26 36.68 35.59 34.29 34.11 34.34
HSH 27.58 29.96 30.00 24.35 28.89 26.37 28.02 30.02 24.50 28.30 30.67 31.25 33.90
LDR 43.10 36.29 32.72 35.76 31.54 35.66 34.00 34.82 33.58 30.53 29.19 31.11 33.61
ALR <u>H</u> 45.71 41.56 38.53 41.97 39.89 44.44 39.26 41.07 38.77 39.98 38.12 44.03 46.64
<u>ALR</u> <u>R</u> <u>47.39</u> <u>42.04</u> <u>39.07</u> <u>44.08</u> <u>42.76</u> <u>44.91</u> <u>40.34</u> <u>40.70</u> <u>41.69</u> <u>40.29</u> <u>NA</u> <u>NA</u> <u>NA</u>
S2: Near-Lambertian
Ref PTM HSH LDR ALR_H ALR_R
diff `×` 10 diff `×` 10 diff `×` 10 diff `×` 10 diff `×` 10
S4: Non-Lambertian (transparent)
Ref PTM HSH LDR ALR_H ALR_R
diff `×` 10 diff `×` 10 diff `×` 10 diff `×` 10 diff `×` 10
diff `×` 10
diff `×` 10
MSE=31.68 MSE=292.34 MSE=86.54 MSE=17.42 MSE=16.82 MSE=48.08 MSE=286.19 MSE=81.05 MSE=8.33 MSE=17.58
diff `×` 10
MSE=28.10 MSE=295.73 MSE=40.33 MSE=23.72 MSE=24.76 MSE=7.59 MSE=433.28 MSE=25.40 MSE=3.21 MSE=3.92
diff `×` 10
S6: Non-Lambertian (cast shadow) S9: Non-Lambertian (specular)
Ref PTM HSH LDR ALR_H ALR_R
diff `×` 10 diff `×` 10 diff `×` 10 diff `×` 10 diff `×` 10
Ref PTM HSH LDR ALR_H ALR_R
diff `×` 10 diff `×` 10 diff `×` 10 diff `×` 10 diff `×` 10
diff `×` 10
diff `×` 10
MSE=38.62 MSE=295.82 MSE=39.06 MSE=6.18 MSE=7.17 MSE=90.71 MSE=385.71 MSE=153.22 MSE=7.40 MSE=12.88
diff `×` 10
MSE=61.89 MSE=246.16 MSE=81.04 MSE=11.48 MSE=12.21 MSE=50.25 MSE=369.18 MSE=133.21 MSE=5.89 MSE=11.48
diff `×` 10
Fig. 13. Some results of our ALR method and 3 baselines for one near-Lambertian scene (S2) and 3 non-Lambertian scenes (S4,
S6 and S9). For each scene, the first row shows the reference image and the lighting recurrence images of 4 methods. The 2–5
rows show the zoom-in regions and corresponding difference images (magnified by 10). Besides, the MSEs are also provided.
S11: Near-Lambertian
Ref PTM HSH LDR ALR_H
diff `×` 10 diff `×` 10 diff `×` 10 diff `×` 10
S12: Non-Lambertian (transparent & specular)
Ref PTM HSH LDR ALR_H
diff `×` 10 diff `×` 10 diff `×` 10 diff `×` 10
diff `×` 10
diff `×` 10
MSE=76.87 MSE=150.97 MSE=200.14 MSE=62.21 MSE=48.70 MSE=96.36 MSE=88.01 MSE=5.00
diff `×` 10
MSE=77.37 MSE=146.27 MSE=155.22 MSE=70.11 MSE=559.01 MSE=1086.83 MSE=1048.66 MSE=19.37
diff `×` 10
Fig. 14. Some results of the lighting recurrence methods with small near surface light source.
S4
Ref_1 Ref_2
ALR_1 ALR_2
diff `×` 10 diff `×` 10
S5
Ref_1 Ref_2
ALR_1 ALR_2
diff `×` 10 diff `×` 10
directly applied to multiple light sources condition. Specifically, in the reference observation, we successively lighten
each light source and capture the corresponding image. Then,
during current observation, we also successively conduct ALR
for each light source, using the corresponding image as the
reference. Note, for each ALR, the light sources which have
been relocated are regarded as the environment lighting. To
verify the effectiveness, we conduct ALR under two near
point light sources by two robotic arms for scene S3–5. The
results are shown in Fig. 15. For each case, the first row
indicates the two reference images, the second row denotes the
ALR results. The recurred image and the 10-times magnified
absolute differences are also shown in Fig. 15. We can find
the ALR results faithfully reproduce the scene surface details
of the reference one.
Fig. 15. ALR results under two near point light sources.
7 REAL-WORLD APPLICATIONS
One promising application of the proposed ALR method is
accurately capturing fine-grained change of high-value objects.
For instance, in cultural heritage conservation, an essential
S3
Ref_1 Ref_2
ALR_1 ALR_2
diff `×` 10 diff `×` 10
Case 1: Dunhuang Mogao Grottoes #465
Ref PTM ALR
Case 3: Dunhuang Mogao Grottoes #351
Ref PTM ALR
<u>dif</u> `×` <u>10</u> <u>dif</u> `×` <u>10</u>
<u>Zoom-in regions</u> <u>Fine-grained change detection</u>
Ref PTM ALR Gt PTM ALR
F1=0.2059 F1=0.3766
F1=0.0909 F1=0.3077
FPR=0.0014 FPR=0.0000
Case 6: Weijin Tomb #7
Ref PTM ALR
<u>dif</u> `×` <u>10</u> <u>dif</u> `×` <u>10</u>
<u>Zoom-in regions</u> <u>Fine-grained change detection</u>
Ref PTM ALR Gt PTM ALR
FPR=0.0075 FPR=0.0000
F1=0.1000 F2=0.4167
F1=NAN F1=0.4806
Case 9: Weijin Tomb #7
Ref PTM ALR
<u>dif</u> `×` <u>10</u> <u>dif</u> `×` <u>10</u>
<u>Zoom-in regions</u> <u>Fine-grained change detection</u>
Ref PTM ALR Gt PTM ALR
F1=0.3907 F1=0.4818
F1=0.4000 F1=0.5052
F1=0.2668 F1=0.4575
diff `×` 10
diff `×` 10
<u>Zoom-in regions</u> <u>Fine-grained change detection</u>
Ref PTM ALR Gt PTM ALR
FPR=0.0235 FPR=0.0014
FPR=0.0226 FPR=0.0000
FPR=0.0325 FPR=0.0011
Case 4: Dunhuang Mogao Grottoes #351
Ref PTM ALR
diff `×` 10 diff `×` 10
<u>Zoom-in regions</u> <u>Fine-grained change detection</u>
Ref PTM ALR Gt PTM ALR
F1=0.1891 F1=0.4400
FPR=0.0033 FPR=0.0000
FPR=0.0027 FPR=0.0000
Case 7: Weijin Tomb #7
Ref PTM ALR
diff `×` 10 diff `×` 10
<u>Zoom-in regions</u> <u>Fine-grained change detection</u>
Ref PTM ALR Gt PTM ALR
F1=0.4061 F1=0.6167
FPR=0.0174 FPR=0.0037
F1=0.1373 F1=0.5174
Case 2: Dunhuang Mogao Grottoes #465
Ref PTM ALR
<u>dif</u> `×` <u>10</u> <u>dif</u> `×` <u>10</u>
Zoom-in regions Fine-grained change detection
Ref PTM ALR Gt PTM ALR
FPR=0.0287 FPR=0.0052
FPR=0.0318 FPR=0.0010
FPR=0.0217 FPR=0.0027
Case 5: Dunhuang Mogao Grottoes #351
Ref PTM ALR
diff `×` 10 diff `×` 10
<u>Zoom-in regions</u> <u>Fine-grained change detection</u>
Ref PTM ALR Gt PTM ALR
F1=0.0907 F1=0.4502
F1=0.0833 F1=0.4393
F1=0.1716 F1=0.4680
Case 8: Weijin Tomb #7
Ref PTM ALR
diff `×` 10 diff `×` 10
<u>Zoom-in regions</u> <u>Fine-grained change detection</u>
Ref PTM ALR Gt PTM ALR
FPR=0.0282 FPR=0.0027
FPR=0.0112 FPR=0.0024
FPR=0.0375 FPR=0.0046
Fig. 16. Some results of ALR and PTM methods on fine-grained change detection of ancient murals in Dunhuang Mogao Grottoes
#465 (Case 1–2), #351 (Case 3–5) and Weijin Tomb #7 (Case 6–9). We use 20 images under different lighting conditions to conduct
PTM method. For each case, the zoom-in regions and corresponding change detection results are shown in the bottom, including
the FPR or F1-Measure values.
problem is to detect and measure the minute changes of
cultural relics from two sets of observations within long time
intervals. This is an open real-world problem since cultural
relics (e.g., Dunhuang Mogao murals) suffer from various of
deteriorations even though they have been seriously protected.
However, this is a quite tough problem, and challenges particular from misaligned image position as well as misaligned
lighting condition. In addition, some changes can only be
clearly observed in specific lighting condition so that ALR is
of great importance in fine-grained change detection problem.
To address this problem, we combine our ALR method
with the high-accurate actively camera relocalization method
(ACR) [14] and a state-of-the-art fine-grained change detection
method (FGCD) [6]. We apply our ALR to actively capture
and measure the fine-grained changes of ancient murals in
two World Cultural Heritage Sites, Dunhuang Mogao Grottoes (Case 1–5) and Weijin Graves (Case 6–9) in Fig. 16.
Specifically, given the reference image, we first relocalize
current camera pose via ACR, then we do ALR to physically
reproduce the lighting condition of reference image and take
current images for evaluation. The time interval between twice
observations is one year for Case 1–2 and Case 6–9, and 12
days for Case 3–5. Besides, we also capture 20 images under
different lighting conditions in current observation and carry
on PTM [4] to generate relighting images for comparison.
Fine-grained changes are detected by FGCD algorithm for
both ALR and PTM results.
All the results are shown in Fig. 16. Refer to the zoom-in
regions and corresponding FGCD results, we can clearly see
that our ALR can generate much higher F1-Measure and lower
FPR errors. This is because that some surface details cannot
be faithfully reproduced by PTM, e.g., the cast shadow region
of Case 2 in Fig. 16. Note, for some scenes, e.g., Case 1,
there is no change between twice observations, so we show
the FPR value instead of F1-Measure. In a word, our ALR
supports much more accurate fine-grained change detection.
8 CONCLUSION
In this paper, we have studied a new problem, active lighting
recurrence (ALR), that aims to actively reproduce the lighting
condition of a single reference image. To achieve instant and
accurate ALR guidance, we propose a simple yet effective
analogy parallel lighting (apl) based ALR approach. We show
that the proposed approach works well for the commonly-used
realistic near point light source and small near surface light
source, with strict theoretical equivalence and convergence
guarantees. Besides, we also prove the invariance of our approach to the ambiguity of normal and lighting decomposition.
To the best of our knowledge, this is the first solid ALR study
in computer vision and robotics.
ALR plays a crucial role in real-world fine-grained change
detection (FGCD) tasks of cultural heritages. Different with
existing synthetic lighting recurrence (SLR), our ALR guarantees the physical correctness of the recurrence image and
can be conducted in real-time. Besides, our method supports
both manual operation and robotic platform, i.e., has strong
environmental adaptability. So far, our approach has been
successfully applied to a number of real-world FGCD tasks,
e.g., for the first time, we discover the minute change in less
than 2 weeks time interval in Dunhuang Mogao Grottoes.
In this work, we propose the new ALR problem and achieve
an effective ALR method. Our work provides a useful and
novel research topic in active robotic vision, which is the
significance of this paper. In fact, our work is just a beginning
of ALR problem. In the future, we plan to further study ALR
with different light source types and under varied environment
lightings during twice observations.
REFERENCES
[1] P. Debevec, T. Hawkins, C. Tchou, H. Duiker,
W. Sarokin, and M. Sagar, “Acquiring the reflectance
field of a human face,” in _ACM_ _SIGGRAPH_, 2000.
[2] Y. Chuang, D. Zongker, J. Hindorff, B. Curless,
D. Salesin, and R. Szeliski, “Environment matting extensions: Towards higher accuracy and real-time capture,” in
_ACM_ _SIGGRAPH_, 2000.
[3] J. Ou and F. Pellacini, “LightSlice: Matrix slice sampling
for the many-lights problem,” _ACM_ _TOG_, vol. 30, no. 6,
pp. 179:1–179:8, 2011.
[4] M. Tom, G. Dan, and W. Hans, “Polynomial texture
maps,” in _ICME_, 2001.
[5] S. Elhabian, R. Ham, and A. Farag, “Towards accurate and efficient representation of image irradiance of
convex-lambertian objects under unknown near lighting,”
in _ICCV_, 2011.
[6] W. Feng, F. Tian, Q. Zhang, N. Zhang, L. Wan, and
J. Sun, “Fine-grained change detection of misaligned
scenes with varied illuminations,” in _ICCV_, 2015.
[7] R. Huang, W. Feng, Z. Wang, M. Fan, L. Wan, and
J. Sun, “Learning to detect fine-grained change under
variant imaging conditions,” in _ICCVW_, 2017.
[8] P. Ren, Y. Dong, S. Lin, X. Tong, and B. Guo, “Image
based relighting using neural networks,” in _ACM_ _SIG-_
_GRAPH_, 2015.
[9] S. Liu and M. Do, “Inverse rendering and relighting from
multiple color plus depth images,” _IEEE_ _TIP_, vol. 26,
no. 10, pp. 4951–4961, 2017.
[10] X. Huang, M. Walton, G. Bearman, and O. Cossairt,
“Near light correction for image relighting and 3d shape
recovery,” in _Digital_ _Heritage_, 2015.
[11] B. Shi, Z. Wu, Z. Mo, D. Duan, S.-K. Yeung, and P. Tan,
“A benchmark dataset and evaluation for non-Lambertian
and uncalibrated photometric stereo,” in _CVPR_, 2016.
[12] K. Midorikawa, T. Yamasaki, and K. Aizawa, “Uncali
brated photometric stereo by stepwise optimization using
principal components of isotropic brdfs,” in _CVPR_, 2016.
[13] S. Staniforth, Ed., _Historical_ _Perspectives_ _on_ _Preventive_
_Conservation_ . Getty Conservation Institute, 2013.
[14] F.-P. Tian, W. Feng, Q. Zhang, X. Wang, J. Sun, V. Loia,
and Z.-Q. Liu, “Active camera relocalization from a
single reference image without hand-eye calibration,”
_IEEE_ _TPAMI_, 2018.
[15] Q. Zhang, W. Feng, L. Wan, F.-P. Tian, and P. Tan,
“Active recurrence of lighting condition for fine-grained
change detection,” in _IJCAI_, 2018.
[16] W. Feng, F. Tian, Q. Zhang, and J. Sun, “6D dynamic
camera relocalization from single reference image,” in
_CVPR_, 2016.
[17] Y. Shi, F. Tian, D. Miao, and W. Feng, “Fast and
reliable computational rephotography on mobile device,”
in _ICME_, 2018.
[18] D. Miao, F. Tian, and W. Feng, “Active camera relocal
ization with RGBD camera from a single 2D image,” in
_ICASSP_, 2018.
[19] F. Lu, I. Sato, and Y. Sato, “Uncalibrated photometric
stereo based on elevation angle recovery from BRDF
symmetry of isotropic materials,” in _CVPR_, 2015.
[20] X. Huang, E. Uffelman, O. Cossairt, M. Walton, and
A. Katsaggelos, “Computational imaging for cultural
heritage: Recent developments in spectral imaging, 3-d
surface measurement, image relighting, and x-ray mapping,” _IEEE_ _Signal_ _Processing_ _Magazine_, vol. 35, no. 5,
pp. 130–138, 2016.
[21] R. Woodham, “Photometric method for determining sur
face orientation from multiple images,” _Optical engineer-_
_ing_, vol. 19, no. 1, 1980.
[22] W. Silver, “Determining shape and reflectance using
multiple images,” in _MIT_, 1980.
[23] B. Shi, P. Tan, Y. Matsushita, and K. Ikeuchi, “A bi
quadratic reflectance model for radiometric image analysis,” in _CVPR_, 2012.
[24] S. Ikehata and K. Aizawa, “Photometric stereo using
constrained bivariate regression for general isotropic surfaces,” in _CVPR_, 2014.
[25] P. Favaro and T. Papadhimitri, “A closed-form solution
to uncalibrated photometric stereo via diffuse maxima,”
in _CVPR_, 2012.
[26] R. Basri, D. Jacobs, and I. Kemelmacher, “Photometric
stereo with general, unknown lighting,” _IJCV_, vol. 72,
no. 3, 2007.
[27] F. Sakaue and J. Sato, “A new approach of photomet
ric stereo from linear image representation under close
lighting,” in _ICCV_, 2011.
[28] W. Xie, C. Dai, and C. Wang, “Photometric stereo with
near point lighting: A solution by mesh deformation,” in
_CVPR_, 2015.
[29] H. Nguyen and M. Do, “Inverse rendering of lambertian
surfaces using subspace methods,” _TIP_, vol. 23, no. 12,
2014.
[30] T. Hawkins, P. Einarsson, and P. Debevec, “A dual light
stage,” in _Rendering_ _Techniques_, 2005.
[31] B. Choudhury and S. Chandran, “A survey of image
based relighting techniques,” _Journal_ _of_ _Virtual_ _Reality_
_and_ _Broadcasting_, vol. 4, no. 7, 2007.
[32] P. Peers, D. Mahajan, B. Lamond, A. Ghosh, W. Matusik,
R. Ramamoorthi, and P. Debevec, “Compressive light
transport sensing,” _ACM_ _TOG_, vol. 28, no. 1, p. 3, 2009.
[33] P. Sen and S. Darabi, “Compressive dual photography,”
_Computer_ _Graphics_ _Forum_, vol. 28, no. 2, pp. 609–618,
2009.
[34] D. Reddy, R. Ramamoorthi, and B. Curless, “Frequency
space decomposition and acquisition of light transport
under spatially varying illumination,” in _ECCV_, 2012.
[35] M. Fuchs, V. Blanz, and H. Seidel, “Bayesian relighting,”
in _EGSR_, 2005.
[36] M. O’Toole and K. Kutulakos, “Optical computing for
fast light transport analysis,” _ACM_ _TOG_, vol. 29, no. 6,
p. 164, 2010.
[37] M. Fuchs, V. Blanz, H. Lensch, and H. Seidel, “Adaptive
sampling of reflectance fields,” _ACM TOG_, vol. 26, no. 2,
p. 10, 2007.
[38] D. Nowrouzezahrai and J. Snyder, “Fast global illumi
nation on dynamic height fields,” _Computer_ _Graphics_
_Forum_, vol. 28, no. 4, pp. 1131–1139, 2009.
[39] P. Ren, J. Wang, M. Gong, S. Lin, X. Tong, and B. Guo,
“Global illumination with radiance regression functions,”
_ACM_ _TOG_, vol. 32, no. 4, p. 130, 2013.
[40] W. Ye, X. Li, Y. Dong, P. Peers, and X. Tong, “Single
image surface appearance modeling with self-augmented
cnns and inexact supervision,” in _Computer_ _Graphics_
_Forum_, vol. 37, no. 7. Wiley Online Library, 2018,
pp. 201–211.
[41] Q. Zhao, P. Tan, Q. Dai, L. Shen, E. Wu, and S. Lin,
“A closed-form solution to retinex with non-local texture
constraints,” _IEEE TPAMI_, vol. 34, no. 7, pp. 1437–1444,
2012.
[42] Z. Wang, E. Simoncelli, and A. Bovik, “Multiscale
structural similarity for image quality assessment,” in
_IEEE_ _Asilomar_ _Conference_ _on_ _Signals,_ _Systems_ _and_
_Computers_, 2003.
[43] Y. Xiong, A. Chakrabarti, R. Basri, S. Gortler, D. Jacobs,
and T. Zickler, “From shading to local shape,” _IEEE_
_TPAMI_, vol. 1, no. 1, p. 1, 2015.
[44] S. Begleiter, _50_ _Lighting_ _Setups_ _for_ _Portrait_ _Photogra-_
_phers:_ _Easy-To-Follow_ _Lighting_ _Designs_ _and_ _Diagrams,_
_Vol._ _2_ . Amherst Media, 2014, vol. 2.
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.