Manipulating Pixels in Computer Graphics by Converting Raster Elements to Vector Shapes as a Function of Hue
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 f...
Main Authors: | , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2023-05-01
|
Series: | Journal of Imaging |
Subjects: | |
Online Access: | https://www.mdpi.com/2313-433X/9/6/106 |
_version_ | 1797594111723700224 |
---|---|
author | Tajana Koren Ivančević Nikolina Stanić Loknar Maja Rudolf Diana Bratić |
author_facet | Tajana Koren Ivančević Nikolina Stanić Loknar Maja Rudolf Diana Bratić |
author_sort | Tajana Koren Ivančević |
collection | DOAJ |
description | 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. |
first_indexed | 2024-03-11T02:17:54Z |
format | Article |
id | doaj.art-f39f13e2d74448509db6c82cdb089747 |
institution | Directory Open Access Journal |
issn | 2313-433X |
language | English |
last_indexed | 2024-03-11T02:17:54Z |
publishDate | 2023-05-01 |
publisher | MDPI AG |
record_format | Article |
series | Journal of Imaging |
spelling | doaj.art-f39f13e2d74448509db6c82cdb0897472023-11-18T11:04:17ZengMDPI AGJournal of Imaging2313-433X2023-05-019610610.3390/jimaging9060106Manipulating Pixels in Computer Graphics by Converting Raster Elements to Vector Shapes as a Function of HueTajana Koren Ivančević0Nikolina Stanić Loknar1Maja Rudolf2Diana Bratić3Faculty of Graphic Arts, University of Zagreb, 10000 Zagreb, CroatiaFaculty of Graphic Arts, University of Zagreb, 10000 Zagreb, CroatiaFaculty of Graphic Arts, University of Zagreb, 10000 Zagreb, CroatiaFaculty of Graphic Arts, University of Zagreb, 10000 Zagreb, CroatiaThis 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.https://www.mdpi.com/2313-433X/9/6/106pixel shapehuecolor systemscomputer graphicssecurity graphics |
spellingShingle | Tajana Koren Ivančević Nikolina Stanić Loknar Maja Rudolf Diana Bratić Manipulating Pixels in Computer Graphics by Converting Raster Elements to Vector Shapes as a Function of Hue Journal of Imaging pixel shape hue color systems computer graphics security graphics |
title | Manipulating Pixels in Computer Graphics by Converting Raster Elements to Vector Shapes as a Function of Hue |
title_full | Manipulating Pixels in Computer Graphics by Converting Raster Elements to Vector Shapes as a Function of Hue |
title_fullStr | Manipulating Pixels in Computer Graphics by Converting Raster Elements to Vector Shapes as a Function of Hue |
title_full_unstemmed | Manipulating Pixels in Computer Graphics by Converting Raster Elements to Vector Shapes as a Function of Hue |
title_short | Manipulating Pixels in Computer Graphics by Converting Raster Elements to Vector Shapes as a Function of Hue |
title_sort | manipulating pixels in computer graphics by converting raster elements to vector shapes as a function of hue |
topic | pixel shape hue color systems computer graphics security graphics |
url | https://www.mdpi.com/2313-433X/9/6/106 |
work_keys_str_mv | AT tajanakorenivancevic manipulatingpixelsincomputergraphicsbyconvertingrasterelementstovectorshapesasafunctionofhue AT nikolinastanicloknar manipulatingpixelsincomputergraphicsbyconvertingrasterelementstovectorshapesasafunctionofhue AT majarudolf manipulatingpixelsincomputergraphicsbyconvertingrasterelementstovectorshapesasafunctionofhue AT dianabratic manipulatingpixelsincomputergraphicsbyconvertingrasterelementstovectorshapesasafunctionofhue |