DBC-RGB

Juan Ruiz de Miras. University of Granada - SPAIN. 2025.

Last update: January - 2025

The fractal dimension (FD) is a quantitative parameter widely used to analyze digital images in many application fields such as image segmentation, feature extraction, object recognition, texture analysis, and image compression and denoising, among many others. Color images today can be very large in size, and there is a growing trend toward even larger datasets. This implies that the time required to calculate the FD of such datasets can become extremely long. Here, we provide the source code of a very efficient GPU algorithm, implemented in CUDA, for computing the FD of RGB color images: the DBC-RGB algorithm.

You can download the C++/CUDA source code of the DBC-RGB algorithm by clicking here.

Once unzipped the file dbc-rgb.zip, you will find the following files:

REQUERIMENTS for compilation and execution

Hardware: Computer with a CUDA capable GPU (https://developer.nvidia.com/cuda-gpus)
Software:

COMPILATION

The test.cpp file can be compiled with the following command: > nvcc -O3 -o test dbc_rgb25.cu dbc_rgb23.cu test.cpp

CITATION

If DBC-RGB has been useful for your research, please, cite as:
"Ultra-Fast Computation of Fractal Dimension for RGB Images"
Juan Ruiz de Miras, Yurong Li, Alejandro León, Germán Arroyo, Luis López, Juan Carlos Torres and Domingo Martín
Pattern Analysis and Applications, 2025
https://doi.org/10.1007/s10044-025-01415-y

CONTACT AND SUGGESTIONS

For contact information click here

FUNDING

This software is part of the I+D+i project PID2020-118638RB-I00 granted by MCIN/AEI/10.13039/501100011033/