Journal "Software Engineering"
a journal on theoretical and applied science and technology
ISSN 2220-3397
Issue N5 2016 year
The practical problem of finding colors to be used for on-board indication equipment color palette, having best characteristics of perception for an observer, is considered. The block diagram of the developed algorithm, which provides automatization of search procedure within automated workstation, is proposed. Main part of the algorithm is triple program loop, which implements the method of complete enumeration, trying different combinations of code values of basic colors (red, green, blue), which are formed by workstation computer. The criterion for any given color to be included into color palette set, is its maximal contrast. It was shown that searching procedure to find colors with best perceptual properties doesnt need to enumerate all possible RGB codes combinations lying within colour gamut triangle, but only particular set codes, relating to areas of colors with maximal perception differences. Reduction of the searching area leads to decrease of duration of automated search procedure. Borders of each given area, corresponding to color with maximal perceptual differences from other ones, were approximated by quadrangles. Vertices of quadrangles are defined by numerical values of chromaticity coordinates on XY- and UV-color planes. Principle of calculation of chromaticity coordinates of vertices of polygons, which contain colors with maximal perceptive differences and may be displayed on the indication equipment, is proposed. Calculation of chromaticity coordinates of vertices of polygons may be performed immediately within the whole searching algorithm, with the use of obtained results of the task of calculation of coordinates of the point of intersection of two straight lines in the Cartesian coordinate system coordinates. Obtained results are presented at the XY- and UV-chromaticity planes as areas, corresponding to the sets of colors, having maximal perceptual differences, which can be displayed on the screen of on-board indication equipment.