Koren Ivančević Tajana, Stanić Loknar Nikolina, Rudolf Maja, Bratić Diana
Faculty of Graphic Arts, University of Zagreb, 10000 Zagreb, Croatia.
J Imaging. 2023 May 23;9(6):106. doi: 10.3390/jimaging9060106.
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.
本文提出了一种通过将CMYK光栅图像(像素)转换为HSB矢量图像来改变像素形状的方法,用不同的矢量形状替换CMYK像素的方形单元。根据每个像素检测到的颜色值,用所选矢量形状替换像素。首先将CMYK值转换为相应的RGB值,然后转换为HSB系统,并根据获得的色调值选择矢量形状。根据原始CMYK图像像素的行和列矩阵,在定义的空间中绘制矢量形状。根据色调引入了21种矢量形状来替换像素。每个色调的像素由不同的形状替换。这种转换在为印刷文档创建安全图形以及通过基于色调创建结构化图案来实现数字艺术品个性化方面具有最大价值。