Multi-level Cellular Automata for FLIM networks

Authors

DOI:

https://doi.org/10.5753/jbcs.2026.5892

Keywords:

SOD, Cellular Automata, Multi-Level Cellular Automata, Cellular Automata Ensemble, Saliency Merging, Feature Learning from Image Markers, FLIM, Adaptive Decoders

Abstract

The need for abundant annotated data and complex network architectures poses a significant challenge for deep-learning Salient Object Detection (deep SOD) and across the broader deep-learning landscape. This challenge is particularly acute in medical applications in developing countries with limited computational resources. Combining modern and classical techniques offers a path to maintaining competitive performance while enabling practical applications. The Feature Learning from Image Markers (FLIM) methodology empowers experts to design convolutional encoders using user-drawn markers, with filters learned directly from these annotations. Recent findings demonstrate that coupling a FLIM encoder with an adaptive decoder creates a flyweight network suitable for SOD, requiring significantly fewer parameters than lightweight models and eliminating the need for backpropagation. Cellular Automata (CA) methods have proven successful in data-scarce scenarios but require proper state initialization --- typically through user input, priors, or randomness. We propose a practical intersection of these approaches: using FLIM networks to initialize CA states with expert knowledge, without requiring user interaction per image. By decoding features at each level of a FLIM network, we can simultaneously initialize multiple CAs, creating a multi-level framework. Our method leverages hierarchical knowledge across network layers, merging multiple saliency maps into a high-quality final output that serves as a CA ensemble. Benchmarks across two challenging medical datasets demonstrate the competitiveness of our multi-level CA approach compared to established models in the deep SOD literature.

Downloads

Download data is not yet available.

References

Achanta, R., Hemami, S., Estrada, F., and Susstrunk, S. (2009). Frequency-tuned salient region detection. In 2009 IEEE Conference on Computer Vision and Pattern Recognition, pages 1597-1604. DOI: 10.1109/CVPR.2009.5206596.

Achanta, R., Shaji, A., Smith, K., Lucchi, A., Fua, P., and Süsstrunk, S. (2012). Slic superpixels compared to state-of-the-art superpixel methods. IEEE Transactions on Pattern Analysis and Machine Intelligence, 34(11):2274-2282. DOI: 10.1109/TPAMI.2012.120.

Achanta, Radhakrishna, Estrada, Francisco, Wils, Patricia, and Süsstrunk, Sabine (2008). Salient region detection and segmentation. In Gasteratos, Antonios, Vincze, Markus, and Tsotsos, John K., editors, Computer Vision Systems, pages 66-75, Berlin, Heidelberg. Springer Berlin Heidelberg. DOI: 10.1007/978-3-540-79547-6_7.

Baid, U. et al. (2021). The RSNA-ASNR-MICCAI BraTS 2021 Benchmark on Brain Tumor Segmentation and Radiogenomic Classification. arXiv e-prints, page arXiv:2107.02314. DOI: 10.48550/arXiv.2107.02314.

Borgefors, G. (1984). Distance transformations in arbitrary dimensions. Computer Vision, Graphics, and Image Processing, 27(3):321-345. DOI: 10.1016/0734-189X(84)90035-5.

Borji, A., Cheng, M.-M., Hou, Q., Jiang, H., and Li, J. (2019). Salient object detection: A survey. Computational Visual Media, 5(2):117-150. DOI: 10.1007/s41095-019-0149-9.

Cerqueira, M. A., Sprenger, F., Teixeira, B. C. A., and Falcão, A. X. (2024a). Interactive image selection and training for brain tumor segmentation network. In 2024 46th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), pages 1-4. DOI: 10.1109/EMBC53108.2024.10781962.

Cerqueira, M. A., Sprenger, F., Teixeira, B. C. A., Guimarães, S. J. F., and Falcão, A. X. (2024b). Interactive ground-truth-free image selection for flim segmentation encoders. In 2024 37th SIBGRAPI Conference on Graphics, Patterns and Images (SIBGRAPI), pages 1-6. DOI: 10.1109/SIBGRAPI62404.2024.10716300.

Chariton, A., Passalis, N., and Tefas, A. (2022). Bag-of-features-based knowledge distillation for lightweight convolutional neural networks. In 2022 IEEE International Conference on Image Processing (ICIP), pages 1541-1545. DOI: 10.1109/ICIP46576.2022.9897390.

