Articles

DETERMINING THE AVERAGE COLOR OF AN IMAGE USING C++ AND OpenCV

Vol. 6 No. 1 (2026): Eurasian Journal of Academic Research 30-35

DOI: 10.5281/zenodo.18160071 2026-01-06 Articles Open Access

Authors

  • Botirov, Muzaffarjon

Abstract

This article presents a method for determining the average color of an image using the C++ programming language and the OpenCV library. A digital image is represented as a pixel matrix, where each pixel consists of RGB values. The average color is calculated by averaging all pixel values of the image. The proposed approach is simple and computationally efficient, making it suitable for applications in computer vision, image processing, robotics, and intelligent systems. The paper provides the theoretical background, a sample C++ program, and an analysis of experimental results.

Readership

6 Views
0 PDF downloads
4 Countries

    Downloads

    Published

    2026-01-06

    How to Cite

    Muzaffarjon, B. (2026). DETERMINING THE AVERAGE COLOR OF AN IMAGE USING C++ AND OpenCV. Eurasian Journal of Academic Research, 6(1), 30-35. https://doi.org/10.5281/zenodo.18160071
    Innovative Academy RSC
    Article metrics Views and PDF downloads
    4 Views
    0 Downloads