선정목록으로
Light source estimation using feature points from specular highlights and cast shadows
필름·전자재료 · (13) 프리즘 필름
기본 정보
- 저자
- DOI
- 10.60692/myk0e-xja59
- 저널
- Greater South Information System
- 발행년도
- 2024
- 발행기관
- –
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.60692/myk0e-xja59
- 토픽
- Color Science and Applications
- OpenAlex ID
- W6901787455
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (13) 프리즘 필름
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
A method for light sources estimation is proposed in this paper.The method utilizes feature points in cast shadows to estimate near light source positions from estimated source directions using specular highlights.There are several methods that can be used to estimate light sources from scene images, using either cast shadows or specular highlights.However, most of them are limited to directional light sources.The proposed method can estimate the positions and intensities of multiple near point light sources.Specular highlights on an object of known geometry are first used for light source direction estimation.Then, a discontinuity point in the object shape and the corresponding cast shadow on a ground plane are used for light source position estimation.Feature points obtained from an image of the cast shadow, however, can be inaccurate due to various factors.Information on diffused light reflected from Lambertian ground-plane surface is subsequently used to improve estimation accuracy.Experimental results were used to evaluate the performance of the proposed method.
본문 27,245자
본문 펼치기
<mark>Vol. 11(13), pp. 168-177, 16 July, 2016</mark>
<mark>DOI: 10.5897/IJPS2015.4274</mark>
<mark>Article Number: F492B6D59616</mark>
<mark>ISSN 1992 - 1950</mark>
<mark>Copyright ©2016</mark>
<mark>Author(s) retain the copyright of this article</mark>
<u><mark>http://www.academicjournals.org/IJPS</mark></u>
###### _Full Length Research Paper_
##### International Journal of Physical Sciences
#### Light source estimation using feature points from specular highlights and cast shadows
Anusorn Bunteong <sup>1</sup> * and Nopporn Chotikakamthorn <sup>2</sup>
Faculty of Information Technology, King Mongkut’s Institute of Technology Ladkrabang, 1 Chalongkrung Road,
Bangkok, 10520, Thailand.
Received 5 February, 2015; Accepted 3 May, 2016
A method for light sources estimation is proposed in this paper. The method utilizes feature points in
cast shadows to estimate near light source positions from estimated source directions using specular
highlights. There are several methods that can be used to estimate light sources from scene images,
using either cast shadows or specular highlights. However, most of them are limited to directional light
sources. The proposed method can estimate the positions and intensities of multiple near point light
sources. Specular highlights on an object of known geometry are first used for light source direction
estimation. Then, a discontinuity point in the object shape and the corresponding cast shadow on a
ground plane are used for light source position estimation. Feature points obtained from an image of
the cast shadow, however, can be inaccurate due to various factors. Information on diffused light
reflected from Lambertian ground-plane surface is subsequently used to improve estimation accuracy.
Experimental results were used to evaluate the performance of the proposed method.
<u>Key words:</u> <u>Light source estimation, light source recovery, augmented reality.</u>
INTRODUCTION
Light source estimation is a problem of interest in the direction and intensity of light source(s) given one or
fields of computer graphics and computer vision. In more images of a real scene.
augmented reality applications, where generation of a Many methods have been developed to estimate
mixed environment containing virtual objects in real properties of single and multiple light sources. These
scenes is needed, illumination information and surface methods use information from either one or a
reflectance properties of real objects are needed for combination of shading, cast shadows, and specular
consistent and realistic shading of virtual objects. Another reflections. Majority of these methods are based on
application which requires lighting information is a shading information. For example, Zhang and Yan (2001)
retrieval of shape information from shading. The main developed a method for parallel light direction estimation
goal of light source estimation is to recover location, using shading on surface of a spherical object in the
<mark>*Corresponding author. E-mail: anusorn.b@gmail.com.</mark>
<mark>Author(s) agree that this article remain permanently open access under the terms of the</mark> <u><mark>[Creative Commons Attribution](http://creativecommons.org/licenses/by/4.0/deed.en_US)</mark></u>
<u><mark>[License 4.0 International License](http://creativecommons.org/licenses/by/4.0/deed.en_US)</mark></u>
scene. The sphere used in this method is assumed to
have a Lambertian surface. With known sphere
geometric and positional information in the scene, it is
possible to estimate locations of pixels known as ‘critical
points’ from a shaded image of the sphere. From the
obtained critical points, light source directions can be
estimated. Wang and Samaras (2002) extends the use of
this method to an object of arbitrary shape. The visible
points on the object are mapped to a virtual sphere by
matching the normal direction at each point. Some critical
boundaries may be lost during this process. They provide
a method exploiting shadow information to solve the
problem. Such hybrid method was reported to offer
improved accuracy.
In the study of Bouganis and Brookes (2004), an
attempt was made to increase accuracy and reduce
limitations of the method in Zhang and Yan (2001). The
method for critical point detection in Bouganis and
Brookes (2004) method is different from the original one
(Zhang and Yan, 2001), but is similar to that of Wei
(2003).
Shadow and reflected light information has also been
used for light source directions and intensities estimation.
For example, Sato et al. (1999, 2001) provide a method
for estimating an illumination distribution of a real scene
using information of reflected light distribution over a
Lambertian planar surface. By using the occlusion
information of an incoming light caused by an object of
known geometry and location, the method can provide
sampled directional light source directions from estimated
illumination distribution.
Specular highlights on a shiny surface in the scene can
also provide information for light source estimation. For
example, Powell et al. (2001) can estimate the positions
of light sources from specular highlights on a pair of
calibration spheres in the scene. This method estimates
the positions and surface normals at the highlights in
order to triangulate illuminants. Zhou and Kambhamettu
(2002) present a method for locating multiple light
sources and estimating their intensities from a pair of
stereo images of a sphere. The sphere surface has both
Lambertian and specular properties. The specular image
is used to find the directions of the light sources, and the
Lambertian image is used to find the intensities of the
light sources. Another hybrid method is presented by Li et
al. (2003). The method integrates cues from shading,
shadow and specular reflections for estimating directional
illumination in a textured scene.
Even though these previous methods are successful in
estimating light source directions and intensities, they
assume that the light sources in the scene are far-field so
that each light source illuminates all objects at any point
from the same direction. However, in a real scene (e.g.,
under indoor environment), it is quite common to have
one or more near point light sources, which illuminate
the objects from finite distance. In this case, a common
Bunteong and Chotikakamthorn 169
parallel/directional light assumption of those methods is
invalid.
Methods have been developed to estimate positions
and intensities of near point light sources. Li et al. (2003)
proposed two methods for recovering the surface
reflectance properties of an object and the light source
position from a single view without the distant illumination
assumption. The first method is based on the use of the
iterative separating-and-fitting relaxation algorithm. The
second method estimates the specular reflection
parameters and the light source position simultaneously
by linearizing the Torrance-Sparrow specular reflection
model and by optimizing the sample correlation
coefficient. However, the methods were applied to a
single light source case, and are applicable only to
convex objects. Extension of the methods to the multiple
light source case, if possible, can dramatically increase
computational complexity.
Takai et al. (2009) present an approach for estimating
light sources from a single image of a scene that is
illuminated by major near point light sources, and some
directional light sources as well as ambient light. They
use a pair of reference spheres as light probes. Major
step in the method involves differencing the intensities of
two image regions of the reference spheres. From an
image of a difference sphere, parameters of point light
sources are estimated by an iterative operation. The input
image is updated by eliminating the lighting effects that is
due to the estimated point light sources and the
parameters of directional light sources and ambient light
are estimated by an iterative operation again. Schniders
et al. (2010) proposed an empirical analysis, which
shows that line estimation from a single view of a single
sphere is not possible in practice and present a closed
form solution for recovering a polygon light source from a
single view of two spheres and an iterative approach for
rectangular light source estimation based on two views of
a single sphere.
These methods for near point light source estimation
are either limited to a single light source, or applicable
under specific and often complex shooting setup. In this
paper, we present a method to estimate the position and
intensity of multiple near point light sources from a single
view image. Unlike the methods of Schniders et al.
(2010) and Takai et al. (2009) that use either the two
reference spheres in the scene or two views of a single
sphere, our method use only a single object of known
geometry with specular reflection. Feature points in a cast
shadow of that object on a ground plane with diffused
reflection are exploited for effective and efficient source
position estimation. Use of cast-shadow feature points
can also help speeding up the computation. Note that,
although there exists a method that use feature points in
cast shadows for light source estimation (Cao and Shah,
2005), such method assumes that a light source is
directional and two perspective view images of a scene
170 Int. J. Phys. Sci.
Figure 1. The system setup containing a spherical object of known geometric
parameters, and a ground plane with Lambertian-type reflection.
are required. Note that, although using a pair of mirror where is a vector of the light source direction measured
spheres or cameras with fish-eye lens is an efficient at the point _P_, is a surface normal vector at
method, it is inconvenient to setup specially when applied is a unit vector of a viewing direction, looked from
to near light source location estimation. The proposed The light source position that causes specular peak at
method has the main benefit of simpler equipment setup. _P_
An overview of the proposed method and the
corresponding scene setup is first described. The method
utilizes a specular highlight from an object of known
geometry and location (a sphere in this case), and a
ground plane with diffusive reflection (Figure 1 for the
scene setup). The spherical object is required to contain
some discontinuity on its surface (a sphere with a coneshaped tip or a box corner in our case). Figure 1
illustrates a case where there are two point light sources
at _L_ 1 and _L_ 2, and the corresponding specular peaks _S_ 1
and _S_ 2, as seen by a camera on the right.
USING SPECULAR HIGHLIGHT FOR LIGHT SOURCE
DIRECTION ESTIMATION
Specular reflection is the mirror-like reflection of light from
a surface, in which light from each incoming direction is
reflected into a single outgoing direction. The directions of
incoming and outgoing light rays have the same angle
with respect to the surface normal (Figure 2). Like those
of Hara et al. (2005), in this paper a specular highlight is
utilized to estimate a point source direction. In doing so, a
specular peak pixel on a taken image of a real scene is
first identified. The direction of the corresponding light
source, which produces a highlight on the surface point P,
can be calculated as:
= (1)
where is a vector of the light source direction measured
at the point _P_, is a surface normal vector at _P_, and
is a unit vector of a viewing direction, looked from _P_ .
The light source position that causes specular peak at
_P_ is located along the direction of . Subsequently, given
the so obtained light source direction, a method for light
source position estimation from feature points will be
explained.
USE OF FEATURE POINTS FOR SOURCE POSITION
ESTIMATION
Features are parts or aspects of the image which
captures its salient characteristics. Features may be
edges, corners, blobs or ridges. Feature detection is an
image processing algorithm for identifying the presence
and location of certain salient characteristics in an
inspected image. In this paper, a corner detector is used
to find a corner point(s) on a shadow edge of a spherical
object cast on a ground plane. With known object
geometry and location, the line connecting a detected
corner point on the ground plane to the corresponding
point on the object surface will pass through the light
source position. When used in combination with the
source direction estimated using a specular highlight as
explained before, a source position can be obtained as
shown in Figure 3.
In addition, with a priori estimate of a source direction
obtained using a specular highlight, feature points can be
efficiently located by searching for such features only
along a certain contour on a shadow-casted surface. In
this case where a shadow is casted on a ground plane,
such contour can be easily estimated by first constructing
Bunteong and Chotikakamthorn 171
Figure 2. Relationship of three vectors involved in specular reflection.
Figure 3. Corner points on the object surface and the corresponding
points in the object’s shadow, used for light source position estimation.
a plane consisting of an object corner point and any two that plane with the ground plane as shown in Figure 4.
arbitrary points along a light source path. The contour is With this, a corner detector is applied along the contour’s
then obtained as a line resulting from the intersection of projected line on an image plane.
172 Int. J. Phys. Sci.
Figure 4. The contour formed by the intersection of the plane containing a
surface discontinuity point and points along a light source direction path, with
the ground plane.
With all possible candidates of an actual feature point,
a line is formed from each feature point candidate and
the discontinuity point on the object surface. With respect
to the discontinuity point, these lines are denoted by,
_m_ = 1, . . ., _M_, _n_ = 1, . . ., _N_, where _M_ is the number of
detected feature point candidates and _N_ is the number of
light sources.
With respect to the specular peak position, the
estimated _n_ <sup>th</sup> light source directions are denoted by .
Let be the position of the _n_ <sup>th</sup> specular peak with respect
to the discontinuity point. Given a suitable scalar value
, the intersection points between and +
are _M_ possible position of the _n_ <sup>th</sup> light source. These
intersection points are denoted by, …, (Figure 5).
In practice, soft shadow may appear instead of a hard
one. Feature point detection can be less accurate under
this scenario. Furthermore, in real scene, the depth value
from depth camera may be inaccurate. This is the reason
why some feature point candidates must be kept in the
previous discussion. To identify an actual feature point
from those candidates, information collected from
ground-plane diffuse reflection is used for this purpose as
explained subsequently.
LIGHT SOURCE POSITION ESTIMATION FROM
GROUND-PLANE DIFFUSE REFLECTION
Similar to Sato et al. (1999, 2001) method, the proposed
method utilizes shadow of a known-geometry object,
casted on a ground plane. Different ground-plane
illumination scenarios are as shown in Figure 6. From the
figure, at the point, lights coming from the point light
sources at and are blocked. On the other hand, the
point is illuminated by the light coming from alone.
At, no occlusion occurs for both light sources.
Here, the ground plane is assumed to have a
Lambertian surface. An amount of ground-plane reflected
light as observed by the _k_ <sup>th</sup> pixel is obtained as:
=
(2)
From Equation 2, and are real-world positions of the
_n_ <sup>th</sup> light source and the _k_ <sup>th</sup> pixel. In addition, and
are respectively, the light source intensity and the
Bunteong and Chotikakamthorn 173
Figure 5. Possible positions of light sources estimated from feature
point candidates.
Figure 6. Light sources are occluded at some points on the ground
plane.
174 Int. J. Phys. Sci.
angle with respect to the ground-plane surface normal.
The parameter is the surface diffuse reflection
coefficient. The occlusion coefficient is zero if the _n_ <sup>th</sup>
light source is occluded at the _k_ <sup>th</sup> pixel and one otherwise.
There is more than one possible value for . For
example, in a single light source case and three light
source position candidates,,, can take on
any one of them. To find which one best represents an
actual light source position, Equation 2 is evaluated for
each possible value of . The one best fitting Equation 2
in a non-negative least square sense is chosen as a light
source position estimate. Similar method can be applied
for the case of two or more light sources.
To compute which value is the best estimate of the light
source position, solving Equation 2 is equivalent to
finding the solution to the following set of linear equations
(Schnieders et al., 2010):
= (3)
where
###### A =
(4)
= (5)
= (6)
###### =
(7)
Equation 3 can be solved for a non-negative least
squares solution. Let be such as solution. How
good the solution fits the model is measured by the
following RMSE.
= (8)
When there are more than one candidate for a light
source position, Equation 8 is computed for each
candidate so that the one with the minimum error is
chosen. As an example, first consider the single light
source case. Let,, be three possible light
source positions. By using =, _m_ = 1, 2, 3, three
RMSE values are obtained. Then, select
whose is minimum. Extension of this procedure to
the case of multiple light sources is straightforward.
STEPS FOR MULTIPLE LIGHT SOURCE POSITION
ESTIMATION
In this method, the following requirements are assumed.
(1) The camera parameter and the geometry of objects in
the scene are known.
(2) The scene is illuminated by one or more point light
sources.
(3) All specular peaks corresponding to light sources are
visible in the image used for the estimation.
(4) All cast shadows on the floor due all light sources are
visible on the taken image.
(5) The reflectance properties of the spherical and plane
objects are known.
(6) The floor plane has a Lambertian surface.
(7) Objects in the scene contain one or more surface
discontinuity point, where there is an abrupt change in
the surface normal vector.
In the proposed method, steps for light source position
estimation can be summarized as the following.
(1) Acquire an image containing specular highlights and a
floor plane with shadow casted by a spherical object on it.
(2) Find the specular peak pixels and calculate the
directions of light sources (This step is explained in
Section 2).
(3) Compute a contour on a ground plane, where a cast
shadow of a feature point must lie upon (This step is
described in Section 3)
(4) Detect possible corner points on the shadow along
the contour obtained from Step 3.
(5) Pair each candidate corner point from Step 5 with the
corresponding discontinuity point on the object to form a
direction that possibly point to an actual source position.
(6) Find the intersection point of each line from step 5
and the line from step 2 to determine a set of possible
location points of the light source. In practice, a pair of
lines may not intersect in 3D space. In this case, a middle
point on a shortest line connecting the two lines is chosen
instead.
(7) Choose light source position candidates as obtained
from Step 6 that best fit the ground-plane diffused light
Equation 2 in a non-negative least square sense by
comparing the corresponding error in Eq. (8).
(8) With a known ground-plane reflection coefficient, light
source intensities can be estimated from a chosen
solution to Equation 2. Otherwise, the intensities are
known up to a scaling factor.
EXPERIMENT
The images used in this experiment are synthetic images
at a resolution of 1000×1000 pixels, created using
Bunteong and Chotikakamthorn 175
Table 1. The estimation RMSEs for the single light source case.
<u>Method</u> <u>RMSE (%)</u>
Without the reflected light fitting step 12.05
<u>With the reflected light fitting step</u> <u>3.47</u>
# (a) (b)
Figure 7. Sample images in the single light source case (a) original image
(b) reconstructed image.
Blender 3D software. There were up to three point light
sources and a single camera in the scene, all of which
were placed above the object and looked down toward it. image obtained using the estimated light source position.
From this camera position, all specular highlights and
cast shadows can be seen in the rendered pictures. The
object was a sphere with a small conic shape on top. To Two light sources case
evaluate the performance in the presence of soft shadow,
nonpoint light sources were simulated by changing the
Blender’s ‘Samples’ parameter from the default value of 1
to 8 and ‘Soft Size’ parameter from the default value of
0.1 to 0.3. The experiments were performed to evaluate
the accuracy of the proposed method by computing the
Root Means Square Error (RMSE) of the estimated light
position. The RMSE percentage was calculated by
dividing the obtained RMSE with the actual light source the estimated light source position.
distance from the plane center (the point where the
sphere was placed on a ground). Improvement obtained
by using the reflected light fitting step (Step 7) was also Three light sources case
investigated.
One light source case
There was only one light source in this experiment.
Based on results with twenty different light source
positions, the RMSE of the distance between the position
of the real light source and the estimated position was
calculated and used as accuracy measure. The results image obtained using the estimated light source position.
using the methods with and without reflected light fitting
step are shown in Table 1. Figure 7a shows one of the
original images, while Figure 7b shows the reconstructed
image obtained using the estimated light source position.
Two light sources case
There were two light sources in this experiment. Based
on results with ten different two-light source positional
settings, the RMSE was calculated as in the previous
experiment. The results using the methods with and
without the reflected light fitting step are shown in Table
2. Figure 8a shows one of the original images, while
Figure 8b shows the reconstructed image obtained using
the estimated light source position.
Three light sources case
There were three light sources in this experiment. Based
on results with ten cases of three different light source
positions, the RMSE of the distance between the position
of the real light source and the estimated position was
calculated and used as accuracy measure. The results
using the methods with and without reflected light fitting
step are shown in Table 3. Figure 9a shows one of the
original images, while Figure 9b shows the reconstructed
image obtained using the estimated light source position.
From the results of the experiments, it is seen that the
176 Int. J. Phys. Sci.
Table 2. The estimation RMSEs for the two light sources case.
<u>Method</u> <u>RMSE of light No. 1 (%)</u> <u>RMSE of light No. 2 (%)</u>
Without the reflected light fitting step 12.41 12.68
<u>With the reflected light fitting step</u> <u>4.17</u> <u>4.20</u>
## (a) (b)
Figure 8. Sample images in the two light sources case: (a) original
image (b) reconstructed image.
Table 3. The estimation RMSEs for the three light sources case.
<u>Method</u> <u>RMSE of light No. 1 (%)</u> <u>RMSE of light No. 2 (%)</u> <u>RMSE of light No. 3 (%)</u>
Without the reflected light fitting step 13.33 14.18 14.04
<u>With the reflected light fitting step</u> <u>7.47</u> <u>7.69</u> <u>8.16</u>
### (a) (b)
Figure 9. Sample images in the three light sources case: (a) original
image and (b) reconstructed image.
estimated light source positions from the first method are less accurate in this case. Using the additional reflected
less accurate than the second method because of soft light fitting step noticeably improved the estimation
shadows with blurry edges. Feature point detection was accuracy.
Conclusions
In this paper, a method for multiple near point light
sources estimation has been described. Our method
uses information from specular highlights, feature points
in cast shadows and diffuse component on the
Lambertian ground plane. Specular highlight is used to
estimate a light source direction. Feature points, along
with an estimated light source direction, give an estimate
of a light source position. For a case where feature points
cannot be accurately detected, each possible solution is
applied to fit a ground-plane light reflection solution in a
non-negative least square sense. A solution candidate
with a minimum least square error is chosen as an
estimate of light source positions. Experimental results
have been reported on the method’s effectiveness.
Conflict of interests
The authors have not declared any conflict of interests.
REFERENCES
Bouganis CS, Brookes M (2004). Multiple light source detection. IEEE
Trans. Pattern Anal. Mach. Intell. 26(4):509-514.
Cao X, Shah M (2005). Camera Calibration and Light Source Estimation
from Images with Shadows. IEEE Comput. Soc. Conf. Comput.
Vision Pattern Recognit _._ 2:918-923.
Hara K, Nishino K, Ikeuchi K (2005). Light source position and
reflectance estimation from a single view without the distant
illumination assumption. IEEE Trans. Pattern Anal. Mach. Intell.
27(8):493-505.
Li Y, Lin S, Lu H, Shum H (2003). Multiple-cue illumination estimation in
textured scenes. Proc. Ninth Int. Conf. Comput. Vis. 2:1366-1373.
Powell MW, Sarkar S, Goldgof D (2001). A simple Strategy for
calibrating the geometry of light sources. IEEE Trans. Pattern Anal.
Mach. Intell _._ 23(9):1022-1027.
Bunteong and Chotikakamthorn 177
Sato I, Sato Y, Ikeuchi K (1999). Illumination distribution from brightness
in shadows: Adaptive estimation of illumination distribution with
unknown reflectance properties in shadow regions. Int. Conf.
Comput. Vis. 2:875-883.
Sato I, Sato Y, Ikeuchi K (2001). Stability issues in recovering
illumination distribution from brightness in shadows. IEEE. Conf.
Comput. Vis. Pattern Recognit. 2:400-407.
Schnieders D, Wong Kwan-Yee K, Dai Z (2010). Polygonal Light Source
Estimation. Computer Vision – ACCV 2009. Lect. Notes Comput. Sci _._
5996:966-107.
Takai T, Maki A, Niinuma K, Matsuyama T (2009). Difference sphere: An
approach to near light source estimation. Comput. Vis. Image
Unders _._ 113(9):966-978.
Wang Y, Samaras D (2002). Estimation of Multiple Directional Light
Sources for Synthesis of Mixed Reality Images. The tenth Pacific
Conf. Comput. Graph. Appl _._ 38-47.
Wei J (2003). Robust recovery of multiple light source based on local
light source constant constraint. Pattern Recognit. Lett. 24(1-3):159172.
Zhang Y, Yan YH (2001). Multiple illumination direction detection with
application to image synthesis. IEEE Trans. Pattern Anal. Mach.
Intell. 23(8):915-920.
Zhou W, Kambhamettu C (2002). Estimation of illuminant direction
and intensity of multiple light sources. Eur. Conf. Comput. Vis.
4(LNCS 2353):206-222.
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.