Chen, F., Li, S., Han, J., Ren, F., and Yang, Z. (2024). Review of lightweight deep convolutional neural networks. Archives of Computational Methods in Engineering, 31(4):1915-1937. DOI: 10.1007/s11831-023-10032-z.

Cheng, M.-M., Mitra, N. J., Huang, X., Torr, P. H. S., and Hu, S.-M. (2015). Global contrast based salient region detection. IEEE Transactions on Pattern Analysis and Machine Intelligence, 37(3):569-582. DOI: 10.1109/TPAMI.2014.2345401.

Chu, X., Zhang, B., and Xu, R. (2020). Moga: Searching beyond mobilenetv3. In ICASSP 2020 - 2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 4042-4046. DOI: 10.1109/ICASSP40776.2020.9054428.

Cook, M. et al. (2004). Universality in elementary cellular automata. Complex systems, 15(1):1-40. DOI: 10.25088/ComplexSystems.15.1.1.

de Melo Joao, L., Proença, L. R., Loiola, S. H. N., Inácio, S. V., dos Santos, B. M., Rosa, S. L., Soares, F. A., Stefano, V. C., Osaku, D., Suzuki, C. T. N., Bresciani, K. D. S., Gomes, J. F., and Falcão, A. X. (2023). Toward automating the diagnosis of gastrointestinal parasites in cats and dogs. Computers in Biology and Medicine, page 107203. DOI: 10.1016/j.compbiomed.2023.107203.

de Souza, I. E., Benato, B. C., and Falcão, A. X. (2020). Feature learning from image markers for object delineation. In 2020 33rd SIBGRAPI Conference on Graphics, Patterns and Images (SIBGRAPI), pages 116-123. DOI: 10.1109/SIBGRAPI51738.2020.00024.

de Souza, I. E. and Falcão, A. X. (2022). Learning cnn filters from user-drawn image markers for coconut-tree image classification. IEEE Geoscience and Remote Sensing Letters, 19:1-5. DOI: 10.1109/LGRS.2020.3020098.

Fan, D.-P., Cheng, M.-M., Liu, Y., Li, T., and Borji, A. (2017). Structure-measure: A new way to evaluate foreground maps. In 2017 IEEE International Conference on Computer Vision (ICCV), pages 4558-4567. DOI: 10.1109/ICCV.2017.487.

Fan, D.-P., Gong, C., Cao, Y., Ren, B., Cheng, M.-M., and Borji, A. (2018). Enhanced-alignment measure for binary foreground map evaluation. In Proceedings of the 27th International Joint Conference on Artificial Intelligence, IJCAI'18, page 698–704. AAAI Press. DOI: 10.5555/3304415.3304515.

Felzenszwalb, P. F. and Huttenlocher, D. P. (2004). Efficient graph-based image segmentation. International journal of computer vision, 59:167-181. DOI: 10.1023/B:VISI.0000022288.19776.77.

Ghosh, S., Sur, A., and Mitra, P. (2026). Dgssm: Diffusion guided state-space models for multimodal salient object detection. arXiv preprint arXiv:2604.17585. DOI: 10.48550/arXiv.2604.17585.

Hamamci, A., Kucuk, N., Karaman, K., Engin, K., and Unal, G. (2012). Tumor-cut: Segmentation of brain tumors on contrast enhanced mr images for radiosurgery applications. IEEE Transactions on Medical Imaging, 31(3):790-804. DOI: 10.1109/TMI.2011.2181857.

He, J., Fu, K., Liu, X., and Zhao, Q. (2025). Samba: A unified mamba-based framework for general salient object detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). DOI: 10.1109/CVPR52734.2025.02357.

He, J., Fu, K., Liu, X., and Zhao, Q. (2026). Samba+: General and accurate salient object detection via a more unified mamba-based framework. arXiv preprint arXiv:2602.01593. DOI: 10.48550/arXiv.2602.01593.

Hernández, G. and Herrmann, H. J. (1996). Cellular automata for elementary image enhancement. Graphical Models and Image Processing, 58(1):82-89. DOI: 10.1006/gmip.1996.0006.

