Научная статья на тему 'Image construction to automation of projective techniques for psychophysiological analysis'

Image construction to automation of projective techniques for psychophysiological analysis Текст научной статьи по специальности «Компьютерные и информационные науки»

CC BY
116
17
i Надоели баннеры? Вы всегда можете отключить рекламу.
Ключевые слова
AFFINE TRANSFORMATION / GEOMETRIC AND COLORIMETRIC IMAGE CONVERSION / INTERACTIVE GRAPHIC EDITOR / PROJECTIVE TECHNIQUES

Аннотация научной статьи по компьютерным и информационным наукам, автор научной работы — Pavlova Natalia, Avrunin Oleg

The search for a solution of automation of the process of assessment of a psychological analysis of the person drawings created by it from an available set of some templates are presented at this article. It will allow to reveal more effectively infringements of persons mentality. In particular, such decision can be used for work with children who possess the developed figurative thinking, but are not yet capable of an accurate statement of the thoughts and experiences. For automation of testing by using a projective method, we construct interactive environment for visualization of compositions of the several images and then analyse

i Надоели баннеры? Вы всегда можете отключить рекламу.
iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

Текст научной работы на тему «Image construction to automation of projective techniques for psychophysiological analysis»

DOI: 10.6084/m9.figshare.5230351 LCC - BF176-176.5

IMAGE CONSTRUCTION TO AUTOMATION OF PROJECTIVE TECHNIQUES FOR

PSYCHOPHYSIOLOGICAL ANALYSIS

Natalia Pavlova1, Oleg Avrunin2

1 Kharkov National University of Radio Electronics, Department of Biomedical Engineering, Kharkov, Ukraine

2 Kharkov National University of Radio Electronics, Department of Biomedical Engineering, Kharkov, Ukraine

Address for Correspondence: Oleg Avrunin, doctor of engineering sciences Institutional affiliation: professor at Kharkov National University of Radio Electronics Nauka avenue, 14, Kharkov, 61166, Ukraine E-mail: gavrun@list.ru

Abstract. The search for a solution of automation of the process of assessment of a psychological analysis of the person drawings created by it from an available set of some templates are presented at this article. It will allow to reveal more effectively infringements of persons mentality. In particular, such decision can be used for work with children who possess the developed figurative thinking, but are not yet capable of an accurate statement of the thoughts and experiences. For automation of testing by using a projective method, we construct interactive environment for visualization of compositions of the several images and then analyse.

Keywords: affine transformation; geometric and colorimetric image conversion; interactive graphic editor; projective techniques.

Introduction. In the modern world we can see the development of computer psychodiagnostics, which is associated with fundamentally different capabilities (adaptive testing, time as a factor in the experiment, virtual reality, gaming motivation) offered by the use of computers.

There are many techniques and methods of psycho-diagnostics, which can serve as a separate tool or to complement each other. Stop your attention on projective techniques [1-2]. These techniques cause the ambiguity of many specialists. On the one hand they are more informative than many of the questionnaires and tests, and with another - are difficult to interpret.

ISSN 2311-1100 CC-BY-NC

For today, there is no unanimity on the interpretation of the results of psychographic research [3].

This fact significantly reduces the possibility of psycho-diagnostic use of graphical techniques, and inhibits their development, enrichment and verification.

For making the process of interpretation easiest, was offered the creation of the graphics editor in which it would be possible to implement some templates of diagnostic criteria for automation of the process of interpretation the test results.

Materials and Methods. In the development of information system for automation of testing by using a projective method, there arises the problem of constructing interactive on-screen visualization of the composition of several images. This task can be divided into two parts - the geometric and colorimetric image conversion [4-7]. The first part determines the position of each component image on the screen, and the second is the interaction of images at their mutual overlap.

The simplest geometric transformation of the image determines the shift of the image relative to the center of the screen, or any other selected on-screen reference points, the scale and rotation relative to some point. In fact, these transformations are the projection of image plane onto the plane of the screen. To perform the above transformations offers are considered in [8] of the affine coordinate conversion, which can be specified as follows:

xim ~ Axxs + Bxys + Cx yim = Ayxs + Byys + Cy

(1)

where (xim, yim) - the coordinates of the point image in the coordinate system of the image that will

be displayed at the point of screen coordinates (xs,ys) in the coordinate system of the screen s (screen) ;

Ax, Bx, Cx, Ay, By, Cy - the coefficients of the affine transformation.

The main characteristics of the proposed conversion is the preservation of parallelism of line segments, connecting the same point source and obtained after transformation of the image and ease of implementation. The first property makes it easy to find the coefficients of affine transformation by setting the condition of the three, defining a plane of the original image pixels on the screen, and the second gives the relative independence from the computing power of a processor, which included in the information system.

ISSN 2311-1100 CC-BY-NC

To use relations (1) it is necessary to find the values of affine coefficients that determines the position

of the original image on the screen. From this relation it is seen that the coefficients Cx and Cy determine

the displacement of the image relative to the screen origin, Ax and By - are the scale, Bx and Ay - linear

shift corresponding to the coordinate axes. However, despite the obvious sense of affine coefficients, the implementation of the complex geometric transformation of the image requires taking into account the mutual influence of these coefficients and additional calculations.

Using the above-mentioned property of the transformations (1), the affine coefficients can be obtained by solving two systems of linear equations three variables:

Xs[1] • Ax + ys[1]-Bx +1-Cx = Xm[1]

< Xs[2] • Ax + ys[2] • Bx +1 • Cx = xim[2], xs[3] • Ax + ys[3] • Bx +1-Cx = xim[3] xs[1] • Ay + ys[1] • By +1 Cy = yim[1]

< xs [2] • Ay + ys [2] • By +1 • Cy = y m [2],

x,[3] • Ay + ys[3] • By +1 Cy = yim[3]

where [i], ys [i]), i = 1..3 - point coordinates of the screen in which will be projected reference

point of the source image with coordinates (xim[i],yim[i]), i = 1..3 . Given the system of equations will

always have a solution, if chosen on the original image reference points are not collinear, that is, clearly define the plane of the original image.

The system of equations (2) can be solved by any known methods. As reference points of the reference image, it is advisable to choose distant from each other points, which will increase the accuracy of calculation of the affine coefficients.

It should be noted that, despite the simplicity of most of the geometric operation of projection images on the plane of the screen, complexity is the task of the parameters of this operation using the input devices present in the information system. This difficulty is that users of such a system, which are the medical professionals and patients, mostly poor guide to geometric concepts. Therefore, the interface set the parameters of geometric transformations of the images should be simple and obvious manipulation of input devices, such as capturing, dragging, mouse wheel, etc.

ISSN 2311-1100 CC-BY-NC

Results. Consider figure 1, which shows a geometrically transformed image with the original size

of Wim to Him points.

On the screen this image is submitted with some large-scale coefficient of m . The coordinate system for image is turned relative to the coordinate system of the screen on the angle p . On the image are chosen three reference points:

xim[1] ximsc xim[2] ximsc ximt3] 0 ^^

yimfl] = " yimsc yim[2] ' = 0 yim[3] = ' yimsc

where the coordinates are in the coordinate system of the image.

Point 1 is the center of scaling and rotation - is a point 1 with the coordinates. This point in system of coordinates of the screen has coordinates:

xA1]= xsso yS[1]= ySSc. (5)

ISSN 2311-1100

The dimensions of the image on the screen will be:

CC-BY-NC

W =m-W H =m-H (6)

Except a point 1 on the image are chosen two more reference points - 2 and 3 with coordinates (xrmsc,0) and (0,yimsc) respectively. From the figure 1 and expressions (5) we can see, that values of coordinates of these points in system of coordinates of the screen can be received as follows:

xs [2] = xssc - m ■ yimsc ■ sin^ ys [2] = yssc - m ' yimsc ' C0S^ xs[3] = xssc - m ■ ximsc ■ C0S^ ys[3] = yssc + m ximsc ■ sin^-

Substituting (3), (4) and (7) in the system (2) we find the unknown coefficients of the affine transformation.

