Cluster Detection and Centers of Mass Prediction in Images
Abstract
This paper provides an exhaustive evaluation of different algorithms for the accurate detection and localization of dense clusters on complex image data with a resolution to maintain real centroids in obscure, overlapping, or densely packed situations. Our approach differs by its use of the local maximum algorithm to quickly identify potential cluster centers (by detecting local maxima in pixel intensity) as a first step. The algorithm starts by initializing cluster centers, which are then refined using the k-Means clustering method that iteratively relocates the positions of these clusters until an optimal configuration is reached. We tighten our approach by adding custom loss functions to Convolutional Neural Networks (CNNs) that encode the predicted number of clusters and their center positions. An early stopping mechanism is introduced to mitigate the issues of noise and overfitting, with performance measured against a test set. Furthermore, we examine the average pooling and center-of-gravity approaches for noise reduction to predict cluster centers without unnecessary outliers. This combination, along with the Hungarian algorithm, which is used to optimally match predicted and real centers, has shown better results in detecting the correct number of clusters across different datasets. These validation results show that our combined method effectively addresses challenges related to overlapping clusters, increasing robustness and accuracy in identification. The approach seems to have potential for applications in high-precision image segmentation and analysis.
References
- Ran, X., Zhou, X., Lei, M., Tepsan, W., & Deng, W. (2021). A novel k-means clustering algorithm with a noise algorithm for capturing urban hotspots. Applied Sciences, 11(23), 11202.
- Ikotun, A. M., Ezugwu, A. E., Abualigah, L., Abuhaija, B., & Heming, J. (2023). K-means clustering algorithms: A comprehensive review, variants analysis, and advances in the era of big data. Information Sciences, 622, 178-210.
- Govender, P., & Sivakumar, V. (2020). Application of k-means and hierarchical clustering techniques for analysis of air pollution: A review (1980–2019). Atmospheric pollution research, 11(1), 40-56.
- Yantovski-Barth, M., Newman, J. A., Dey, B., Andrews, B. H., Eracleous, M., Golden-Marx, J., & Zhou, R. (2024). The CluMPR galaxy cluster-finding algorithm and DESI legacy survey galaxy cluster catalogue. Monthly Notices of the Royal Astronomical Society, 531(2), 2285-2303.
- Chen-xi, L. I., Bing, W. U., Fan, L. U. O., & Na, Z. H. A. N. G. (2020). Clinical study and CT findings of a familial cluster of pneumonia with coronavirus disease 2019 (COVID-19). JOURNAL OF SICHUAN UNIVERSITY (MEDICAL SCIENCES), 51(2), 155-158.
- Li, Z., Liu, F., Yang, W., Peng, S., & Zhou, J. (2021). A Survey of Convolutional Neural Networks: Analysis, Applications, and Prospects. IEEE Transactions on Neural Networks and Learning Systems, 33(12), 1–21. https://doi.org/10.1109/tnnls.2021.3084827.
- Chauhan, R., Ghanshala, K. K., & Joshi, R. C. (2018, December 1). Convolutional Neural Network (CNN) for Image Detection and Recognition. IEEE Xplore. https://doi.org/10.1109/ICSCCC.2018.8703316
- Liu, S., & Deng, W. (2015, November 1). Very deep convolutional neural network based image classification using small training sample size. IEEE Xplore. https://doi.org/10.1109/ACPR.2015.7486599
- Kandel, I., & Castelli, M. (2020). The effect of batch size on the generalizability of the convolutional neural networks on a histopathology dataset. ICT Express, 6(4). https://doi.org/10.1016/j.icte.2020.04.010
- Bieder, F., Sandkühler, R., & Cattin, P. C. (2021). Comparison of Methods Generalizing Max- and Average-Pooling.
- Kuhn, H. W. (1955). The Hungarian method for the assignment problem.
- Gabrovšek, B., Novak, T., Povh, J., Poklukar, D. R., & Žerovnik, J. (2020). Multiple Hungarian Method for k-Assignment Problem. Mathematics.