A research team has demonstrated an image-based deep learning phenotyping pipeline that accurately classifies heat-stressed wheat anthers and extracts key morphological size traits across diverse cultivars. The investigative framework integrates specialized computer vision architectures to process microscopic digital imagery collected from 177 distinct wheat accessions evaluated under both controlled normal conditions and elevated heat stress regimes. By coupling classification architectures with dedicated object detection models, the researchers successfully automated the categorization of physiological heat stress responses while concurrently measuring fine-scale physical dimensions. The hybrid workflow achieved a peak binary classification accuracy of 94 percent using the ResNet18 architecture, outperforming conventional convolutional networks and mobile-oriented benchmarks.
Terminal heat stress represents one of the primary abiotic constraints threatening global cereal production, frequently inflicting severe reductions in final grain harvest. Globally, bread wheat is cultivated across approximately 219 million hectares, yielding an annual harvest of 798 million tonnes that serves as a dietary staple for an estimated 2.5 to 3 billion people. To satisfy the caloric requirements of an expanding global population projected to reach 10 billion individuals by the year 2050, average wheat production must increase from the current baseline of 3.7 tonnes per hectare to at least 5 tonnes per hectare. However, progressive climatic instability introduces heightened frequency and severity of extreme temperature events. Controlled agronomic studies indicate that for every single degree Celsius increase in ambient temperature above optimal baselines, overall global wheat yields can decline by approximately 6 percent, placing immense pressure on agricultural systems to identify and select stress-resilient germplasm.
The reproductive phase of wheat development is extraordinarily vulnerable to elevated temperatures, particularly during the critical transition between booting and anthesis. Wheat maintains an optimal thermal physiological window between 5 and 28 degrees Celsius during anthesis, and thermal surges exceeding this threshold impair normal seed set and disrupt post-fertilization grain filling. Exposure to terminal heat stress at the reproductive stage damages essential floral organs, with the highest degree of gene expression in the plant occurring within developing anthers. Furthermore, floral architecture and anther length represent vital agronomic parameters for hybrid wheat breeding programs, where successful cross-pollination requires elongated, extruded anthers capable of disseminating viable pollen grains across substantial field distances.
Despite the biological importance of floral morphology under thermal stress, anther size remains among the least characterized phenotypic traits in wheat breeding programs. Conventional evaluation methods rely almost exclusively on manual inspections using Vernier calipers, an approach that is labor-intensive, slow, and strictly limited to small sample cohorts. Because wheat anthers possess minute physical dimensions and an extremely brief functional lifespan, measuring structural shriveling across expansive mapping populations has proven exceptionally challenging. The scarcity of high-throughput phenomic tools has historically created a bottleneck in identifying heat-resilient accessions.
To build a robust phenomic dataset, the researchers planted a panel of 177 Pakistani wheat varieties in a research glasshouse at the National Institute for Genomics and Advanced Biotechnology within the National Agricultural Research Centre during the 2022 to 2023 cropping season. Seed samples from each cultivar were initially germinated in Petri dishes, after which the seed endosperm was carefully removed and three germinated seedlings were transplanted into 14-inch diameter pots. Each cultivar was represented by two replicate pots filled with a homogenized soil and compost blend mixed in a 1 to 3 ratio. Seedlings were maintained under a 16-hour light and 8-hour dark photoperiod at standard baseline temperatures of 28 to 30 degrees Celsius during the daytime and 16 to 18 degrees Celsius at night. Standardized agronomic management practices, including balanced fertilization, manual hoeing, and uniform watering schedules, were applied equally to all experimental units.
The onset of the booting stage served as the physiological marker to initiate differential temperature treatments, mirroring the period when terminal heat waves naturally challenge field crops. At this developmental milestone, one set of pots representing each cultivar was transferred to an adjacent glasshouse chamber where elevated thermal stress was imposed at 38 to 40 degrees Celsius during the day and 16 to 18 degrees Celsius during the night. The corresponding control group remained in the original chamber under standard temperatures of 28 to 30 degrees Celsius. Ten individual anthers were randomly harvested from each accession across both environmental conditions and placed into Petri dishes for microscopic examination. A calibrated DinoLite digital microscope connected to a personal computer captured high-resolution digital images at 2592 by 1944 pixels, establishing a standardized visual library of 354 total images comprising 177 control samples and 177 heat-stressed samples.
Image preprocessing was implemented within the PyTorch Python library to prepare the microscopic visual data for deep neural network training. Original microscopy captures were downsampled and resized to standard dimensions of 254 by 254 pixels to align with standard convolutional neural network input specifications. Channel pixel intensities were normalized across red, green, and blue dimensions using standard ImageNet mean and standard deviation distributions. To prevent model overfitting and expand visual variance, data augmentation techniques were applied, including random horizontal flips and minor spatial rotations. These mathematical augmentations introduced positional and rotational diversity, ensuring that downstream networks developed structural robustness against variable sample orientations on the Petri dish surface. The curated dataset of 354 images was subsequently partitioned using a standard train-test ratio of 80 percent training data and 20 percent independent testing data.
Three distinct neural network architectures were comparatively trained to perform binary classification distinguishing between control and heat-stressed anther samples. A baseline custom convolutional neural network was configured with three sequential convolutional layers utilizing Rectified Linear Unit activation functions and max pooling operations, supplemented by dropout regularization and fully connected classification layers. The baseline network underwent training over 15 epochs with a batch size of 16 using the Adam optimization algorithm set to a learning rate of 0.001 under a cross-entropy loss function. In parallel, a pretrained ResNet18 model was fine-tuned by freezing early hierarchical feature layers and retraining only the final block after replacing the terminal fully connected layer to accommodate binary output targets. Finally, the lightweight MobileNetV2 architecture, which employs depth-wise separable convolutions and inverted residual structures to reduce parameter counts, was fine-tuned across 15 epochs under identical optimizer configurations.
Quantitative performance assessments revealed marked performance differences across the evaluated classification backbones. ResNet18 demonstrated the highest classification capability, securing 94.00 percent test accuracy alongside rapid convergence characteristics. Tracking training trajectories showed that ResNet18 achieved an abrupt reduction in training loss from approximately 0.45 down to below 0.05 within its initial five training epochs, indicating swift pattern acquisition from the visual feature representations inherited from its pretrained backbone. MobileNetV2 achieved a viable balance between computational economy and predictive precision, recording an overall classification accuracy of 86.00 percent and an image segmentation Dice coefficient of 0.862. Conversely, the basic three-layer convolutional model registered a lower accuracy of 73.00 percent and a Dice coefficient of 0.728, confirming that deeper residual networks are far better equipped to capture subtle morphological deformations induced by elevated temperatures.
To eliminate the opacity commonly associated with deep learning models, the research team incorporated Gradient-weighted Class Activation Mapping to provide visual explainability for network predictions. Grad-CAM generates spatial heatmaps that project the gradients of targeted classification outputs back onto the final convolutional feature maps, visually indicating the pixel regions that exerted the greatest numerical influence over the decision-making process. The generated visualizations mapped class-discriminative zones using a thermal color gradient where warm red and orange tones signified maximal predictive weight and blue tones denoted negligible influence. Analysis of heatmaps derived from MobileNetV2 and ResNet18 confirmed that the algorithms consistently focused their attention on biologically relevant floral regions, specifically targeting anther external contours, surface textures, internal structural boundaries, and dimensional margins corresponding to width and length alterations.
Automated morphological measurement was conducted using the YOLOv8 object detection framework, which was trained to detect anther bodies within microscopy images and generate tight bounding box coordinates. The bounding boxes provided automated pixel measurements for maximum length and width parameters across all 177 wheat varieties. To convert pixel metrics into standardized physical units, the researchers established an optical calibration factor by capturing a reference scale under identical magnification and illumination settings. This procedure yielded a consistent scale factor where 1 pixel equaled exactly 0.020 millimeters, allowing direct calculation of metric lengths and widths through scalar multiplication. In addition to primary linear dimensions, the automated pipeline extracted secondary structural ratios, including anther aspect ratio, enabling multi-dimensional morphological characterization without requiring manual caliper alignment.
The reliability of the automated dimensional measurements was evaluated through comparative statistical testing against traditional experimental measurements. The observed measurement differences remained consistently bounded within calculated 95 percent limits of agreement across both normal and heat-stressed cohorts. However, the graphical distribution revealed a discernible size-dependent trend wherein automated bounding boxes slightly underestimated the dimensions of the largest anthers in the collection.
Subject of Research: Deep learning phenotyping and morphological measurement of wheat anthers under heat stress
Article Title: Anther size quantification in wheat using deep learning under normal and heat stress conditions
Article References: Khalid, Z., Saeed, Z., Naeem, M. K., Azeem, A., Khan, M. R., Long, H., Liu, D., & Sajjad, M. (2026). Anther size quantification in wheat using deep learning under normal and heat stress conditions. WheatOmics, 2(1), Article 2. https://doi.org/10.1007/s44412-025-00006-2
Image Credits: AI Generated
DOI: 10.1007/s44412-025-00006-2
Keywords: wheat phenotyping, anther morphology, terminal heat stress, ResNet18, YOLOv8, MobileNetV2, Grad-CAM, Triticum aestivum, object detection, Bland-Altman analysis, digital microscopy, crop breeding, high-throughput phenomics, image classification, pixel calibration, reproductive stage stress, Pakistani wheat accessions
Cite Scienmag News
Alan Morgan. (November 24, 2026). Deep Learning Pipeline Quantifies Heat Stressed Wheat Anthers With High Accuracy. Scienmag. https://scienmag.com/deep-learning-pipeline-quantifies-heat-stressed-wheat-anthers-with-high-accuracy/
Alan Morgan. "Deep Learning Pipeline Quantifies Heat Stressed Wheat Anthers With High Accuracy." Scienmag, 24 November 2026, https://scienmag.com/deep-learning-pipeline-quantifies-heat-stressed-wheat-anthers-with-high-accuracy/. Accessed 30 November 2026.
Alan Morgan. "Deep Learning Pipeline Quantifies Heat Stressed Wheat Anthers With High Accuracy." Scienmag. November 24, 2026. https://scienmag.com/deep-learning-pipeline-quantifies-heat-stressed-wheat-anthers-with-high-accuracy/








