Manipulating Pixels in Computer Graphics by Converting Raster Elements to Vector Shapes as a Function of Hue

J Imaging. 2023 May 23;9(6):106. doi: 10.3390/jimaging9060106.

Abstract

This paper proposes a method for changing pixel shape by converting a CMYK raster image (pixel) to an HSB vector image, replacing the square cells of the CMYK pixels with different vector shapes. The replacement of a pixel by the selected vector shape is done depending on the detected color values for each pixel. The CMYK values are first converted to the corresponding RGB values and then to the HSB system, and the vector shape is selected based on the obtained hue values. The vector shape is drawn in the defined space, according to the row and column matrix of the pixels of the original CMYK image. Twenty-one vector shapes are introduced to replace the pixels depending on the hue. The pixels of each hue are replaced by a different shape. The application of this conversion has its greatest value in the creation of security graphics for printed documents and the individualization of digital artwork by creating structured patterns based on the hue.

Keywords: color systems; computer graphics; hue; pixel shape; security graphics.

Grants and funding

This research received no external funding.