Thus, the position of the image on the screen, you can specify a set of the following parameters: center of scaling and rotation coordinates in two coordinate systems - image and screen, scale factor and rotation angle.

Center of scaling and rotation coordinates - this is the coordinates of pointer of the input device at the moment of start of any operations over image. The action over the image is determined by the active element of the input device. For example, if you press and hold the left mouse button the image is dragged across the screen, following the mouse pointer. When you rotate the mouse wheel - respectively the scale factor is changing. When you press and hold the right mouse button - sets the increment of the rotation angle of the image, is equal to the angle between the axis x of the screen and the vector, drawn from the center of scaling and rotation in the current point location of the mouse pointer.

It is necessary to emphasize the ease of implementation of the transformation (1) line-by-line analysis (scan) screen coordinates. Before the beginning of the scan sets the initial coordinate values

x0 = Cx, y0 = CV . At the beginning of the scan of each row the values of the coordinates are set

im im y

ISSN 2311-1100 CC-BY-NC

xim = x° , yim = y° . Further, when moving to the next point of the line is run increment of coordinate

im im

xim u yim at the values Ax and Ay corresponding. After ending of next line is run increment of the initial values of the coordinates x° u x° at the values Bv and B, corresponding. Further, the process is

im im x y i ^

repeated. Thus, transformation (1) can be implemented only by performing two elementary operations of addition for each point of the screen. This virtually eliminates the nomination of any computing power requirements of the processor of the information system.

Discussed in [8] colorimetric transformations of images for the implementation of projective techniques testing of interest is only the operation of mixing, which determines the interaction of several images at a given point of the screen. For two images, the operation of mixing is performed without loss of information may be represented in the form:

Em (x y) = (1 - k1 (x y)) ■ Eo (x y) + k1 (x y) ■ E1(x y), (8)

where Em(x,y),Eo(x,y), Ei(x,y) - the intensity of the particular color component, the resulting, background and foreground images corresponding, k^x, y) - a function of the presence of the foreground image in the resulting image.

In emitting the imaging systems, which include monitors of different principle, the used additive colorimetric system in which the image is represented by a set of red R(x, y), green G(x, y) and blue B( x, y) color components. The dependence of (8) must be implemented for each of the color component images.

To preserve the linearity of the mixing operation, the value of the function presence must lie in the interval [0,1]. A value of 0 corresponds to complete absence of information on the overlay image at a given point of the screen, and the full presence of the background image. A value of 1 represents full presence information of the overlay image at a given point of the screen and the complete absence of background image.

For saving color scheme mixing images the function the presence of k(x, y) is the same for all three color components. This function can be set in the image for each point, for example, the PNG format [9] and be continuous for all points in the image. In the first case provides much more opportunities for the

ISSN 2311-1100 CC-BY-NC

implementation of video effects, for example, the transparency of the glass. Description of the process of

defining the functions of presence for the source of the images is beyond the scope of this work.

Existence of the presence function is useful in geometric transformations of images. So, if the result of the calculation of the coordinates (xim,yim) the obtained values, which do not go beyond the allowable

range ([0,^m),[0, Him)), that presence function ks (xs, ys ) image at a given point of the screen is assigned the value of the presence function kim(xim, yim), taken from the original image. Otherwise, ks (xs, ys ) = 0 , that corresponds to the complete absence of information about the original image at a given point of the screen.

If necessary, mixing N images, the expression (8) is iteratively applied to each image:

Emi(xy) = (1 - ki(xy)) ■ Ei-1(xy) + ki(x,y) ■ Ei(x,y), i = 1 N, (9)

where Eo(x, y) - the intensity of the particular color component of the background image of the screen.

Discussion: Currently, the drawing is firmly established in the practice of psychological diagnostics and has become one of the most common objects of psychological analysis [10-12].

Unlike other methods of psychological study of drawing has a number of advantages:

a) can be used in the early stages of ontogenetic development, since 2-3 years;

b) the use of drawing as a test takes considerably less time than many other tests, while its informational content can be much higher;

c) drawing tests can be applied in a wide range of practical tasks: diagnostic, educational, correctional, as well as in various areas of psychology, from developmental psychology, psychology of creativity, to social psychology, legal psychology and psychology of labor;