Huang, H., Liu, P., Wang, Y., Zhou, T., Qu, B., Tao, A., and Zhang, H. (2023). Multi-feature aggregation network for salient object detection. Signal, Image and Video Processing, 17(4):1043-1051. DOI: 10.1007/s11760-022-02310-3.

Huang, M., Liu, Y., Zhao, L., and Wang, G. (2024). A lightweight deep neural network model and its applications based on channel pruning and group vector quantization. Neural Computing and Applications, 36(10):5333-5346. DOI: 10.1007/s00521-023-09332-z.

Itti, L., Koch, C., and Niebur, E. (1998). A model of saliency-based visual attention for rapid scene analysis. IEEE Transactions on Pattern Analysis and Machine Intelligence, 20(11):1254-1259. DOI: 10.1109/34.730558.

Joao, L., Cerqueira, M., Benato, B., and Falcao., A. (2024). Understanding marker-based normalization for flim networks. In Proceedings of the 19th International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications - Volume 2: VISAPP, pages 612-623. INSTICC, SciTePress. DOI: 10.5220/0012385900003660.

Joao, L. d. M., Santos, B. M. d., Guimaraes, S. J. F., Gomes, J. F., Kijak, E., Falcao, A. X., et al. (2023). A flyweight cnn with adaptive decoder for schistosoma mansoni egg detection. arXiv preprint arXiv:2306.14840. DOI: 10.48550/arXiv.2306.14840.

Kauffmann, C. and Piché, N. (2010). Seeded nd medical image segmentation by cellular automaton on gpu. International Journal of Computer Assisted Radiology and Surgery, 5(3):251-262. DOI: 10.1007/s11548-009-0392-0.

Li, G. and Yu, Y. (2015). Visual saliency based on multiscale deep features. In 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 5455-5463. DOI: 10.1109/CVPR.2015.7299184.

Li, Y., Hou, X., Koch, C., Rehg, J. M., and Yuille, A. L. (2014). The secrets of salient object segmentation. In 2014 IEEE Conference on Computer Vision and Pattern Recognition, pages 280-287. DOI: 10.1109/CVPR.2014.43.

Liang, B. and Luo, H. (2024). Meanet: An effective and lightweight solution for salient object detection in optical remote sensing images. Expert Systems with Applications, 238:121778. DOI: 10.1016/j.eswa.2023.121778.

Lin, Y., Sun, H., Liu, N., Bian, Y., Cen, J., and Zhou, H. (2022). A lightweight multi-scale context network for salient object detection in optical remote sensing images. In 2022 26th International Conference on Pattern Recognition (ICPR), pages 238-244. DOI: 10.1109/ICPR56361.2022.9956350.

Liu, F. and Gleicher, M. (2006). Region enhanced scale-invariant saliency detection. In 2006 IEEE International Conference on Multimedia and Expo, pages 1477-1480. DOI: 10.1109/ICME.2006.262821.

Liu, N. and Han, J. (2016). Dhsnet: Deep hierarchical saliency network for salient object detection. In 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 678-686. DOI: 10.1109/CVPR.2016.80.

Liu, T., Sun, J., Zheng, N.-N., Tang, X., and Shum, H.-Y. (2007). Learning to detect a salient object. In 2007 IEEE Conference on Computer Vision and Pattern Recognition, pages 1-8. DOI: 10.1109/CVPR.2007.383047.

Liu, Y., Zhang, X.-Y., Bian, J.-W., Zhang, L., and Cheng, M.-M. (2021). Samnet: Stereoscopically attentive multi-scale network for lightweight salient object detection. IEEE Transactions on Image Processing, 30:3804-3814. DOI: 10.1109/TIP.2021.3065239.

Liu, Z., Deng, S., Wang, X., Wang, L., Fang, X., and Tang, B. (2024). Ssfam: Scribble supervised salient object detection family. IEEE Transactions on Multimedia (TMM). DOI: 10.1109/TMM.2025.3543092.

Ma, Y.-F. and Zhang, H.-J. (2003). Contrast-based image attention analysis by using fuzzy growing. In Proceedings of the Eleventh ACM International Conference on Multimedia, MULTIMEDIA '03, page 374–381, New York, NY, USA. Association for Computing Machinery. DOI: 10.1145/957013.957094.

Margolin, R., Zelnik-Manor, L., and Tal, A. (2014). How to evaluate foreground maps. In 2014 IEEE Conference on Computer Vision and Pattern Recognition, pages 248-255. DOI: 10.1109/CVPR.2014.39.

