(IJACSA) International Journal of Advanced Computer Science and Applications, Vol. 2, No. 11, 2011 33 | Page www.ijacsa.thesai.org Graphing emotional patterns by dilation of the iris in video sequences Rodolfo Romero Herrera Departamento de Posgrado, Escuela Superior de Computo (ESCOM - IPN) México D.F. Francisco Gallegos Funes Escuela Superior de Ingeniería Mecánica y Electrica (ESIME –IPN) México D.F. Saul De La O Torres Departamento de Posgrado, Escuela Superior de Computo (ESCOM - IPN) México D.F. Abstract— For this paper, we took videos of iris of people while induced a feeling of joy or sadness, using videos to motivate the states affective. The manuscript implemented is a system of recognition affective pattern by dilating the iris, with which extracted images of the videos. The results obtained are plotted to facilitate the interpretation. A suitable treatment occurred for locating the pupil and the obtaining of the diameter of the pupil. The graphics are based on statistical time intervals. Within the research found that the iris diameter varies depending on your mood present in the subject of study. There is software that can detect changes in the pupil diameter, however it is also develops software, the main objective is to detect changes with respect to affective states and in this study is the main contribution. The joy and sadness were the emotional states that may differ. The system presents graphs that can be observed when analyzing the dependence between feelings and dilation present in the eye. Keywords- Pupil dilation; joy; sadness; mathematical morphology; average interpolation. I. INTRODUCTION The emotion recognition is a step to truly intelligent machines, therefore is essential, for recognition the emotional pattern recognition to understand the human intelligence [1]. Based on the growing interest in using the technology to read emotions in a human (affective systems) [2] [3] [4] and the fact that they have found evidence that emotions cause changes in the iris [5], The system developed is a system to recognize and classify the patterns that occur in the iris of a person while changes your mood, focusing in two of the basic human emotions: joy and sadness. Although the reader should know that Paul Ekman bases their work on six basic emotions [6]. II. METHODOLOGY The pupil is a hole that is images of black. In order to eliminate the illumination and brightness was used HSV color format [7][8], the brightness component is greater than 0.5, as it goes from 0 to 1; however it is worth taking a higher than average brightness. Located these points, it creates a new pixel with the same value H and S, but lower in V. MAX is the maximum value of the components (R, G, B), and MIN the minimum value, then we have that HSV by (1) (2) and (3) allow the conversion to this format [9]. { { V = MAX For the analysis of the eye, it is isolating the darkest elements of the image, which also are tabs and areas outside the pupil. However, these other areas are irregular, so it makes an analysis of distances of each pixel to background of the image, figure 1. All operations for isolate the iris is made in a binary image, where has a 1 if this point is considered possible pupil and 0 if not [10]. Fig. 1. Input Image and Image binarized.