Cargando…

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...

Descripción completa

Detalles Bibliográficos
Autores principales: Koren Ivančević, Tajana, Stanić Loknar, Nikolina, Rudolf, Maja, Bratić, Diana
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10299400/
https://www.ncbi.nlm.nih.gov/pubmed/37367454
http://dx.doi.org/10.3390/jimaging9060106
_version_ 1785064354727591936
author Koren Ivančević, Tajana
Stanić Loknar, Nikolina
Rudolf, Maja
Bratić, Diana
author_facet Koren Ivančević, Tajana
Stanić Loknar, Nikolina
Rudolf, Maja
Bratić, Diana
author_sort Koren Ivančević, Tajana
collection PubMed
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.
format Online
Article
Text
id pubmed-10299400
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-102994002023-06-28 Manipulating Pixels in Computer Graphics by Converting Raster Elements to Vector Shapes as a Function of Hue Koren Ivančević, Tajana Stanić Loknar, Nikolina Rudolf, Maja Bratić, Diana J Imaging Article 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. MDPI 2023-05-23 /pmc/articles/PMC10299400/ /pubmed/37367454 http://dx.doi.org/10.3390/jimaging9060106 Text en © 2023 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Koren Ivančević, Tajana
Stanić Loknar, Nikolina
Rudolf, Maja
Bratić, Diana
Manipulating Pixels in Computer Graphics by Converting Raster Elements to Vector Shapes as a Function of Hue
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 Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10299400/
https://www.ncbi.nlm.nih.gov/pubmed/37367454
http://dx.doi.org/10.3390/jimaging9060106
work_keys_str_mv AT korenivancevictajana manipulatingpixelsincomputergraphicsbyconvertingrasterelementstovectorshapesasafunctionofhue
AT stanicloknarnikolina manipulatingpixelsincomputergraphicsbyconvertingrasterelementstovectorshapesasafunctionofhue
AT rudolfmaja manipulatingpixelsincomputergraphicsbyconvertingrasterelementstovectorshapesasafunctionofhue
AT braticdiana manipulatingpixelsincomputergraphicsbyconvertingrasterelementstovectorshapesasafunctionofhue