Marinescu, A.-I., Balint, Z., Diosan, L.-S., and Andreica, A.-M. (2018). Unsupervised and fully autonomous 3d medical image segmentation based on grow cut. In 2018 20th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing (SYNASC), pages 401-408. DOI: 10.1109/SYNASC.2018.00068.

Movahedi, V. and Elder, J. H. (2010). Design and perceptual validation of performance measures for salient object segmentation. In 2010 IEEE Computer Society Conference on Computer Vision and Pattern Recognition - Workshops, pages 49-56. DOI: 10.1109/CVPRW.2010.5543739.

Osaku, D., Cuba, C., Suzuki, C., Gomes, J., and Falcão, A. (2020). Automated diagnosis of intestinal parasites: A new hybrid approach and its benefits. Computers in Biology and Medicine, 123:103917. DOI: 10.1016/j.compbiomed.2020.103917.

Perazzi, F., Krähenbühl, P., Pritch, Y., and Hornung, A. (2012). Saliency filters: Contrast based filtering for salient region detection. In 2012 IEEE Conference on Computer Vision and Pattern Recognition, pages 733-740. DOI: 10.1109/CVPR.2012.6247743.

Phan, A.-H., Sobolev, K., Sozykin, K., Ermilov, D., Gusak, J., Tichavský, P., Glukhov, V., Oseledets, I., and Cichocki, A. (2020). Stable low-rank tensor decomposition for compression of convolutional neural network. In Vedaldi, A., Bischof, H., Brox, T., and Frahm, J.-M., editors, Computer Vision - ECCV 2020, pages 522-539, Cham. Springer International Publishing. DOI: 10.1007/978-3-030-58526-6_31.

Qin, X., Zhang, Z., Huang, C., Dehghan, M., Zaiane, O. R., and Jagersand, M. (2020). U2-net: Going deeper with nested u-structure for salient object detection. Pattern Recognition, 106:107404. DOI: 10.1016/j.patcog.2020.107404.

Qin, X., Zhang, Z., Huang, C., Gao, C., Dehghan, M., and Jagersand, M. (2019). Basnet: Boundary-aware salient object detection. In 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 7471-7481. DOI: 10.1109/CVPR.2019.00766.

Qin, Y., Feng, M., Lu, H., and Cottrell, G. W. (2018). Hierarchical cellular automata for visual saliency. International Journal of Computer Vision, 126(7):751-770. DOI: 10.1007/s11263-017-1062-2.

Qin, Y., Lu, H., Xu, Y., and Wang, H. (2015). Saliency detection via cellular automata. In 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 110-119. DOI: 10.1109/CVPR.2015.7298606.

Rosin, P. (2006). Training cellular automata for image processing. IEEE Transactions on Image Processing, 15(7):2076-2087. DOI: 10.1109/TIP.2006.877040.

Rosin, P. L. (2009). A simple method for detecting salient regions. Pattern Recognition, 42(11):2363-2371. DOI: 10.1016/j.patcog.2009.04.021.

Salvagnini, F. C. R., Gomes, J. F., Santos, C. A. N., Guimarães, S. J. F., and Falcão, A. X. (2024). Improving flim-based salient object detection networks with cellular automata. In 2024 37th SIBGRAPI Conference on Graphics, Patterns and Images (SIBGRAPI), pages 1-6. DOI: 10.1109/SIBGRAPI62404.2024.10716266.

Sandler, M., Howard, A., Zhu, M., Zhmoginov, A., and Chen, L.-C. (2018). Mobilenetv2: Inverted residuals and linear bottlenecks. In IEEE conference on computer vision and pattern recognition, pages 4510-4520. DOI: 10.1109/CVPR.2018.00474.

Shelhamer, E., Long, J., and Darrell, T. (2017). Fully convolutional networks for semantic segmentation. IEEE Transactions on Pattern Analysis and Machine Intelligence, 39(4):640-651. DOI: 10.1109/TPAMI.2016.2572683.

Soares, G. J., Cerqueira, M. A., Guimaraes, S. J. F., Gomes, J. F., and Falcão, A. X. (2024). Adaptive decoders for flim-based salient object detection networks. In 2024 37th SIBGRAPI Conference on Graphics, Patterns and Images (SIBGRAPI), pages 1-6. DOI: 10.1109/SIBGRAPI62404.2024.10716333.

