<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>T. Kano);</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Projection Alignment Correction by Appearance Control for 2-axis movement⋆</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Takaya Kano</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Toshiyuki Amano</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Wakayama University</institution>
          ,
          <addr-line>930, Sakaedani, Wakayama-shi, Wakayama</addr-line>
          ,
          <country country="JP">Japan</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2023</year>
      </pub-date>
      <volume>000</volume>
      <fpage>0</fpage>
      <lpage>0003</lpage>
      <abstract>
        <p>In this paper, we propose to extend the alignment correction method for moving projected objects to correction of 2-axis movement. We also propose a method to deal with afterimages that occur when a projection method using model predictive control is applied to a moving object. In this method, the projected image is generated considering the frame bufer of the camera and the alignment correction is applied. Experimental results show that the proposed method does not generate afterimages and that the intended projection is possible.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Spatial Augmented Reality</kwd>
        <kwd>Appearance Control</kwd>
        <kwd>Projector-camera system</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>poses a method to correct alignment errors in projections
from moving vehicles. However, the method was limited</p>
      <p>
        Spatial Augmented Reality (SAR) has emerged as a to movement along a single axis, thus lacking support
technology that employs projectors to project virtual ob- for motion in other directions. In this study, we take a
jects into real world. This key technology, shader ramps, preliminary step towards supporting rotational motion
was proposed by Rasker et al[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. This technology has by extending the projection object’s movement to 2-axis.
produced great results, especially in projection mapping, We propose a comprehensive method for scenarios where
and it demonstrates a valuable lighting efect not only for the projection object can move in any direction.
amusement [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] but also for guidance in the factory [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] . The previous approach in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] relied on feedforward
By leveraging observation in SAR, new avenues open up control for projection, as opposed to MPC. The rationale
for exploiting our visual perception, enabling the manip- behind this choice is that feedforward control merely
ulation of visible color and also achieves enhancing our shifts the projection position, while MPC causes the
vision [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. projection to stretch, akin to an afterimage.
Conse
      </p>
      <p>
        In the realm of SAR research, Amano et al. introduced quently, compensating solely for the projection position
an innovative approach called as Appearance Control, was deemed insuficient to solve the problem.
Nonetheutilizing feedback processing through MPC(model predic- less, the Appearance Control with feedforward control
tive control) [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. However, a problem issue arises with Ap- failed to account for modeling errors, preventing the
pearance Control when the projection target undergoes object’s appearance from closely aligning with the
inmovement, leading to the occurrence of after-images due tended target.Therefore, in this research, we present a
to system delays, consequently impeding the intended novel method that enables the intended projection even
control. To address this challenge, Kono et al. proposed when utilizing Appearance Control with MPC for moving
an Algorithm to Compensate the Time Delay for the Ap- objects.
pearance Control System [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. This method efectively
reduces the afterimage generation time by accounting
for processing delays within the system. However, it fails 2. Related Work
to completely prevent afterimage occurrence, even when
the projection target is in motion. In this study, we extend the alignment correction
      </p>
      <p>
        In a diferent context, Amano et al. proposed the ap- method [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] in 2-axis and aim to resolve the afterimage
plication of appearance control to automobile headlights, that occur when using Appearance Control [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] on a
movproviding visual assistance for drivers [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].This study pro- ing object. Therefore, this chapter introduces
Appearance Control [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] and alignment correction method [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
      </p>
      <p>
        The appearance control shown in Fig.1 is achieved by
the projector-camera feedback processing using MPC[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]
      </p>
      <p>′
2 ′Δ =  {2 Δ − 2 } + 2</p>
      <p>(1)</p>
    </sec>
    <sec id="sec-2">
      <title>3. Proposed method</title>
      <sec id="sec-2-1">
        <title>3.1. Extension to 2-axis movement</title>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Alignment Correction</title>
        <p>
          This section describes how to extend the direction of
movement of the projection target to two-axis. First, as
1. Capture image  of the projection target using in Amano et al.’s method [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ], calibration is performed in
camera. advance to obtain the correspondence before and after
2. Estimates reflectance ˆ from the relation of pro- the move. In this study, the correspondence 2 Δ
jected image  and  with  (under maxi- between cameras before and after moving is obtained
mum brightness projection), and 0 (under mini- and used.
        </p>
        <p>mum brightness projection). To extend this correspondence to 2-axis, we obtain
3. Estimate object appearance  under white the pixel mapping by moving the projector-camera
syslight projection using ˆ and the image ℎ tem along the X and Y axes of the Cartesian coordinate
captured when projected white light. system, respectively. We denote the pixel mapping that
4. Apply arbitrary image processing on  to gen- compensates for the positional deviation when moving
erate target image . in the X-axis direction is 2Δ, and the pixel
map5. Adjust  with MPC from the diference between ping that compensates for the positional deviation in the
 and . Y-axis direction is 2Δ.
6. Convert the shape of  to the projector coordi- The displacement of movement is calculated from
nate system and projected it from the projector. these pixel mappings and extended to 2-axis by
combining them. The pixel mapping 2 ′Δ which corrects
the displacement when moving in 2-axis, can be obtained
as follows.
imFaigge.2anshdotwhse tphreojreecltaiotinonimshaipgebdeutwrienegnvtehheiccleapmtuorveed- 2 ′Δ = ′ {2Δ(, ) − (, ) }
ment. In this figure, () and  () represent the
captured and projected images at time , respectively;  + ′ {2Δ(, ) − (, ) } + (, )
and   represent the captured and projected images by (2)
the external projector-camera system used for calibra- where (, ) represent the coordinates of the captured
tion, respectively. When the vehicle is moving at speed image before movement, , , ′ and ′ represent the
 , the annotation is projected to the forward position reference displacement of the X-axis and the Y-axis and
with a displacement of  ∆  for its processing latency of the arbitrary velocity in each axis direction, respectively.
∆ . Therefore, we can compensate for the misalignment 2(, ) and 2(, ) represent the
coordidue to latency of the moving speed  by finding the pixel nates of the corresponding captured image at the position
mapping 2 Δ between () and  ( + ∆ ). where the coordinates (, ) of the captured image
be</p>
        <p>When moving with a given velocity  ′, we can com- fore the move have moved by the reference displacement
pute the corresponding pixel mapping by linearly inter-  ,.
polating the pixel mapping 2 Δ at velocity  as</p>
      </sec>
      <sec id="sec-2-3">
        <title>3.2. Alignment correction in appearance control using MPC</title>
        <p>When performing alignment correction, it is necessary
to project to the position where the projection object has
moved within the processing time of the system. In
practice, however, there is not only the processing time, but
also the delay due to the frame bufer that temporarily
stores the images captured by the camera. Therefore, the
images processed by the system are the images taken
before the number of bufers, so when shifting the pro- Figure 3: Experimental setup
jection position, the delay time  due to the bufers also
had to be considered.</p>
        <p>
          However, this camera bufer is the cause and, with where (, ) are the coordinates of the generated  (+
appearance control through MPC, simply shifting the 1). In addition, the apparent estimation under white
projected image cannot eliminate the resulting afterim- illumination, shown in processing step 2 of 2.1, uses the
age. We explain the causes in 3.2.1. following equation presented by Kono et al [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ].
        </p>
        <sec id="sec-2-3-1">
          <title>3.2.1. Causes of afterimages</title>
          <p>We denote time within the Appearance Control as .
The projection taken in the captured image () is the
projected image  ( − ) before the number of bufers.
This is the correct combination of images to use in the
system’s calculations. However, since this system does
not consider delays caused by bufers, the projection
image  ( − 1), which is one step ahead of the captured
image (), is used in model prediction control. If the
projection target is not moving, this combination can still
produce the intended projection. However, even if the
alignment correction method is applied to the projected
image, if the projection target is in motion, the
coordinates will no longer match due to the time lag. As a result,
the diference image is not added at the intended position
in process 5 described in section 2.1. Consequently, the
diference image is projected as an afterimage.</p>
        </sec>
        <sec id="sec-2-3-2">
          <title>3.2.2. considering the frame bufer</title>
          <p>To solve such problems, it is necessary to consider the
delay caused by bufers. Therefore, we propose a method
to realize Appearance Control using MPC without
afterimages by considering bufers and applying alignment
correction method.</p>
          <p>The determination of the next projected image, which
considers the bufer, is given by the following equation.
 ( + 1) ≈  ( − ) + ˆ− 1()(1 −  )</p>
          <p>{( + 1) − ()./( − 0)}
where,  is a tuning parameter and ./ represents
elementwise division. By applying alignment correction method
to the calculated projected image  ( + 1), the projected
image  ′( + 1) onto the moving projection target is
then determined as follows.</p>
          <p>′( + 1) = 2 ′Δ(, )
ˆ() = [()./( − 0) ⊙  ( − ) + 0]
(5)
where ⊙ is element-wise multiplication.</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>4. Experimental setup and results</title>
      <p>Fig.3 shows our experimental setup. For the
projectorcamera system, we used a BenQ MH550 with a resolution
of 1600 × 900 as projector and a Ximea MQ013CG-E2 with
a resolution of 1280 × 900 as camera. was mounted on
a motorized linear stage to obtain pixel mapping
compensated for displacement due to movement. The
external projector for acquiring the pixel mapping was a
Sony VPL-EW276 with a resolution of 1280 × 800 and
the projector-camera system was positioned so that the
range of the image captured by the projector fell within
the projector’s projection range. The reference
displacements for pixel mapping acquisition were set at 10 mm
in the x-direction and 50 mm in the y-direction. Also,
we determined the value of  is 3, which minimizes
misalignment, through empirical experience. Decimal
values Obtained in calculations (2) were rounded to the
nearest whole number.</p>
      <sec id="sec-3-1">
        <title>4.1. Comparative Evaluation</title>
        <p>To validate the efectiveness of the proposed method,
we compared the appearance control with the proposed
(3) method. Fig. 4 shows the projection results when the
projection object is moved by a motor stage and at an
arbitrary speed. In this evaluation we used color phase
control for image processing. The processing time for
this projection was approximately 42 fps. The results
show that appearance control produces an afterimage.
In contrast, the proposed method prevents afterimages
from occurring while the projection target is moving and
(4) shows overlapping projection results.</p>
      </sec>
      <sec id="sec-3-2">
        <title>4.2. Comparative Experiments</title>
        <p>The results of 4.1 confirm the efectiveness of the
proposed method. In this section, in a similar experimental
environment, saturation enhancement was used for
image processing, and saturation was compared in three
states: with the projection target stationary, moved with
the proposed method, and moved without the proposed
method. As a projection target, we used a sheet of paper
printed with a square of 60 mm in length and width. The
projection target was moved at -30 mm/s in the Y-axis
direction, and the image taken by the system at the
position where the projection target was moved 100 mm was
used for evaluation.</p>
        <p>Fig.5 shows the experimental results. The results show
that when the projection target is moved without using
the proposed method, the saturation is reduced in the red
square area compared to the state where the projection
target is stationary. On the other hand, when the
proposed method is used, it can be seen that the saturation
has not changed from the stationary state. From this
result, we can say that the proposed method is capable
of the same projection even when the projection target
is moving. However, as can be confirmed by carefully
looking at the contour of the projected object in Fig.4, a
misalignment in the projected position was observed.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>5. Discussion</title>
      <p>We rounded of the small number of decimal places
generated by the calculation in (2) to one decimal place
as misalignment compensation. However, truncated and
rounded values can accumulate as errors as the steps
progress. As a solution to this problem, we are currently
considering creating an error map of the decimal part of
the result of Eq. (2). Using this map, the decimal portion
is accumulated according to the processing steps, and the
amount of displacement of pixels whose value exceeds
1 is adjusted. We expect that this method can eliminate
the misalignment that occurs.</p>
      <p>Also, the proposed method continues to generate
afterimages when used in situations where the moving speed
of the object is diferent from the speed given to the
system. Therefore, it is necessary to consider methods that
do not require providing advance information about the
movement of the projection target to the system. We will
address this problem in our future work.</p>
    </sec>
    <sec id="sec-5">
      <title>6. Conclusion</title>
      <p>In this study, a method is proposed to compensate for
misalignment of the projection with respect to a moving
projection object in any direction. The proposed method
extends the compensation for misalignment in two axes
to achieve accurate projection alignment. We have also
proposed a method for intended projection on moving
objects in Appearance Control with MPC. Experimental
results showed that the proposed method did not
produce afterimages when the object moved in any direction.
However, it was also found that the projected positions
did not perfectly match due to cumulative errors. In
addition, when the proposed method was used in situations
where the speed of the moving object was diferent from
the speed given to the system, the proposed method
continued to produce afterimages. These problems will be
addressed in future studies.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>R.</given-names>
            <surname>Raskar</surname>
          </string-name>
          , G. Welch,
          <string-name>
            <surname>K.-L. Low</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Bandyopadhyay</surname>
          </string-name>
          ,
          <article-title>Shader lamps: Animating real objects with imagebased illumination</article-title>
          ,
          <source>in: Rendering Techniques 2001: Proceedings of the Eurographics Workshop in London, United Kingdom, June</source>
          <volume>25</volume>
          -27,
          <year>2001</year>
          12, Springer,
          <year>2001</year>
          , pp.
          <fpage>89</fpage>
          -
          <lpage>102</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <article-title>[2] How panasonic helped create a memorable opening ceremony of the olympic games tokyo 2020 with its next-gen projectors</article-title>
          (tokyo
          <year>2020</year>
          )
          <article-title>| panasonic oficial olympic &amp; paralympic website | panasonic holdings</article-title>
          , https://holdings.panasonic/global/olympic/ tokyo/Panasonic_Story_at_TOKYO2020_
          <fpage>06</fpage>
          .html, (Accessed on 07/29/
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <article-title>[3] Projection picking system(pps) | digital transformation (dx) for factories and distribution centers by aioi system</article-title>
          , https://hello-aioi.com/en/solution/products/ digital_picking/pps/, (Accessed on 07/29/
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>T.</given-names>
            <surname>Amano</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Kato</surname>
          </string-name>
          ,
          <article-title>Appearance control by projector camera feedback for visually impaired</article-title>
          ,
          <source>in: 2010 IEEE Computer Society Conference on Computer Vision</source>
          and Pattern Recognition-Workshops, IEEE,
          <year>2010</year>
          , pp.
          <fpage>57</fpage>
          -
          <lpage>63</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>T.</given-names>
            <surname>Amano</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Kato</surname>
          </string-name>
          ,
          <article-title>Appearance control using projection with model predictive control</article-title>
          ,
          <source>in: 2010 20th International Conference on Pattern Recognition</source>
          , IEEE,
          <year>2010</year>
          , pp.
          <fpage>2832</fpage>
          -
          <lpage>2835</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>K.</given-names>
            <surname>Kono</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Ushida</surname>
          </string-name>
          , T. Amano,
          <article-title>Algorithmtocompensate the time delay for the appearance control system using camera and projector</article-title>
          ,
          <source>Transactions of the Insitute of Systems, Control and Information</source>
          Engineers Vol.
          <volume>29</volume>
          (
          <issue>2016</issue>
          ) pp.
          <fpage>93</fpage>
          -
          <lpage>100</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>T.</given-names>
            <surname>Amano</surname>
          </string-name>
          , T. Kagawa,
          <article-title>Projection alignment correction for in-vehicle projector-camera system</article-title>
          ,
          <source>Int'l Conf. on Artificial Reality and Telexistence and Eurographics Symposium on Virtual Environments</source>
          (
          <year>2021</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>