d) the drawing is providing for psychological analysis of large volume of both qualitative and quantitative indicators, that allows to test the degree of validity and reliability - are the most important requirements for psychodiagnostic methods.

When interpreting images, it is important to conduct a holistic (typological) and elementwise analysis to obtain informative and reliable results. Thus, the ready image is estimated from the position of availability of the content and plot, and analysed in terms of colors, relative size of figures and their relationship.

-

ISSN 2311-1100 CC-BY-NC I

Conflict of interest statement: The authors state that there are no conflicts of interest regarding

the publication of this article.

Author Contribution: Conceptualization: Oleg Avrunin. Methodology: Natalia Pavlova.

Software: Natalia Pavlova. Formal analysis: Oleg Avrunin. Writing - original draft preparation: Natalia

Pavlova. Writing - review and editing: Oleg Avrunin.

ORCID

Natalia Pavlova: http://orcid.org/0000-0003-1656-1542 Oleg Avrunin: http://orcid.org/0000-0002-6312-687X

ISSN 2311-1100 REFERENCES:

CC-BY-NC

1. Shlyapnikova IA. Proektivnyie metodyi psihodiagnostiki [Projective methods of psychodiagnostics]. Chelyabinsk: YuUrGU; 2005. 71 p. (In Russian).

2. Romanova ES. Graficheskie metodyi v prakticheskoy psihologii [Graphical methods in experimental psychology]. 2nd ed. Moscow: Aspekt press; 2011. 400 p. (In Russian).

3. Potemkina OF, Potemkina EV. Psihologicheskiy analiz risunka i teksta [Psychological analysis of pattern and text]. Sankt-Peterburg: Rech; 2006. 524 p. (In Russian).

4. Gruzman IS, Kirichuk VS, Kosyih VP, Peretyagin GI, Spektor AA. Tsifrovaya obrabotka izobrazheniy v informatsionnyih sistemah [Digital image processing in information systems]. Novosibirsk: NGTU; 2002. 352 p. (In Russian).

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

5. Byikov RE, Frayer R, Ivanov KV, Mantsvetov AA. Tsifrovoe preobrazovanie izobrazheniy [Digital conversion of images]. Moscow: Goryachaya liniya - Telekom; 2003. 228 p. (In Russian).

6. Gorbunova EV, Chertov AN. Tipovyie raschetyi po kolorimetrii istochnikov izlucheniya [Typical conditions for colorimetry of light sources]. Sankt-Peterburg: Universitet ITMO; 2014. 90 p. (In Russian).

7. Krasilnikov NN. Tsifrovaya obrabotka 2D i 3D-izobrazheniy [Digital processing of 2D and 3D images]. Sankt-Peterburg: BHV-Peterburg; 2011. 608 p. (In Russian).

8. Elakov SG, Zinchenko OO, Slipchenko MI, et al. Teoriya ta metodi stvorennya problemno-orientovanih obchislyuvalnih zasobiv visokoyi produktivnosti [Theory and methods of problem-oriented computational tools for high productivity]. Harkiv: HNURE; 2010. 400 p. (In Ukraine).

9. Wikipedia, the free encyclopedia. Portable Network Graphics. [Internet]. 2017 [cited 2017 Mar 22]. Available from: https://en.wikipedia.org/wiki/Portable_Network_Graphics.

10. Petrenko VF. Osnovyi psihosemantiki [Basics of psychosemantics]. 3rd ed. Moscow: Eksmo; 2010. 480 p. (In Russian).

11. Hopperstad MH. Studying meaning in children's drawings. Journal of Early Childhood Literacy. 2010 Dec;10(4):430-452.

12. Farokhi M, Hashemi M. The Analysis of Children's Drawings: Social, Emotional, Physical, and Psychological aspects [Internet]. Procedia - Social and Behavioral Sciences. 2011c [cited 2017 Feb 19];30:2219-2224. Available from: http://www.sciencedirect.com/science/article/pii/S1877042811022580

i Надоели баннеры? Вы всегда можете отключить рекламу.