Sompong, C. and Wongthanavasu, S. (2017). An efficient brain tumor segmentation based on cellular automata and improved tumor-cut algorithm. Expert Systems with Applications, 72:231-244. DOI: 10.1016/j.eswa.2016.10.064.

Su, Z., Liu, L., Muller, M., Zhang, J., Wofk, D., and Cheng, M.-M. (2025). Rapid salient object detection with difference convolutional neural networks. IEEE Transactions on Pattern Analysis and Machine Intelligence (TPAMI). DOI: 10.1109/TPAMI.2025.3583968.

Suzuki, C. T. N., Gomes, J. F., Falcão, A. X., Papa, J. P., and Hoshino-Shimizu, S. (2013). Automatic segmentation and classification of human intestinal parasites from microscopy images. IEEE Transactions on Biomedical Engineering, 60(3):803-812. DOI: 10.1109/TBME.2012.2187204.

Tong, N., Lu, H., Zhang, Y., and Ruan, X. (2015). Salient object detection via global and local cues. Pattern Recognition, 48(10):3258-3267. Discriminative Feature Learning from Big Data for Visual Recognition. DOI: 10.1016/j.patcog.2014.12.005.

Vezhnevets, V. and Konouchine, V. (2005). Growcut: Interactive multi-label nd image segmentation by cellular automata. In proc. of Graphicon, volume 1, pages 150-156. Citeseer. Available at:[link].

von Neumann, J. (1951). The general and logical theory of automata. In Cerebral mechanisms in behavior, pages 1-41. DOI: 10.4324/9781315130569-15.

Wang, L., Lu, H., Ruan, X., and Yang, M.-H. (2015). Deep networks for saliency detection via local estimation and global search. In 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 3183-3192. DOI: 10.1109/CVPR.2015.7298938.

Wang, L., Lu, H., Wang, Y., Feng, M., Wang, D., Yin, B., and Ruan, X. (2017). Learning to detect salient objects with image-level supervision. In 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 3796-3805. DOI: 10.1109/CVPR.2017.404.

Wang, M., Konrad, J., Ishwar, P., Jing, K., and Rowley, H. (2011). Image saliency: From intrinsic to extrinsic context. In CVPR 2011, pages 417-424. DOI: 10.1109/CVPR.2011.5995743.

Wang, W., Lai, Q., Fu, H., Shen, J., Ling, H., and Yang, R. (2022). Salient object detection in the deep learning era: An in-depth survey. IEEE Transactions on Pattern Analysis and Machine Intelligence, 44(6):3239-3259. DOI: 10.1109/TPAMI.2021.3051099.

Wang, X., Yu, S., Lim, E. G., and Wong, M. D. (2024). Salient object detection: a mini review. Frontiers in Signal Processing, 4:1356793. DOI: 10.3389/frsip.2024.1356793.

Yan, Q., Xu, L., Shi, J., and Jia, J. (2013). Hierarchical saliency detection. In 2013 IEEE Conference on Computer Vision and Pattern Recognition, pages 1155-1162. DOI: 10.1109/CVPR.2013.153.

Yang, Q., Zheng, J., and Chen, J. (2025). Multilevel diverse feature aggregation network for salient object detection. Neurocomputing, 628:129648. DOI: 10.1016/j.neucom.2025.129648.

Zhao, R., Ouyang, W., Li, H., and Wang, X. (2015). Saliency detection by multi-context deep learning. In 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 1265-1274. DOI: 10.1109/CVPR.2015.7298731.

Zhu, G., Wang, L., and Tang, J. (2024). Learning discriminative context for salient object detection. Engineering Applications of Artificial Intelligence, 131:107820. DOI: 10.1016/j.engappai.2023.107820.

Downloads

Published

2026-11-23

How to Cite

Salvagnini, F. C. R., Gomes, J. F., Santos, C. A. N., Guimarães, S. J. F., & Falcão, A. X. (2026). Multi-level Cellular Automata for FLIM networks. Journal of the Brazilian Computer Society, 32(1), 2459–2496. https://doi.org/10.5753/jbcs.2026.5892

Issue

Section

Regular Issue