Next Article in Journal
Microsatellite-Based Evaluation of Genetic-Distance-Driven Crossbreeding in the Endangered Freshwater Fish Pseudopungtungia nigra
Next Article in Special Issue
Salient Object Detection Guided Fish Phenotype Segmentation in High-Density Underwater Scenes via Multi-Task Learning
Previous Article in Journal
Transcriptomic Profiling Reveals Immune-Related Pathway Alterations in Paralichthys olivaceus Infected with Enteromyxum leei
Previous Article in Special Issue
Optimizing Pellet Size and Feeding Strategy Using an Automatic Feeder in Juvenile Olive Flounder (Paralichthys olivaceus)
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Research on Improved Near-Infrared Fish Density Classification Method Based on ResNet18

Faculty of Mathematics and Computer, Guangdong Ocean University, Zhanjiang 524088, China
*
Author to whom correspondence should be addressed.
Fishes 2025, 10(12), 602; https://doi.org/10.3390/fishes10120602
Submission received: 31 October 2025 / Revised: 14 November 2025 / Accepted: 15 November 2025 / Published: 24 November 2025
(This article belongs to the Special Issue Application of Artificial Intelligence in Aquaculture)

Abstract

Addressing the technological requirement for real-time monitoring of fish density in dim aquaculture environments, this study proposes a near-infrared (NIR) image classification method using a modified ResNet18 architecture. Initially, an NIR-Fish dataset comprising 736 high-quality annotated images (256 × 256 resolution) spanning three density scenarios (low, medium, and high density) was constructed. Contrast-Limited Adaptive Histogram Equalization (CLAHE) preprocessing was implemented with an 8 × 8 tiling strategy and clip limit = 4.0, significantly enhancing the discernibility of faint boundary features. A dual-channel attention module (DCAM) was embedded into the ResNet18 backbone, featuring a parallel architecture integrating Global Average Pooling (GAP) and Global Max Pooling (GMP). This design synergistically optimized local salient feature enhancement and global statistical feature fusion through parameter-shared fully connected layers (reduction ratio of 16:1). The experiments show that the classification accuracy of the proposed method on the independent test set is 80.57%, which is 4.34 percentage points higher than that of the original ResNet18. F1 scores for the three density levels were 0.8308 (low), 0.7674 (medium), and 0.8294 (high), respectively. Ablation studies confirmed the dual-channel design’s significant performance contribution, while the parameter-sharing mechanism effectively mitigated overfitting risks. By leveraging feature complementarity and lightweight design, this work overcomes the classification bottleneck for NIR images under low signal-to-noise conditions, providing a highly robust technical solution for intelligent aquaculture management.
Keywords: near-infrared imaging; ResNet18; dual-channel attention; CLAHE preprocessing; intelligent aquaculture management near-infrared imaging; ResNet18; dual-channel attention; CLAHE preprocessing; intelligent aquaculture management

Share and Cite

MDPI and ACS Style

Peng, X.; Wang, Y.; Zhang, Y. Research on Improved Near-Infrared Fish Density Classification Method Based on ResNet18. Fishes 2025, 10, 602. https://doi.org/10.3390/fishes10120602

AMA Style

Peng X, Wang Y, Zhang Y. Research on Improved Near-Infrared Fish Density Classification Method Based on ResNet18. Fishes. 2025; 10(12):602. https://doi.org/10.3390/fishes10120602

Chicago/Turabian Style

Peng, Xiaohong, Yujie Wang, and Ying Zhang. 2025. "Research on Improved Near-Infrared Fish Density Classification Method Based on ResNet18" Fishes 10, no. 12: 602. https://doi.org/10.3390/fishes10120602

APA Style

Peng, X., Wang, Y., & Zhang, Y. (2025). Research on Improved Near-Infrared Fish Density Classification Method Based on ResNet18. Fishes, 10(12), 602. https://doi.org/10.3390/fishes10120602

Article Metrics

Back to TopTop