White blood cell (WBC) classification plays a crucial role in hematopathology and clinical diagnostics. However, traditional methods are constrained by limited receptive fields and insufficient utilization of contextual information, which hinders classification performance. To address these limitations, this paper proposes an enhanced WBC classification algorithm, CCE-YOLOv7, which is built upon the YOLOv7 framework. The proposed method introduces four key innovations to enhance detection accuracy and model efficiency: (1) A novel Conv2Former (Convolutional Transformer) backbone was designed to combine the local pattern extraction capability of convolutional neural networks (CNNs) with the global contextual reasoning of transformers, thereby improving the expressiveness of feature representation. (2) The CARAFE (Content-Aware ReAssembly of Features) upsampling operator was adopted to replace conventional interpolation methods, thereby enhancing the spatial resolution and semantic richness of feature maps. (3) An Efficient Multi-scale Attention (EMA) module was introduced to refine multi-scale feature fusion, enabling the model to better focus on spatially relevant features critical for WBC classification. (4) Soft-NMS (Soft Non-Maximum Suppression) was used instead of traditional NMS to better preserve true positives in densely packed or overlapping cell scenarios, thereby reducing false positives and false negatives. Experimental validation was conducted on a WBC image dataset acquired using the Fourier ptychographic microscopy (FPM) system. The proposed CCE-YOLOv7 achieved a detection accuracy of 89.3%, showing a 7.8% improvement over the baseline YOLOv7. Furthermore, CCE-YOLOv7 reduced the number of parameters by 2 million and lowered computational complexity by 5.7 GFLOPs, offering an efficient and lightweight model suitable for real-time clinical applications. To further evaluate model effectiveness, comparative experiments were conducted with YOLOv8 and YOLOv11. CCE-YOLOv7 achieved a 4.1% higher detection accuracy than YOLOv8 while reducing computational cost by 2.4 GFLOPs. Compared with the more advanced YOLOv11, CCE-YOLOv7 maintained competitive accuracy (only 0.6% lower) while using significantly fewer parameters and 4.3 GFLOPs less in computation, highlighting its superior trade-off between accuracy and efficiency. These results demonstrate that CCE-YOLOv7 provides a robust, accurate, and computationally efficient solution for automated WBC classification, with significant clinical applicability.
Segmentation of skin lesions in dermoscopic images is critical for the accurate diagnosis of skin cancers, particularly malignant melanoma, yet it is hindered by irregular lesion shapes, blurred boundaries, low contrast, and artifacts, such as hair interference. Conventional deep learning methods, typically based on UNet or Transformer architectures, often face limitations in regard to fully exploiting lesion features and incur high computational costs, compromising precise lesion delineation. To overcome these challenges, we propose SGNet, a structure-guided network, integrating a hybrid CNN–Mamba framework for robust skin lesion segmentation. The SGNet employs the Visual Mamba (VMamba) encoder to efficiently extract multi-scale features, followed by the Dual-Domain Boundary Enhancer (DDBE), which refines boundary representations and suppresses noise through spatial and frequency-domain processing. The Semantic-Texture Fusion Unit (STFU) adaptively integrates low-level texture with high-level semantic features, while the Structure-Aware Guidance Module (SAGM) generates coarse segmentation maps to provide global structural guidance. The Guided Multi-Scale Refiner (GMSR) further optimizes boundary details through a multi-scale semantic attention mechanism. Comprehensive experiments based on the ISIC2017, ISIC2018, and PH2 datasets demonstrate SGNet’s superior performance, with average improvements of 3.30% in terms of the mean Intersection over Union (mIoU) value and 1.77% in regard to the Dice Similarity Coefficient (DSC) compared to state-of-the-art methods. Ablation studies confirm the effectiveness of each component, highlighting SGNet’s exceptional accuracy and robust generalization for computer-aided dermatological diagnosis.
Autonomous Fourier Ptychographic Microscopy (FPM) is a technology widely used in the field of pathology. It is compatible with high resolution and large field-of-view imaging and can observe more image details. Red blood cells play an indispensable role in assessing the oxygen-carrying capacity of the human body and in screening for clinical diagnosis and treatment needs. In this paper, the blood cell data set is constructed based on the FPM system experimental platform. Before training, four enhancement strategies are adopted for the blood cell image data to improve the generalization and robustness of the model. A blood cell detection algorithm based on SCD-YOLOv7 is proposed. Firstly, the C-MP (Convolutional Max Pooling) module and DELAN (Deep Efficient Learning Automotive Network) module are used in the feature extraction network to optimize the feature extraction process and improve the extraction ability of overlapping cell features by considering the characteristics of channels and spatial dimensions. Secondly, through the Sim-Head detection head, the global information of the deep feature map (mean average precision) and the local details of the shallow feature map are fully utilized to improve the performance of the algorithm for small target detection. MAP is a comprehensive indicator for evaluating the performance of object detection algorithms, which measures the accuracy and robustness of a model by calculating the average precision (AP) under different categories or thresholds. Finally, the Focal-EIoU (Focal Extended Intersection over Union) loss function is introduced, which not only improves the convergence speed of the model but also significantly improves the accuracy of blood cell detection. Through quantitative and qualitative analysis of ablation experiments and comparative experimental results, the detection accuracy of the SCD-YOLOv7 algorithm on the blood cell data set reached 92.4%, increased by 7.2%, and the calculation amount was reduced by 14.6 G.