ArticlePublisher preview available
To read the full-text of this research, you can request a copy directly from the authors.

Abstract and Figures

Spatial color algorithms (SCAs) are algorithms grounded in the retinex theory of color sensation that, mimicking the human visual system, perform image enhancement based on the spatial arrangement of the scene. Despite their established role in image enhancement, their potential as dequantizers has never been investigated. Here, we aim to assess the effectiveness of SCAs in addressing the dual objectives of color dequantization and image enhancement at the same time. To this end, we propose the term dequantenhancement. In this paper, through two experiments on a dataset of images, SCAs are evaluated through two distinct pathways: first, quantization followed by filtering to assess both dequantization and enhancement; and second, filtering applied to original images before quantization as further investigation of mainly the dequantization effect. The results are presented both qualitatively, with visual examples, and quantitatively, through metrics including the number of colors, retinal-like subsampling contrast (RSC), and structural similarity index (SSIM).
This content is subject to copyright. Terms and conditions apply.
Research Article Vol. 41, No. 11 / November 2024 / Journal of the Optical Society of America A 2251
Dequantenhancement by spatial color algorithms
Beatrice Sarti,1Giuliana Ramella,2,*AND Alessandro Rizzi1
1Computer Science Department, Università degli Studi di Milano, Milano, Italy
2C. N. R., National Research Council, Institute for Applications of Calculus “Mauro Picone”, Napoli, Italy
*giuliana.ramella@cnr.it
Received 11 July 2024; revised 5 October 2024; accepted 7 October 2024; posted 8 October 2024; published 31 October 2024
Spatial color algorithms (SCAs) are algorithms grounded in the retinex theory of color sensation that, mimicking
the human visual system, perform image enhancement based on the spatial arrangement of the scene. Despite their
established role in image enhancement, their potential as dequantizers has never been investigated. Here, we aim to
assess the effectiveness of SCAs in addressing the dual objectives of color dequantization and image enhancement
at the same time. To this end, we propose the term dequantenhancement. In this paper, through two experiments
on a dataset of images, SCAs are evaluated through two distinct pathways: first, quantization followed by filtering
to assess both dequantization and enhancement; and second, filtering applied to original images before quantiza-
tion as further investigation of mainly the dequantization effect. The results are presented both qualitatively, with
visual examples, and quantitatively, through metrics including the number of colors, retinal-like subsampling con-
trast (RSC), and structural similarity index (SSIM). © 2024 Optica Publishing Group. All rights, including for text and data
mining (TDM), Artificial Intelligence (AI) training, and similar technologies, are reserved.
https://doi.org/10.1364/JOSAA.536515
1. INTRODUCTION
Image enhancement and color quantization are two topics that
have been addressed in the literature separately. Some methods
focus exclusively on resolving color quantization issues without
addressing visual-enhancement-related problems [1], while oth-
ers aim to improve specific visual properties without considering
the effects of the reduction of the number of colors [2]. As far as
we know, there are no works that directly or indirectly address
both aspects.
This work aims to present a novel approach that uses algo-
rithms from the spatial color algorithms (SCAs) family [3]
to achieve both color dequantization and image equalization
at the same time. To reflect this dual purpose, we coined the
term dequantenhancement specifically for the goal of this paper,
which is to present the dequantization properties of this family
of image enhancement algorithms (SCA) based on the color
perception model called “retinex.”
In our vision system, the sensation of color at a specific point
is the result not only of the direct stimulus at that point but
also of the effect of all the other points within the perceived
scene. By mimicking the spatial interpolation process at the base
of human color perception [4], these algorithms increase the
number of colors in an image by recomputing lost tones through
spatial interpolation. While not explicitly designed for color
quantization recovery, this interpolation is the basis for image
enhancement [5].
In this work, we will present several representatives from the
SCA family, without the intention of ranking them. Instead, we
focus on discussing their performance from a dequantenhance-
ment perspective, exploring how the effect of dequantization is
mixed with image enhancement.
2. USED TOOLS
As aforementioned, the experiment aims to evaluate the effec-
tiveness of the SCA algorithms in the dequantenhancement
process, which combines dequantization and image enhance-
ment. Starting from original images, these are first quantized,
reducing the number of colors, and then filtered using SCAs to
recover lost tones and improve overall visual quality. The main
goal is to explore how these algorithms perform color recovery
besides color equalization.
Since the experiment involves two key phases–quantization,
and dequantization through the application of SCA algorithms–
the following subsections will delve into each of these aspects
in detail. We will discuss the quantization methods used, the
approach to dequantization through SCA algorithms, and
the technical details of the implementations adopted for our
experiment.
A. Color Quantization
In image processing (IP), color quantization (CQ) is a method
employed to generate a transformed image with the same spatial
dimensions but characterized by a reduced set of representative
colors and, as possible, visual fidelity to the original.
1084-7529/24/112251-12 Journal © 2024 Optica Publishing Group
ResearchGate has not been able to resolve any citations for this publication.
Chapter
Full-text available
The goal of a content-based image retrieval (CBIR) framework is to enable users to efficiently retrieve images from a large database based on the visual content of the images, rather than relying on metadata or annotations. CBIR systems are becoming more and more popular, finding their applications in a wide variety of fields like heath care, e-commerce, law enforcement, and searching digital libraries. Computing machines with CUDA architecture have powered deep learning-based techniques for efficient CBIR and, as such, CBIR systems have become fast with more accurate query results. This work is intended to provide an introduction to CBIR systems and different feature and learning-based techniques to perform CBIR. An overview of different datasets, evaluation metrics, and pros and cons of different CBIR techniques is presented. The paper concludes by discussing current research challenges and future opportunities to improve and apply CBIR to various fields.
Article
Full-text available
The landscape color of an urban park is the carrier of urban culture and the embodiment of urban style since it is an advanced form resulting from urban growth. It is expected to offer some theoretical references for the color design of urban parks to quantify the color features of urban parks in various seasons and the variations in people’s perceptions of parks. This study used People’s Park and Huanhuanxi Park in Chengdu as research objects. It used the K-means clustering algorithm to quantify the seasonal characteristics of spatial color changes of different landscape types, and it used the SD. method to examine how people perceived the landscape color in the two parks during various seasons. The findings indicate that N (no color) and G (green) are People’s Park’s and Huanhuaxi Park’s base colors. Architectural landscapes’ use of color exhibits a trend toward medium saturation and medium-high brightness. Low saturation and low brightness are characteristics of the color of the pavement landscape. The landscape color in the sketch demonstrates the traits of wide hue dispersion, consistent saturation distribution, and brightness distribution. Seasonal change considerably impacts plant color, according to the color analysis of the natural landscape. According to the SD. evaluation results, spring had the most excellent crowd perception score, followed by summer and winter. Autumn had the highest crowd perception score. The landscape color recommendation chromatography of two urban parks is then put forth in conjunction with quantitative data and population perception evaluation, offering some reference guidelines for creating urban parks.
Article
Full-text available
We present an efficient algorithm to approximate the Automatic Color Equalization (ACE) of an input color image, with an upper-bound on the introduced approximation error. The computation is based on Summed Area Tables and a carefully optimized partitioning of the plane into rectangular regions, resulting in a pseudo-linear asymptotic complexity with the number of pixels (against a quadratic straightforward computation of ACE). Our experimental evaluation confirms both the speedups and high accuracy, reaching lower approximation errors than existing approaches. We provide a publicly available reference implementation of our algorithm.
Article
Full-text available
Color quantization (cq), the reduction of the number of distinct colors in a given image with minimal distortion, is a common image processing operation with various applications in computer graphics, image processing/analysis, and computer vision. The first cq algorithm, median-cut, was proposed over 40 years ago. Since then, many clustering algorithms have been applied to the cq problem. In this paper, we present a comprehensive overview of the cq algorithms proposed in the literature. We first examine various aspects of cq, including the number of distinguishable colors, cq artifacts, types of cq, applications of cq, data structures, data reduction, color spaces and color difference equations, and color image fidelity assessment. We then provide an overview of image-independent cq algorithms, followed by a detailed survey of image-dependent ones. After presenting a brief discussion of pixel mapping, we conclude our survey with an outline of the open problems in cq.
Article
Full-text available
Frequently, the study of modern and contemporary paintings requires the taking of micro-samples to gain an in-depth understanding of the employed materials and techniques. However, since this procedure is characterized by its invasive nature, it must be carried out only if strictly necessary. This study aimed to evaluate the potentiality of K-means clustering to the corrected images of paintings to identify mixtures of pigments. This could assist in obtaining relevant preliminary information, facilitate the research process, and guide the sampling collection. Additionally, this method would be less expensive than the traditional multi-analytical approach as it would only require a modified digital camera, lenses, a color target and three computational resources for the processing of data (Imatest Master, Adobe Express—online, and R), out of which the latter two are freely available. The six paintings that have been selected for this study belong to the International Gallery of Modern Art Ca’ Pesaro in Venice (Italy) and have been depicted by Andreina Rosa (1924–2019), a Venetian artist. The artworks were thoroughly investigated mainly through non-invasive analytical techniques (FORS, RAMAN, ER-FTIR, EDXRF). Using cluster analysis, simulating mixtures, and calculating the color differences, it was possible to infer the existence of color mixtures of two/three detected primary colors from the examined images, which could be validated by the analytical results. Hence, it was concluded that samples taken from mixtures might suffice, since primary colors would be concomitantly analyzed.
Article
We address the problem of image color quantization using a maximum entropy based approach. Focusing on pixel mapping we argue that adding thermal noise to the system yields better visual impressions than that obtained from a simple energy minimization. To quantify this observation, we introduce the coarse-grained quantization error, and seek the optimal temperature which minimizes this new observable. By comparing images with different structural properties, we show that the optimal temperature is a good proxy for complexity at different scales. Noting that the convoluted error is a key observable, we directly minimize it using a Monte Carlo algorithm to generate a new series of quantized images. Adopting an original approach based on the informativity of finite size samples, we are able to determine the optimal convolution parameter leading to the best visuals. Finally, we test the robustness of our method against changes in image type, color palette and convolution kernel.