=Paper= {{Paper |id=Vol-2533/paper28 |storemode=property |title=Development of Printed Animated Graphic Images Based on Optical Illusions |pdfUrl=https://ceur-ws.org/Vol-2533/paper28.pdf |volume=Vol-2533 |authors=Mariya Nazarkevych,Sofiya Forostyna,Do van Thanh,Mykola Pasyeka,Nataliya Kustra,Vasyl Brytkovskyi |dblpUrl=https://dblp.org/rec/conf/dcsmart/NazarkevychFTPK19 }} ==Development of Printed Animated Graphic Images Based on Optical Illusions== https://ceur-ws.org/Vol-2533/paper28.pdf
Development of Printed Animated Graphic Images Based
                 on Optical Illusions

        Mariya Nazarkevych1[0000-0002-6528-9867], Sofiya Forostyna 1[0000-0002-6528-9867],

           Do van Thanh 2[0000-0002-3058-6650], Mykola Pasyeka 3[0000-0002-3058-6650],

        Nataliya Kustra1[0000-0002-3562-2032], and Vasyl Brytkovskyi 1[0000-0003-1224-9500]


           1 Lviv Polytechnic National University, 12 Bandery str., Lviv, 79013, Ukraine

       mariia.a.nazarkevych@lpnu.ua, vasyl.m.brytkovskyi@lpnu.ua
        2 Oslo Metropolitan University & Telenor, Snarøyveien 30, 1330 Fornebu, Norway

                               thanh-van.do@telenor.com
    3 Ivano-Frankivsk National Technical University of Oil and Gas, 15 Karpatsʹka str., Ivano-

                                    Frankivsk, 76000, Ukraine
                                   pms.mykola@gmail.com



         Abstract. The development of animated images that are printed on paper is
         covered in this article. Animated images are based on the illusion effect. Optical
         illusions include errors in visual perception caused by the inaccuracy or inade-
         quacy of processes of unconscious vision correction. The illusions that create
         the effect of motion, the effect of resizing, the effect of motion are considered.
         The development is based on the division of key frames of the moving image.
         These illusions have been developed for the print and the algorithm for anima-
         tion of the image has been developed.


         Keywords: animated images, digital printing, optical illusions


1        Analysis of printed animated optical illusions

Animated optical illusions include images that use the properties of human vision and
create the effect of a three-dimensional image and its motion. If you create an image
using special algorithms that connect the individual image components in a specific
way, it can create different special effects of motion.
   Man reading books try to create images that reflect the movement of objects. Im-
ages travel from page to page and cause feelings of pleasure, anger, love and more.
   For young children, they make books with a wealth of illustrations that should be
simple, understandable and immediately evoke the feelings above. This allows you to
better understand the book, learn about the world and develop feelings.
   But all the illustrations are static, motionless and it is very difficult to create an il-
lustration that triggers a movement response.

Copyright © 2019 for this paper by its authors. Use permitted under Creative Commons License
Attribution 4.0 International (CC BY 4.0)
2019 DCSMart Workshop.
    Completely different matter cartoons, animations. But man, the child is constantly
on the move. On the move, she learns about the world and develops. Therefore, we
believe that it is appropriate to create illustrations in books that are more moving to
convey the content and idea of the book. It is also very exciting and interesting. After
all, we buy the book and it is “alive”.
    When a person becomes an adult, he or she does not lose the taste of childhood and
wants to see in the book the same beautiful, kind, charming illustrations, but which
pass to another stage of perception. Man wants fairy tales. He wants something out of
the ordinary. Optical illusions can become such unusual illustrations.


2      Optical illusions as a new kind of graphic images

There are such types of illusions as physical, optical, sound, tactile, affective, verbal,
organic, illusions of awareness, pre-eminence.
    Physical illusions, these are illusions related to the objective laws of physics in the
world, in particular a spoon, partially immersed in a glass of water, is perceived as
broken [1].
    Optical illusions - a mistake of vision; errors in visual perception, caused by the
inaccuracy or inadequacy of processes of unconscious correction of visual image [2].
    Sound illusions, such as Shepard's tone [3].
    Tactile illusions, such as Aristotle's illusion [4].
    Physiological illusions are related to the peculiarities of the human sense organs,
for example, if several times simultaneously lifting two different objects by weight
with both hands and then another pair of objects of the same mass, then the object that
was in the hand, which was lighter before, will seem heavier than the object in the
other hand [5].
    There are other illusions, affective illusions - arising under the influence of
pronounced mood swings or due to the acute affect of fear, anxiety [6]. Verbal
illusions - arise as a result of distorted perception of real conversations of others [7].
    Organic illusions - the distorted visual perception of the shape, size, color, spatial
location, state of rest or movement of a real existing object; distinguish between
autometamorphopsia (sense of change in size, shape of parts of one's own body) and
exometamorphopsia (violation of perception of surrounding objects); this kind of
disorders of perception can be observed not only in mentally ill, but also in mentally
healthy people with pathology of the organ of vision [8].
    An optical illusion - is a mistake in visual perception, which is caused by inaccura-
cy or an inadvertent correction of the star image correction [9]. An optical illusion is
also called brain fraud. The human eye sees the image of one object, but the brain
understands the object in its way. What we see may not be true, and our brains may
perceive the same things at different angles in quite another way.
    Optical illusions have long been engaged in mathematics by M. Escher [10], O.
Reutersward [11]. G. Spiro [12], while researching the works of Augustus Ferdinand
Mobius, concluded that topology, vector theory, and multidimensional geometry
found application in illusions. B.B. Lissing [13] developed a theory of topology. The
great contribution to the development of illusions was made by artists I. Oroc [14], D.
Yun [15]. Ukrainian artists were also engaged in illusions. In particular S. Shcherbin
[16], exploring the works of the artist Shuplyak, came to the conclusion that his "du-
al" (this is what the artist calls his paintings with double or even triple content) inspire
reflection, reflect reality and carry certain information, and also intrigue, forcing a
good look to solve the drawn . Known influence of illusions on people and psychia-
trist A. Kitaoka [17].




Fig. 1. The illusion of a moving picture

The reasons behind the illusions of perception are varied and unknown to the end.
Some theories explain that visual illusions are created under the action of peripheral
factors (irradiation, accommodation, eye movements, etc.), others - by the influence
of some central factories. Fig. 1. Consider some types of optical illusions [10]:


2.1     Perception of mind
Such missions will lead to errors in the perception of real geometric quantities. Oth-
erwise, errors can reach up to 25%. Estimates of real quantities are strongly dependent
on the nature of the background image.




Fig. 2. The illusion of the size of Ebbinghaus

   Ebbinghaus illusion or Titchener circle is an optical illusion of perception of rela-
tive sizes. The most famous version of this illusion is that when two circles, identical
in size, are placed side by side, and around one of them are circles of large size, while
the other is surrounded by small circles, the first circle seems smaller than the second.
see Fig. 2. [18].
2.2    Illusions of motion perception
These are illusions, when the static and motionless pattern "comes to life" and begins
to move, or starts to rotate into one and then to the other side. There are throbbing
drawings, but really - all of these are static drawings see Fig. 3.




Fig. 3. The illusion of movement


2.3    The illusion of movement
   Animations may not be just "live" pictures, but represent real puzzles for vision.
Optical illusions always have ambiguous interpretations, and an illusory effect may be
noticeable when tilting, rotating, or moving.
   In artistic images, deliberate distortion of perspective causes special effects, best
known for M. Escher's work [19]. The effect is enhanced by tilting, rotating, zooming
in / out, in particular, the still image seems moving, when viewed with the same mov-
ing objects, you can see that they are different sizes, the same image can reproduce a
rotating object clockwise, against her or make oscillatory movements.


3      Creating optical effects

Data transmission based on optical effects is also practiced in modern information
technologies. Modern Snapchat development enables the reproduction of an image
that is programmed to self-destruct in a few seconds [20]. Or, new to this software is
that the image cannot be saved, making a screenshot or taking a camera. You can
make sure the image is true through optical illusions, where images disappear or ap-
pear from different angles. This idea of protection was implemented by the developers
of the utility "Yovo", which is available for "iPhone". Its essence is that the image is
covered by translucent vertical stripes. They can be activated by the sender and in this
case when they try to take a screenshot or take a picture the screen will be displayed,
which makes the image unreadable. However, when viewing a submitted photo, the
user will not feel discomfort. All because vertical bars are moving horizontally at high
speed. Due to this, the gaps between them merge into one and the human brain per-
ceives the information sent without interference. Creating a screenshot makes a static
striped copy. Due to the inability to reproduce the paper dynamics of the image.
   Copying of printed grids with a low reproduction rate causes a defect such as a
moiré. And on this phenomenon, it is possible to develop moving images.
   Moiré is the result of the interference of two or more periodic structures having dif-
ferent spatial frequencies [12].
   Moire occurs when a set of straight or curved lines is superimposed on another set
of lines. The name Moire was derived from the French word "watered" [19]. You can
see this effect by looking at the folds of the nylon curtain that fluctuate. If a grid with
parallel black and white lines of the same width overlaps the same grid, edges will
appear as the intersection angle changes.


4      Development of an animated image based on illusion

4.1    Creating a protective image
Therefore, the idea of creating an optical illusion for the protection of printing prod-
ucts is that the image will move as you apply and move the grid from above. Circle
motion is taken as the input image (Fig. 4).
Creating an image will take several steps:
• Framing;
• Inversion;
• Animation.
The result will be images with thin lines up to 0.25 mm thick that cannot be copied.




Fig. 4. Input image


4.2    Framing
   The first step in creating an optical illusion is to crop the image. Each frame of the
cat movement should be placed on a separate layer. Step by step cropping procedure:
    • Add an image to a new layer of a document by dragging it from a folder to an
       window.
    • Use the Rectangular Selection tool to highlight the first frame.
      •   Right-click on the highlighted area and select Copy to New Layer from the
          popup menu.
      •   Repeat step 3 with other frames. The result will be 9-12 layers of frames
      •   The crop is complete. For convenience, place all the layers with frames in one
          folder.


4.3       Inversion
   Each frame of the image becomes clearly visible when placed on it grid. Therefore,
the protective image should be formed of thin fragments placed between the grid lines
(Fig.5). Step by step image inversion procedure:
   Remove all frames from view. Make the first image visible. Center it.




Fig. 5. Step one is to place the first frame.

   Repeat the first step with the rest of the images, alternately including the visibility of each
frame.
Fig. 6. Step two is to place the frames in the center


4.4     Animation
   Each time the grid moves, a separate image frame should fall into the area of view
between the grid lines. Therefore, it is necessary to place the frames so that each
frame drops another frame.
   First you need to calculate the number of frames. The input image consisted of 12
frames of motion of a circle, so it is possible to select frames that will form a smooth
motion of the optical illusion. The line spacing is 1/9 of the grid line. This means that
9 frames are placed next to each other with offset to create the animation (Fig.6).


4.5     Step by step animation procedure for an image:
   Remove visibility from all but the first frame. The first image frame remains in
place. Enable grid visibility (Fig. 7).
Fig. 7. Step One - Placing the first frame


   • Enable second frame visibility. Move the grid to the left one step with the ← key.
Both frames were out of sight.
   • Move the second frame into view by pressing the ← key.
   • Enable third frame visibility. Move the grid one step. Press the ← key to place
the third frame in the area of view.
   Shifting the grid one step, similarly to place another 6 frames. Disable grid visibility.
   Therefore, as a result of performing all the steps of image and grid creation, a pro-
tective optical illusion is obtained, consisting of thin lines, about 0.24 mm thick. It is
not possible to copy such thin lines, which means that the image is copy-protected by
printing fine graphics. Another layer of security is also implemented - mesh authenti-
cation. The copied image will not be clear. When moving the grid, the original image
will move smoothly. Methods for constructing print print growth are taken in [21].
The development of image filtering at the pre-treatment stage of the method is taken
in [22]. Further processing of animated images was developed in [23]. Building
methods for intelligent decision support systems based on adaptive ontology were
used in [24]. Ontological structures were developed in [25]. The construction of li-
braries and systems was elaborated in [26]. The development of the data protection
method is presented in [27]. And hiding and protecting animated illusions is taken in
[28]. Creation of corresponding color profiles is taken in [29]. Building systems based
on the above properties is shown in [30]. The use of high resolution and its reduction
for animated images is taken in [31]. Data protection is shown in [32]. [33] shows the
automatic filtering by Ateb-Gabor.
Conclusions

The phenomenon of optical illusions as a perspective direction for creating moving
images is investigated. The causes of illusions and their reproduction are analyzed.
The literature on optical illusions and moiré is analyzed. The model of constructing
phenomena is investigated. During acquaintance with the theoretical aspects of optical
illusions and moiré, it became possible to formulate requirements for the developed
"moving" images.
    The effects of the moire printing defect are analyzed and based on its motion imag-
es. Printed animated graphic images based on the moire phenomenon and optical
illusions have been developed. Animated images are made using modern software.


References
[1]  Gana, K., Alaphilippe, D., & Bailly, N. Positive illusions and mental and physical health in later life.
     Aging & mental health, 8(1), 58-64 (2004).
[2] Bach, M., & Poloschek, C. M. (2006). Optical illusions. Adv Clin Neurosci Rehabil, 6(2), 20-21.
[3] Pressnitzer, D., Suied, C., & Shamma, S. Auditory scene analysis: the sweet music of ambiguity.
     Frontiers in human neuroscience, 5, 158 (2011).
[4] Iijima, Y., Uchida, M., Hachisu, T., & Hashimoto, Y. Enhancement of range of creation of foot sole
     tactile illusion by vibration stimulation of the foot instep. In 2019 IEEE World Haptics Conference
     (WHC) (pp. 31-36). IEEE (2019).
[5] Nematzadeh, N., Powers, D. M., & Lewis, T. (2019). Informing Computer Vision with Optical
     Illusions. arXiv preprint arXiv:1902.02922.
[6] Suzuki, Y., Minami, T., Laeng, B., & Nakauchi, S. Colorful glares: Effects of colors on brightness
     illusions measured with pupillometry. Acta psychologica, 198, 102882. (2019).
[7] Blake, A. B., & Castel, A. D. Memory and availability-biased metacognitive illusions for flags of
     varying familiarity. Memory & Cognition, 47(2), pp. 365-382 (2019).
[8] Nedyalkova, M., Madurga, S., Tobiszewski, M., & Simeonov, V. Calculating the Partition
     Coefficients of Organic Solvents in Octanol/Water and Octanol/Air. Journal of chemical information
     and modeling (2019).
[9] Shraa, S. I., Elmagd, A., Solyman, A. A., Moustafa, Y. M., Bakr, A. S. A., Shabana, A., & Abd El-
     Aziz, I. M. Physical Distinguishable of Heterogeneous Overlapping Resulting from Stamp-pad and
     Laser Printing Inks. Egyptian Journal of Chemistry, 62(8), 1391-1412. (2019).
[10] Elena, C., & Bazylevych, V. Optical illusion: apogee development. In Litteris et Artibus. Lviv
     Polytechnic Publishing House (2015).
[11] –Szpiro G. Poincaré's Prize: The Hundred-Year Quest to Solve One of Math's Greatest Puzzles /
     George Szpiro, Plume, 2007. – 66 р.
[12] Listing J. B. Vorstudien zur Topologie. Gottinger Studien / J. B. Listing. – 1. Abteilung math. und
     naturw.
[13] Orosz I. Vision of Desing. Index Books /Istvan Orozs. – Hesign, Berlin-Shanghai, 2007
[14] De Masi, A. STRATEGIES OF DIGITAL KNOWLEDGE’S REPRESENTATION: FROM DE-
     MORPHOGENESIS AT MSH-BIM. OPTICAL, THEATRICAL ILLUSION AND PERSPECTIVE IN
     THE NEAPOLITAN SCHOOL’S ARCHITECTURE DRAWING. The International Archives of
     Photogrammetry, Remote Sensing and Spatial Information Sciences, 42, 305-314. (2019).
[15] Sutkowski, R. A. From Optical to Tactile-Extruding Photography (Doctoral dissertation, Drexel
     University) (2019).
[16] Kitaoka A. et. al.:New illusion polygons Handbook of polygons, Tokyo: Maruzen, (2015)
[17] Sickle E. Optical Illusions [Text] / E. Sikl. - M.: Astrel, 2004. - 165 p.
[18] Escher M. C. Visions of Symmetryby D. Schattschneider / M. C. Escher . – New York and London, (2004)
[19] Amidror I., Hersch R.D. Method and apparatus for authentication of documents by using the intensity
     profile of moire patterns / Amidror I., Hersch R.D. – 2001.
[20] Dronjuk, I., Nazarkevych, M., & Troyan, O. The modified amplitude-modulated screening technology
     for the high printing quality. In International Symposium on Computer and Information Sciences (pp.
     270-276). Springer, Cham (2016).
[21] Medykovskyy, M., Lipinski, P., Troyan, O., Nazarkevych, M. Methods of protection document
     formed from latent element located by fractals. In 2015 Xth International Scientific and Technical
     Conference" Computer Sciences and Information Technologies"(CSIT). pp. 70-72. IEEE. (2015).
[22] Dronyuk I., Nazarkevych M., Poplavska Z. Gabor Filters Generalization Based on Ateb-Functions for
     Information Security. In: Gruca A., Czachórski T., Harezlak K., Kozielski S., Piotrowska A. (eds)
     Man-Machine Interactions 5. ICMMI 2017. Advances in Intelligent Systems and Computing, vol 659.
     Springer, Cham (2018).
[23] Nazarkevych M., Riznyk O., Samotyy V., Dzelendzyak U. Detection of regularities in the parameters
     of the ateb-gabor method for biometric image filtration. Eastern-Еuropean journal of enterprise
     technologies. № 1(2). pp. 57–65. (2019).
[24] Lytvyn, V., Vysotska, V., Dosyn, D., Lozynska, O., Oborska, O. Methods of building intelligent
     decision support systems based on adaptive ontology. In 2018 IEEE Second International Conference
     on Data Stream Mining & Processing (DSMP). pp. 145-150. IEEE. (2018).
[25] Lytvyn V., Vysotska V., Pukach P.Y, Nytrebych Z., Demkiv I., Kovalchuk R., Huzyk N.
     Development of the lingummetric method for automatic determination of the author of textual
     content based on statistical analysis of language diversity coefficients // Eastern-Еuropean journal of
     enterprise technologies. № 5/2 (95). pp. 16–28. (2018).
[26] Rusyn Bohdan, Lytvyn Vasyl, Vysotska Victoria, Emmerich Michael, Pohreliuk Liubomyr. The
     virtual library system design and development. In: Advances in Intelligent Systems and Computing
     (AISC). – Vol. 871: Advances in intelligent systems and computing III. Selected papers from the
     International conference on computer science and information technologies, CSIT, September 11-
     14, Lviv, Ukraine. pp. 328–349. (2018).
[27] Kovalchuk, A., Lotoshynska, N. Elements of RSA Algorithm and Extra Noising in a Binary Linear-
     Quadratic Transformations during Encryption and Decryption of Images. Proceedings of the 2018
     IEEE 2nd International Conference on Data Stream Mining and Processing, DSMP, pp. 542-544.
     (2018).
[28] Rashkevych Yu.Yu., Peleshko, D.D., Kovalchuk, A.M. The use of disjunctive covering of images to
     increase strength of the RSA algorithm. Proceedings of 7th International Conference on Perspective
     Technologies and Methods in MEMS Design, MEMSTECH, pp. 168-169. (2011).
[29] Anatoliy Kovalchuk, Nataliia Lotoshynska, Michal Greguš, Ivan Izonin, Leonid Berezko. An
     Approach towards an Efficient Encryption-Decryption of Grayscale and Color Images. The 6th
     International Symposium on Emerging Inter-networks, Communication and Mobility (EICM) ,
     August 19-21, 2019, Halifax, Canada, pp. 630 – 635.
[30] V.A. Mashkov, O. V. Barabash Self-checking and self-diagnosis of module systems on the principle
     of walking diagnosis kernel. Engineering Simulation. Vol.15, pp. 43-51. (1998).
[31] Dmytro Peleshko, Taras Rak, Ivan Izonin, "Image Superresolution via Divergence Matrix and
     Automatic Detection of Crossover", International Journal of Intelligent Systems and Applications
     (IJISA), Vol.8, №.12, pp.1-8. (2016). DOI: 10.5815/ijisa.2016.12.01
[32] Nazarkevych, M., Buriachok, V., Lotoshynska, N., Dmytryk, S. Research of Ateb-Gabor Filter in
     Biometric Protection Systems. In 2018 IEEE 13th International Scientific and Technical Conference
     on Computer Sciences and Information Technologies (CSIT), Vol. 1, pp. 310-313. (2018).
[33] Nazarkevych, M., Oliarnyk, R., & Dmytruk, S. An images filtration using the Ateb-Gabor method.
     In 2017 12th International Scientific and Technical Conference on Computer Sciences and
     Information Technologies (CSIT).Vol. 1, pp. 208-211. IEEE (2017).