Automated microstructural characterization of hydrogels using deep instance segmentation and graph-based agglomerate analysis

The performance and stability of pharmaceutical hydrogels depend on microstructural features such as particle size and agglomeration. Characterization of these features is commonly performed through manual microscopic assessment, which can be subjective when particle boundaries are indistinct or agglomerates lack clearly defined interfaces. This study applies computer vision to automate the analysis of hydrogel micrographs, including particle segmentation, agglomerate identification, and the extraction of size-related morphological parameters. Two deep instance segmentation networks, the Mask R-CNN and the Mask2Former, were applied for this purpose. This study introduced a particle dilation and a graph-centric approach for agglomerate identification, differing from prior methods where agglomerates were annotated individually, thus mitigating some annotation challenges. The networks, trained on a hydrogel database, exhibited an Average Precision of 92.47% for Mask R-CNN and 91.86% for Mask2Former. The Mask2Former demonstrated superior Average Recall (AR) at 76.6%, compared to Mask R-CNN’s 72.32%. This study pioneers the application of Mask2Former, a Vision Transformer-based network, for particle segmentation which had superior AR performance. Considering the subjective nature of annotation for hydrogel micrographs, where false positives can be considered as valid particles, this study recommends the inclusion of AR as a metric for model selection. Furthermore, the extracted morphological features from segmented images showed close agreement with manual measurements. This workflow has potential to support formulation development and quality assessment in pharmaceutical settings.

Comments (0)

No login
gif